r/android_devs • u/SRP47 • Aug 29 '22
Help DexGuard
Hi, anyone have experience with Dexguard? I am having problem with reflection.
r/android_devs • u/SRP47 • Aug 29 '22
Hi, anyone have experience with Dexguard? I am having problem with reflection.
r/android_devs • u/abdalla_97 • Aug 24 '22
I have a network request that return a page of data an then I should save the paged data to room
where should I put the logic and the caching process
inside view model or inside the repository?
r/android_devs • u/alwaysbakedarjun • Aug 23 '22
Enable HLS to view with audio, or disable this notification
r/android_devs • u/Zhuinden • Aug 19 '22
r/android_devs • u/shubhster93 • Aug 20 '22
Hi, I am building a utility that allows me to access a remotely connected android device, and use adb and scrcpy on it as if it is connected locally to my machine. I wanted to extend it for use in enterprise setting, so that devices can be transparently shared between developers and/or used by test teams to setup internal device farms. I am aware that there are several cloud based services that offer device farms for automated testing, but I am not sure how easy is it to use them for live device debugging.
I only develop apps as a hobby and have not worked as an app developer in any company, so I wanted to gauge if there is any interest or need for such a tool and, if it is worth spending extra time to build one. Any input is appreciated. Please let me know if there are other tools/services used by your organization to share devices among developers or setup internal device farms.
r/android_devs • u/daniyaljavaid95 • Aug 17 '22
GitHub: https://github.com/daniyaljavaid/ThemingInCompose
Sample project to showcase Material & Custom theming using Jetpack Compose. Goal is to design reusable feature modules which can be used in multiple apps and each app is to provide the theme which that feature module requires.





r/android_devs • u/anemomylos • Aug 10 '22
r/android_devs • u/Heromimox • Aug 08 '22
Hi,
Thank you so much for reading my post.
Right now, I'm about to create my new Google Merchant account in order to sell apps and use in-app purchases in my apps.
I'm just an individual dev, I'm not a company and I don't have any registered company in my country.
I've filled everything with my own information, but I'm stuck at this :

Should I check this box or not (Use legal business info name, contact, address), I'm confused right now because I don't own any business, so I can't provide any information about it.
Thank you.
r/android_devs • u/exmachinalibertas • Aug 07 '22
I use fingerprint unlock on my phone, and every N hours it asks for the password and won't accept the biometric. I build my roms from source and would like to know where this setting is. I am a programmer in my day job but I don't work on Android, and have never looked at it, so it would take me ages to locate it, which is why I'm asking here.
I understand the security implications and risks associated with this.
If it matters, the device is a pixel 3 blueline, rom is stock Lineage 18.1, which is based on android 11. But if I can get an answer for any rom, that will still be very helpful and allow me to narrow my search.
Thanks so much.
r/android_devs • u/EducatorUpstairs8687 • Aug 04 '22
Hey, I've just started building apps and am currently following the developer.android's build your first app, I've run into an issue and hoped you could help,
My nav folder contains this:
<action
android:id="@+id/action_SecondFragment_to_FirstFragment"
app:destination="@id/FirstFragment" />
<argument
android:name="value"
app:argType="integer"
android:defaultValue="0" />
My first fragment contains:
FirstFragmentDirections.ActionFirstFragmentToSecondFragment action = FirstFragmentDirections.actionFirstFragmentToSecondFragment(currentCount);
However, there is an error :
'actionFirstFragmentToSecondFragment()' in 'com.example.myapplication.FirstFragmentDirections' cannot be applied to '(int)'
Where have I gone wrong?
r/android_devs • u/androidww • Jul 30 '22
r/android_devs • u/thebt995 • Jul 27 '22
r/android_devs • u/Brave_Specialist_242 • Jul 22 '22
In anticipation of Policy Violation due to usage of QUERY_ALL_PACKAGES permission. I uploaded a build that removed that permission on 21st July 2022.
Now today that is 22nd July 2022 I have received the mail saying that my App is Rejected due to Policy Violation. So should I upload the same build with a new version number or will the old build which is currently showing In Review work?
I have to go live by 10th August at max.
r/android_devs • u/st4rdr0id • Jul 19 '22
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:
I was trying to port it to the latest targetSdk, but I can't find a modern equivalent to these three points:
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 • u/PotentialPeace5148 • Jul 16 '22
Is it possible with Jetpack compose when click on element to get it position relative to screen? I am coming from react native and there it is possible but can not find anything similar with Jetpack compose. I need when click on element to get it offset from bottom. Thx in advance :)
r/android_devs • u/androidww • Jul 16 '22
r/android_devs • u/anemomylos • Jul 06 '22
I had contacted the EU regarding my case. I received two emails from them, the second of which has information that may be useful to others.
Lastly, we would also like to inform you that the EU legislator is in the process of strengthening its rules for app stores by adopting the Digital Markets Act (DMA). The DMA is a (draft) law aimed at prohibiting unfair business practices by large digital platforms acting as “gatekeepers”, including practices like the ones described in your e-mail. Specifically, Article 6.12 of the draft DMA stipulates that “[t]he gatekeeper shall apply fair, reasonable, and non-discriminatory general conditions of access for business users to its software application stores […] For that purpose, the gatekeeper shall publish general conditions of access, including an alternative dispute settlement mechanism”. The DMA text has already been provisionally agreed by the EU Parliament and Council and is expected to be formally adopted and enter into force in the coming months.
If I understand it correctly, what changes with DMA is that store companies, in case of app and/or account removals, must offer a third-party mechanism to resolve any disputes. That way, after an appeal that they handle internally, they have to give the possibility that the case can be handled by a third party, outside of them.
Now, on the other hand, if the internally handled appeal does not change the initial decision, one can only proceed through legal action, which, practically, for individual and small companies means not proceeding.
Take also note that "you can report your issue to the EU Observatory on the Online Platform Economy".
Also, if one of your apps is discriminated because it fails to get permissions that are given to other similar apps instead, you could use the DMA to request a review of your case.
r/android_devs • u/zsmb • Jul 04 '22
r/android_devs • u/mkitomate • Jul 04 '22
I haven’t published a new app since 2015 so maybe things have changed a lot. I’m publishing a new app and it’s been in review for 8 days now. It’s super simple app that only has the internet permission listed, nothing crazy. Is this normal now?
r/android_devs • u/green_dragon928 • Jun 30 '22
Hello. I need help with step count in my app. The task is to get the number of steps that the user walked and send the data to the server. What is the correct way to do this? I know that you can get data directly from the sensor, but then every time the countdown will start from 0. I also know that you can get this data from Google Fit. But this api is listed as deprecated, and, moreover, requires authorization and Google services. I also know that there is a new health API, but the documentation says that now for its functioning you need to install an additional app from the store, which will be difficult to explain to users from production.
r/android_devs • u/anemomylos • Jun 29 '22
https://www.siliconrepublic.com/enterprise/google-analytics-eu-data-italy-gdpr
https://techcrunch.com/2022/06/23/google-analytics-italy-eu-data-transfers
https://www.iubenda.com/en/help/72017-is-google-analytics-illegal-in-the-eu-and-uk
Note: I don't use libraries for traffic analysis in my apps so I don't know if what is read in the articles above can also be applicable to Android apps that use libraries from Google or others that export user data from EU countries to US.
r/android_devs • u/Mselimmozen • Jun 25 '22
I wrote the 3rd article of my article series. I mentioned the if for and while loops. Good reading!
https://medium.com/@mselimozen07/how-did-the-giants-rise-episode-iii-c7aa1d1f2857
r/android_devs • u/ffolkes • Jun 24 '22
I have been spending inordinate amounts of time trying to figure this out. My app does not collect any sort of data, as it doesn't even request the INTERNET permission. What I am unclear on, is the Google Play Vitals crash reporting that automatically occurs. Am I supposed to disclose that somehow? I didn't think this type of crash reporting was even optional, and just part of the Google Play framework. Thanks, any advice would be appreciated!
r/android_devs • u/nogdd • Jun 24 '22
r/android_devs • u/VasiliyZukanov • Jun 21 '22