• Breaking News

    [Android][timeline][#f39c12]

    Friday, January 15, 2021

    Weekly Anything Goes Thread - January 15, 2021 Android Dev

    Weekly Anything Goes Thread - January 15, 2021 Android Dev


    Weekly Anything Goes Thread - January 15, 2021

    Posted: 15 Jan 2021 06:00 AM PST

    Here's your chance to talk about whatever!

    Although if you're thinking about getting feedback on an app, you should wait until tomorrow's App Feedback thread.

    Remember that while you can talk about any topic, being a jerk is still not allowed.

    submitted by /u/AutoModerator
    [link] [comments]

    Weekly Questions Thread - January 12, 2021

    Posted: 12 Jan 2021 06:00 AM PST

    This thread is for simple questions that don't warrant their own thread (although we suggest checking the sidebar, the wiki, our Discord, or Stack Overflow before posting). Examples of questions:

    • How do I pass data between my Activities?
    • Does anyone have a link to the source for the AOSP messaging app?
    • Is it possible to programmatically change the color of the status bar without targeting API 21?

    Large code snippets don't read well on reddit and take up a lot of space, so please don't paste them in your comments. Consider linking Gists instead.

    Have a question about the subreddit or otherwise for /r/androiddev mods? We welcome your mod mail!

    Also, please don't link to Play Store pages or ask for feedback on this thread. Save those for the App Feedback threads we host on Saturdays.

    Looking for all the Questions threads? Want an easy way to locate this week's thread? Click this link!

    submitted by /u/AutoModerator
    [link] [comments]

    PSA: Include the word "privacy" in your background location privacy policy if you're having trouble getting it accepted

    Posted: 15 Jan 2021 01:45 AM PST

    This is pretty weird but during the past week I've been trying to submit my app in compliance with the new background location privacy policy and was not being accepted. I kept getting the same generic response every time:

    However, your app's privacy policy doesn't comply with our policy requirements. Please add or update your privacy policy, and make sure it is available on an active URL (no PDFs), is non-editable, applies to your app, and specifically covers user privacy including your app's usage of location data. You must link to a privacy policy on your app's store listing page and within your app.

    I had made sure that everything was compliant and I even had other apps that were already compliant with this policy so I couldn't figure out what was wrong.

    I contacted Google about it and a person actually replied (yay!)! They sent me the same generic text as above but added this cryptic part:

    For example, no ''privacy'' wording include in body of the app's privacy policy.

    I couldn't understand what that meant. Does that mean that the word "privacy" can't be in the privacy policy? Why is that? The word was indeed on the privacy policy page, right in the title, but that should be expected, right?

    I asked for clarification and they responded:

    You must include the word "Privacy" in the body of the privacy policy. Currently only the title includes the word "Privacy".

    Oooohhh... Oooookay.... So someone (a bot?) is actively monitoring your privacy policy pages and making sure that the word "privacy" appears on it, but not inside <h2></h2> html tags?

    I added the phrase

    With APP_NAME your privacy is secured.

    submitted the app again and this time it was approved!

    Can anyone find this requirement anywhere? I tried asking the Google person about it but they replied:

    As much as I'd like to help, I'm not able to provide any more detail or a better answer to your question. In our previous email, I made sure to include all the information available to me.

    So, remember, in your background location privacy policies, include the word "privacy" somewhere in the page but not only as a title... 🤪

    Hope this helps someone with similar issues!

    submitted by /u/joaomgcd
    [link] [comments]

    Android 12 will hibernate unused apps

    Posted: 15 Jan 2021 02:29 PM PST

    Annoying Premium Upsell Screens

    Posted: 15 Jan 2021 01:25 PM PST

    Annoying Premium Upsell Screens

    I've always thought all of those apps that immediately upsell you to a premium tier were really weird. Like it seems to me that's not a great way to grow your app if you're trying to get users to pay you before they even get a chance to use your app. I finally did experiment with this in my own app, but wondering if the r/androiddev community have seen different results. Especially those that have actually a/b tested this change.

    On my own Writeaday app (daily journaling and mind dump) I saw that showing this screen:

    https://preview.redd.it/cygdxdvnckb61.png?width=1076&format=png&auto=webp&s=fa32c2e0d7e5f82af50317d8d6e00d64dd041c3b

    Increased revenue by +128% (translates to +$20). But I also saw that Day 1 Retention dropped by 14% (translates to 24.5% -> 21%). Ran over a month with 1700 users in the control and test group.

    More details in a post here.

    Are my experiment results unique or are all these apps trading long-term retention for short-term revenue?

    submitted by /u/honnetatamae
    [link] [comments]

    Android create a custom Color Picker

    Posted: 15 Jan 2021 10:25 AM PST

    Company told me I will be the only Android dev on the team. Is this bad?

    Posted: 15 Jan 2021 07:47 AM PST

    So I am looking for an Android development job and I had an interview today.
    The company is really big, but it's relatively new in the software development department.

    So, when I asked "How big will the Android development team be?" I expected that at least 4 or 5 people would be coding in Android too. But they said:
    - 1 android developer
    - 1 QA tester
    - 1 UX designer

    They told me it's a job with a lot of responsability, so I imagine I will indeed be THE ONLY PERSON that will touch that app.

    What are your thoughts?

    submitted by /u/Wet_Bongo
    [link] [comments]

    Google Play Store App Names and Impersonation Policy

    Posted: 15 Jan 2021 08:06 AM PST

    Google Play has an impersonation policy that prohibits app developers from pretending to be other entities. I have a question regarding app names and this policy.

    I have an app named "NASA Mission History", for an app that well, details NASA's mission history (not really my app but this is an example). The app description contains a disclaimer stating no sponsorship, endorsement or affiliation with NASA.

    Is this in compliance or do I need to remove NASA from the app description and app name?

    submitted by /u/zimspy
    [link] [comments]

    I just published my first blog ever! I break down the suspend function of Kotlin Coroutines. Feedback please!

    Posted: 14 Jan 2021 05:26 PM PST

    Dagger 2.31 released

    Posted: 14 Jan 2021 10:32 PM PST

    Including a Fragment within AndroidManifest

    Posted: 15 Jan 2021 01:13 PM PST

    I'm current having difficulty adding a fragment as a ParentActivity within the AndroidManifest, when adding the ParentActivity; the fragment doesn't appear and doesn't work when adding it in. I was wondering if you guys could help, thanks

    submitted by /u/zxKevinn
    [link] [comments]

    Indie developers - How did you create your GDPR compliant privacy policy?

    Posted: 15 Jan 2021 07:10 AM PST

    I have a note-taking app that was published about a year ago. I don't save the user's notes on a server, and don't share the content they create anywhere. But I do send analytics events like button clicks, screen views, etc.

    Users can also add tags to the notes they take. Eventually, I would like to send those tags so I can train a prediction model that I'll use to drive more advanced features.

    Another use case I plan on adding in the near future: Some of the notes can be clippings from books. I plan on sending the name of the book or the author so I can generate user-specific content.

    My question is - how did you create a privacy policy for your apps that reflects these features? I saw some sites that offer a privacy policy for 20$ and I'm wondering if there's anything free (preferably open source).

    submitted by /u/crowbar87
    [link] [comments]

    Looking for other mobile devs to join my discord.

    Posted: 15 Jan 2021 10:19 AM PST

    I am an app developer that also makes games in unity. Im looking for other developers that make mobile apps and games. Here's the link to my discord. https://discord.gg/kWaDc8j

    submitted by /u/EverretEvolved
    [link] [comments]

    Introduction to Room Database using Kotlin

    Posted: 15 Jan 2021 08:39 AM PST

    How to increase your app rating with little effort

    Posted: 15 Jan 2021 06:30 AM PST

    Kamal Faraj shows how adding Google Play in-app reviews significantly increased his app rating.

    https://medium.com/ideas-by-idean/google-play-in-app-reviews-baef71a8f710

    via: https://androidboss.com

    submitted by /u/PiotrWilczek
    [link] [comments]

    What are good examples of open source apps that are available on play store and make extensive use of google assistant actions? thanks

    Posted: 15 Jan 2021 01:39 AM PST

    How do I know if my app went live in a specific country, in Google Play Store?

    Posted: 15 Jan 2021 05:09 AM PST

    Last November I pushed my game into the production track but for just a single country. I decided not to distribute it to all countries at once as I thought it would be better to collect some feedback locally before it's ready to be released globally.

    Today I added all countries to the production track. But now I'm confused and wondering about the following questions:

    • How do I know if it went live in a specific country?
    • Will it appear as a new release for those new countries? If not, not releasing globally would be a huge mistake from my end.
    submitted by /u/revsiblean
    [link] [comments]

    TopCorn2: The Compose Version

    Posted: 15 Jan 2021 05:05 AM PST

    MotionLayout - An Easy Way to Create Complex Animations

    Posted: 14 Jan 2021 01:16 PM PST

    I uploaded an Internal Test update 5 days ago and it's still "In review"

    Posted: 15 Jan 2021 02:38 AM PST

    Two week ago I had an Internal Test app update rejected because it contained inappropriate ads. So I went into my Google AdMob page and set the Ad content rating to the lowest possible (family friendly).

    Then I uploaded another Internal Test update and it was rejected again for the same reason. So I went into my Google AdMob page again and this time I also blocked all ads under "Sensitive Categories" to be double sure.

    Then finally I uploaded an Internal Test update 5 days ago and it's still "In review" right now. I also promoted it to Production just to be sure all previous app versions are deactivated.

    Usually Internal Tests are available in a few minutes. Why is this one still in review after 5 days?

    submitted by /u/HiDiNoWro
    [link] [comments]

    What is the difference between Service, repository and helper classes in MVVM architecture?

    Posted: 14 Jan 2021 08:22 PM PST

    I want to know the difference of contents and usage of Service, repository and helper classes in MVVM architecture (also Dao classes)

    I got confused since new to this

    My confusion is

    Definition for service and repo classes seems to be same

    I am using ktor and Apollo graphql so no interfaces with that@Get annotations

    Currently I am calling Apollo query in repo and process the results in service class

    Like Class userRepi()

    {

    Userquery()

    }

    Class userSerive() { UserRopo().userquery().find { user.isActive == true }

    Is the above right or worng

    Clarify with real world example

    submitted by /u/RageshAntony
    [link] [comments]

    App update is not published after 55 hours without any email or notice. Now that I add another update they are both in review and the new one hasn't cancelled the old one. Is that normal?

    Posted: 15 Jan 2021 01:19 AM PST

    Google Play Closed Test Track URL not working for any user

    Posted: 15 Jan 2021 12:57 AM PST

    We are trying to setup a beta program for our app (already published, but the new version will be a full rewrite), and invite our users via URL. We have setup a closed track Beta, we have released the apk, however the URL is not working for anyone, we always get the following:

    App not available for this account

    Your account isn't currently eligible for this app's testing program.

    We have tried:

    • being logged in with gmail, our own corporate gsuite and my own personal gsuite
    • We have waited a couple of days to see if it was that the issue
    • created a custom closed track to check if maybe the old one being used in the past with some users was the problem.

    Nothing has worked so far. It is not an option to have an open track nor an internal one since we want more than 100 users.

    Any ideas about what are we missing?

    Thank you.

    EDIT: fancy pants formatting

    submitted by /u/albertogarrido
    [link] [comments]

    How is the transition from Android/Java to React native?

    Posted: 15 Jan 2021 12:03 AM PST

    I only know Java and Python, only mobile development I've ever done was on Android (a few small apps).

    I want to write a cross platform app, and React is what always pops up.

    Just wondering how easy it would be for a Java developer who has never worked with javascript/node/react to pick this up. Obviously with new technogies there will always be struggles and I accept this - but will the struggle be closer to Java -> C# or Java -> C++? Or is this a completely difterent ball game?

    submitted by /u/overzealousfapper
    [link] [comments]

    Don’t Run Benchmarks on a Debuggable Android App (Like I Did)

    Posted: 14 Jan 2021 10:25 AM PST

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel