r/android_devs • • Jun 29 '20

Store issue [Update] Rejected for violating Deceptive Ads policy for having a share button

11 Upvotes

Just a quick update. Here's the original post I wrote about my app, Quatt, being rejected.

I submitted an appeal because I don't agree with Google's assessment that a share button is an ad and I don't think displaying a share sheet can be deceptive because the share sheet requires the user to confirm that they want to share something before it will be shared. Google rejected my appeal (surprise surprise).

I think u/3dom was right

I believe "family-friendly" tag/category elevates Google's watchdog's attention to details substantially - assuming clueless kids will use it. Perhaps you should switch heart icon to a letter or something else.

Unfortunately, it's impossible to know if an envelope/share icon is acceptable without uploading a new build and repeated rejections is grounds for termination, so I'm not going to try.

For now the game will be iOS only. I have removed the app from the "Designed for Families" program and the next version will not have a share button.


r/android_devs • • Jun 14 '20

Help Getting Viewmodel into Custom/Compound view?

11 Upvotes

Do you guys have any suggestions? I'm using Navigation components which is what makes this tough. Do I just have an interface without worrying about Navigation components at all? Thanks so much.


r/android_devs • • May 30 '20

Update Off topic posts

11 Upvotes

A new flair has been added for topics that are not strictly related to programming in Android but that affect or could affect it.

The motivation for adding this type of post is to expand our compression of the programming scene by talking about topics that go beyond mere programming but that we consider important.

When I write "we" I mean all of us who are members of this community.

Let's try to limit the maximum number of these posts to a couple per week - two in total not per person. The purpose is to cover some important topics but without changing the nature of this sub.


r/android_devs • • May 26 '20

Tools Android Studio 4.1 Canary 10 available

Thumbnail androidstudio.googleblog.com
11 Upvotes

r/android_devs • • May 24 '20

Help How does everyone handle their signing keys?

11 Upvotes

I'm always curious who and where signing keys are stored at your job. Currently my team lead at a small company is fine with us just having the signing key in our repo which is private of course. The password for the signing key is in a company wide password manager where only the leads have access to keys like that. He agrees that the repo isn't the best place, but it's good enough since it's a private repo + the actual password isn't in the repo. Curious to see what everyone else is thinking.

This discussion/poll is spurred from this great writeup which unfortunately doesn't really talk about storing the signing /upload key: https://medium.com/androiddevelopers/answers-to-common-questions-about-app-signing-by-google-play-b28fef836af0

I almost want this to be in a structured format. At least reply with the following?

  1. Where is the signing key located?

  2. Who has access to it?

  3. Who has access to the password?


r/android_devs • • May 21 '20

Fifty shades of Coding Man, I'm so happy no malicious app can get access to my current playing media metadata!

Thumbnail self.mandroiddev
11 Upvotes

r/android_devs • • May 18 '20

Store stories Ubisoft sues Google and Apple for hosting Alibaba’s Rainbow Six Siege clone [xda-developers]

11 Upvotes

Virtually every aspect of AF2 is copied from R6S, from the operator selection screen to the final scoring screen, and everything in between.” Due to this, the company had previously notified Apple and Google that Area F2 is infringing its copyrights, but the companies refused to remove the game from the Google Play Store and Apple App Store.

https://www.xda-developers.com/ubisoft-sues-google-apple-hosting-alibabas-rainbow-six-siege-clone/


r/android_devs • • Dec 18 '19

Announcement Android devs has been created

11 Upvotes

Android devs


r/android_devs • • Apr 19 '25

Discussion Is text selection broken in current versions of Android? Varies by app

10 Upvotes

I have noticed that on Samsung phones at least - and modern versions of Android

That text selection seems to work in some older apps like OI Notepad - but more problematic in Standard Notes (running in browser) and even more so in Obsidian app

When you select ie click (touch) and drag - can't make it scroll when move to border below or at top

Scrolling stops

Sometimes (in Obsidian) selection does not expand as drag finger down - ie refuses to select more than a few lines

 

On Chrome browser and others - similar issues with webpages

Select something and drag finger to expand the selection

And suddenly the selection is selection everything above that

Common problem is if you select a few paragraphs from within webpage - and paste it - it turns out it has pasted all the stuff from the top to that point

 

Is this related to something with margins in newer versions of Android?

Because someone has goofed somewhere

All that attention to new changes every year

And can't address the basics

 

EDIT: July 24, 2026 - others are reporting the same issue with Android text selection is unreliable - ie the selection jumps around when the adjust the handles for the start and end of the selection:

https://www.reddit.com/r/AndroidQuestions/comments/1fskmr7/comment/nn5sce1/

u/Tiger_words

I think the problem is the handles. They jump around the page. You can start at the end of a sentence and move upwards and suddenly the first handle is in a completely different place. Then you go back and try to slide it to its original place and the second handle moves.

Just now I just wanted to select two simple words so I long-pressed one , the handles appeared and I tried to slide one over the other word then the handles disappeared. Both of them. It's beyond stupid. 

It's a really bad interface I just view it as a software issue.

 

While searching for any new information, found this Google employee article on text selection issues:

(however the issues with text selection in Android are more common in recent Android versions)

https://jenson.org/text/#:~:text=TL%3BDR,invoking%20a%20pop%2Dup%20menu.

The invisible problem

Scott Jenson

September 22, 2023


r/android_devs • • Apr 04 '25

Question My god, I've finally made it to MinSdk = 28. Do I really get constructor injection everywhere? Or is it still a pipe dream?

10 Upvotes

Years ago, Google introduced the whole AppComponentFactory thing. But the dealbreaker for constructor injection everywhere was that the factory for Activities couldn't be moved to AppCompat (like the FragmentFactory) so no constructor injection until API 28.

Now, I just started a job where the app has literally zero concept of DI at the moment. I was gonna go the standard Dagger/Hilt route, because it's the devil I know. But now that I have the ability to do constructor injection everywhere, has anyone actually set this up? Or are we all just letting Hilt do it's thing?

Maybe Kotlin Inject or that new Zac Sweers framework? Not having much luck finding examples in my Google results.


r/android_devs • • Mar 30 '25

Development Tools Just released Retrosheet v3 with support for Android, iOS, JVM, and JS! 🎊

Thumbnail
github.com
10 Upvotes

r/android_devs • • Nov 04 '24

Question Compose vulnerability report

10 Upvotes

Looking for some input from any devs in an enterprise environment.

We've just had activity-compose (:1.8.1), material-activity (:1.6.8) get flagged by our in-house Nexus installation as having high-risk vulnerabilities. Nexus is reporting a CVE-2024-7254 vulnerability coming out of a dependency on Google's protobuf library but this library isn't listed as a dependency of either my project nor the Compose libraries in neither Maven nor the Gradle dependency map.

Has anyone come across this issue?

UPDATE: I've narrow this down to the Compose UI Preview dependencies, and the Adobe Core dependency.


r/android_devs • • Sep 26 '24

Help Needed what is the name of this dialogue box

Post image
10 Upvotes

I am currently learning android development, can anyone tell me what is this dialogue box name and can i integrate my app functionality here i.e, i want to add this selected text directly to my app from here, if that's possible any guidance on where to find the resource to do so. kindly help me


r/android_devs • • Sep 02 '24

Question Can I test my app on 20 emulators for closed testing?

10 Upvotes

Hey guys,

I want to ask if anyone has tested their app on 20 different emulator devices and successfully published it. If yes, which emulator did you use? I want to do this with Android Studio emulators.

Also, which method do you guys use to find 20 testers for your app?

thanks in advance


r/android_devs • • Jul 11 '24

Article JetBrains IntelliJ-Based IDEs Offer Preview Wayland Support

Thumbnail
phoronix.com
10 Upvotes

r/android_devs • • Jun 10 '24

Discussion Migrating our Android apps to Kotlin: Sharing the journey! ️

10 Upvotes

Hello Droiid Devs,

What have we seen so far?

  • Size reduction: Our app shrunk by a whopping 21%! Less code means a smaller download for users and potentially faster load times.

  • Leaner & Meaner: We cut down the number of lines of code by 24% thanks to Kotlin's conciseness. (We may be secretly in love with null safety too ).

  • Readability Boost: The code is much easier to understand now. This is a big win for our devs, making future maintenance and updates a breeze. (Readability over ultimate conciseness every time for maintainability!)

I work at a product-based company, so our apps are in it for the long haul, and we're always looking for ways to improve maintainability and developer experience. Kotlin seemed like a natural fit, and I'm eager to hear your thoughts and experiences as well!

The Journey Continues! ➡️

We're planning a two-phase migration for our other apps:

  • Phase 1: Swap Java/XML for Kotlin/XML. This gets us the core benefits of Kotlin without a huge UI overhaul.

  • Phase 2: Level up to Kotlin/Jetpack Compose with coroutines. This will unlock a whole new world of UI possibilities and asynchronous programming goodness.

What about you?

I'd love to hear your experiences migrating to Kotlin! Did you see similar results? What challenges did you face, and how did you overcome them? Any metrics you can share? Let's chat in the comments!


r/android_devs • • Jun 06 '24

Discussion Refactoring Our Android Apps to Kotlin/Compose: Seeking Your Expertise!

10 Upvotes

Hey folks,

I'm the lone Android developer at my company, and we're gearing up for a major refactor**(rewrite from scratch)**. We're planning to migrate three of our mobile apps from the classic Java/XML stack to the shiny new world of Kotlin/Compose. That's where I need your battle-tested experience and insights!

Here's the dilemma: I'm trying to figure out the best approach for this refactor. I've been brainstorming some options, and I'd love to hear your thoughts and any tips you might have:

Option 1: Single Activity with Composable Screens

  • Concept:

    • Single activity acts as the shell.

    • Each screen is built as a separate Composable function.

    • Navigation handled by Compose Navigation.

    • ViewModels manage state.

    • Considering per-screen view model or shared view model with state persisted across screens (ViewModel lifecycle tied to activity).

  • Questions:

    • What are the benefits and drawbacks of this approach?

    • Any specific challenges to consider, and how can we overcome them?

Option 2: Activity per Feature with Multiple Composable Screens

  • Concept:

    • Each feature has its own activity container.

    • Feature screens are built as composables within that activity.

    • Compose Navigation handles navigation within the feature.

    • Activity-based navigation manages navigation between features.

  • Questions:

    • What are the trade-offs for this option?

    • Are there any advantages in terms of maintainability or scalability?

    • How can we best address potential challenges?

Option 3: Multiple Activities with Screen-Per-Activity

  • Concept:

    • Each screen gets its own dedicated activity.

    • ViewModels might be optional in this scenario, potentially using the activity as the logic and state container.

  • Questions:

    • Are there any situations where this approach might be beneficial for our case?

    • What are the downsides to consider, and how can we mitigate them?

Our current apps are relatively lean, with each one having less than 25 screens. However, being a product-based company, maintainability and scalability are top priorities for us.

I've included some initial notes on these options, but I'm open to any other ideas or approaches you might suggest. Your experience with large-scale refactoring and Compose adoption would be invaluable!

Thanks in advance for your wisdom, everyone!


r/android_devs • • May 12 '24

Article New Book! Kotlin In Action, Second Edition

Thumbnail galex.dev
10 Upvotes

r/android_devs • • Mar 26 '24

Article Robolectric Tests in Android: Benefits and Drawbacks

Thumbnail techyourchance.com
10 Upvotes

r/android_devs • • Feb 25 '24

Article Yury V. @ BumbleTech - Refining Compose API for design systems

Thumbnail
medium.com
10 Upvotes

r/android_devs • • Jul 19 '22

Help Is this legacy app still feasible under modern background execution limits?

10 Upvotes

So I have a legacy app that monitors battery charge and discharge to tell the user if the charge level goes above or beyond a certain threshold. It works flawlessly as long as I target sdk 25 because it uses features that are now banned or restricted in modern android:

  • It registers a receiver in the manifest to detect the plugging-unplugging of the charger and switch from charge monitoring (more frequent) to discharge monitoring (less frequent to save battery). Implicit broadcasts were banned in Android O.

  • It uses the Alarm Manager to run code periodically with very small intervals (down to 1 minute while charging, 20 while discharging).

  • It registers a boot receiver to register the alarms in the AlarmManager, otherwise discharge monitoring won't start until the user plugged/unplugged the charger.

I was trying to port it to the latest targetSdk, but I can't find a modern equivalent to these three points:

  • The "alternative" to manifest-registered implicit broadcast receiver is to register them at runtime, but for that to work you have to be in foreground to begin with.

  • There seems to be no alternative to low-interval alarms. The AlarmManager will now at most run code with 15 min interval. In that time the battery might have charged a lot (+15%) and thus well above the max threshold, which the app should notify to the user. Other than this API, the background work guide only offers the WorkManager (min 15 min intervals) or some foreground timer or coroutine.

  • The boot receiver cannot be used to bypass background restrictions. It still works, but you can't start a bg task from there. android 12 forbids launching foreground services from the background.

So, do you think this app can be ported to modert android and target the most recent sdk level (or at least, one compatible with Google Play policies)?

What is the alternative to sub-15 minutes alarms? Note that my tasks are not long-running, they are very short: just checking the battery level and optionally playing a ringtone.


r/android_devs • • Jul 04 '22

Coding Migrating to the new coroutines 1.6 test APIs

Thumbnail
medium.com
10 Upvotes

r/android_devs • • Apr 04 '22

Publishing QUERY_ALL_PACKAGES permission declaration

10 Upvotes

Last year we announced a new Package Visibility policy that introduced an approval process for the new QUERY_ALL_PACKAGES permission. This permission controls access to the inventory of installed apps on a device.

Starting April 5, if your app meets the policy requirements for the acceptable use of the QUERY_ALL_PACKAGES permission, you will be required to declare this using the QUERY_ALL_PACKAGES permission declaration in Play Console. This declaration requires:

A description of the core feature in your app that requires use of this permission.

A short video showing the core feature in your app that requires this permission.

To prepare for the questions you'll be required to answer, please refer to this Help Center article.

Apps that fail to meet the policy requirements or do not submit the Permissions Declaration Form may be removed from Google Play starting June 1. If your app does not require the use of QUERY_ALL_PACKAGES permission, please remove the permission from your app manifest.

Thank you for continuing to partner with us to make Google Play a safe platform for you and your users.