Stay up-to-date with latest news on Android Development! Content directly fetched from the subreddit just for you. Powered by : @r_channels
All apps removed because of a disabled Google Account
https://preview.redd.it/yqagqgej68ad1.png?width=1136&format=png&auto=webp&s=9ccca1bb96235b7a116c0431fdafadca3723c67b
Does anyone here encountered the same issue and can explain to me if my assumption is correct? Our developer account has 3 google accounts attached to it in which 1 is disabled. That 1 disabled google account is what caused for all the apps to be temporarily removed. Will removing that disabled account from the developer account will fix the issue - and if yes, how long will the ...
https://redd.it/1du51ev
@reddit_androiddev
How do I add padding within my card so that my ImageView does not stick to the sides
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layoutwidth="matchparent"
android:layoutheight="matchparent">
<androidx.cardview.widget.CardView
android:layoutwidth="matchparent"
android:layoutheight="wrapcontent...
https://redd.it/1dtzhp2
@reddit_androiddev
Using Loom in Pull Requests
How do you guys do code-reviews at your org? What are the must-haves before any PR is merged?
This is how our PR template looks like
What is this about?
How was it implemented?
How is this tested?
How are the negative flows tested?
Videos/Screenshot
I was thinking about adding Loom's to each PR for more context. Since the author can
explain more in a short 5-min video itself, has anyone used it before? or any alternatives?...
https://redd.it/1dtm3mk
@reddit_androiddev
Unresolved reference: phototitle
As you can see in photos of code provided, a Textview which has id: photo\title is not recognized in PhotoDetailsActivity.kt even though I have created a TextView in content_photo_details.xml with the ID: photo_title.
I'm a beginner who's creating an Image display app using a tutorial. I want the app to display the photo alongside info when clicked. The app worked smoothly until now, it displayed all the photos one below other but when I try to include the code for displaying th...
https://redd.it/1dtr9qm
@reddit_androiddev
Disabling Autoformatting on selecting an Autocomplete Suggestion in Android Studio
Basically the title.
Is there a way to disable autoformatting that happens when I select a suggestion from the Autocomplete suggestions that the IDE provides? Every time I select a suggestion the formatting of the entire file gets messed up.
I usually hate autoformat features and prefer to format myself. It's very annoying right now cuz I'm unable to import anything automatically using the suggestions, and in Kotlin you need to import each and every class or function that I need to import, es...
https://redd.it/1dtm5hk
@reddit_androiddev
I’m confused
I’m sorry if this is irrelevant to
This community.
So, my friend had a Samsung F 42 and he forgot his password and got locked out of his phone.
The repair guys were able to just remove the lock in a week with data intact (no flashing, the phone is still official)
Is this even possible? Resetting through recovery should delete the data and trigger FRP but the data must be deleted right?
I have some experience with flashing and I am an android dev myself but I was not able to get any possible ...
https://redd.it/1dtlj93
@reddit_androiddev
Android Studio Koala Emulator Not Working
Whenever I use the emulator, it does not work. It is flickering from stretched to normal, and it is very annoying.
https://preview.redd.it/tokmau8iq3ad1.png?width=1916&format=png&auto=webp&s=22dabd9f4f4ed9ba68fa87dc4735d11e4c6032e2
...
https://redd.it/1dtl04h
@reddit_androiddev
Chinese app bypassed Android security?
I've recently downloaded Tencent MyApp Store (Chinese version) on my Samsung A54 with the latest Android and security updates to get another app, "Billi Billi". After installing it, I started receiving notifications like "Scan your phone, clean your phone," even though I had forbidden all permissions.
The scariest part is when I tried to access my "Messages" app, it said that com.tencent.myapp was watching my screen. How is this possible? As a developer, I've never seen an app bypass permission...
https://redd.it/1dticsk
@reddit_androiddev
UPD: Did Google Play billing add "Subscription rationale" dialog?
I asked this a week ago. Tried to reproduce it every day and I finally succeeded! Any ideas of what it is?
UPD: Replaced screenshot with screen recording.
Unfortunately, I didn't record previous steps. Basically, I just click "subscribe" and close billing dialog before purchase. Then this dialog appears. And then I click "continue" and purchase dialog appears back. If you watch the video frame-by-...
https://redd.it/1dtfnru
@reddit_androiddev
Is there a point of learning/experience when you realise you are job ready?
I have seen people of my generation start directly from kotlin/compose meanwhile I started from Java/XML.
I do admit I've been much slower in the process (because of my distractions) earlier.
Everytime I learn something, I realize there's even more to learn and it's not enough. An year ago, I was totally outcome oriented, but because of market saturation in 2024, I have started becoming more process oriented (feels more fun).
But in all this I always wonder when will I be enough to start ap...
https://redd.it/1dtdo1r
@reddit_androiddev
Probably a stupid question, but can signing apps doxx me?
I live in a very small and rural town. If people can figure out the city's name, then they can figure out where I live. City names are required for signing apps with keys and all.
I've thought about signing using the name of a bigger city near mine, but I don't know if that is legal. Or are these kind of data hidden when compiled?...
https://redd.it/1dt5hsa
@reddit_androiddev
Coroutine Essentials - Kotlin Illustrated Guide, Chapter 20
https://typealias.com/start/kotlin-coroutines/
https://redd.it/1dstyc4
@reddit_androiddev
How can i execute shell command
hey i wanna execute a shell command using android app which trigger an exported activity of my other app by executing shell command which is adb shell am start -W -a android.intent.action.VIEW -c android.intent.category.DEFAULT -d "schema://host"
can i execute this if yes then how ?...
https://redd.it/1dh45ni
@reddit_androiddev
Get some kind of notification anywhere when an action is perform in my app
So long story short, i need to get notify when someone place an order in my app. I want to keep it simpler as possible. What's the best way to this? I'm using firebase rtdb but "functions" it's not an option right now. Ty...
https://redd.it/1dh1crg
@reddit_androiddev
How do I enable Google review the premium features of my subscription app?
My app has a freemium model and requires users to create an account and log in to access the free features of the app. For the premium stuff, user has to buy a subscription.
In Closed Testing, Google reviews the app and needs login credentials to access the app. I can create login credentials for the free features, but how do I handle the premium features?...
https://redd.it/1dgpjc6
@reddit_androiddev
App is receiving delayed response when using https
This is my first full stack android app and am a little lost with how to proceed. My app is currently configured to use https and it works perfectly fine when I am in debug mode . However, once I try and generate a release version, the requests take minutes to go through (but they are still going through) even though I am hitting the same ip address for both versions.
The domain has certs from letsencrypt and when I view the website, I can see that the site is secured.
Any advice on how I c...
https://redd.it/1du2pmh
@reddit_androiddev
Looking for open souece project to contribute
I'm CS student I've been studying android for over a year, I want to expand my knowledge and experience I think contributing to open source project will help but can't find suitable one. If anyone have good suggestions also i worked on git/github before...
https://redd.it/1dtz34p
@reddit_androiddev
What device does google use to review apps for approval?
They keep denying my app for release, I've appealed without any success, I asked them if they can provide me the device they are using so I can test it on my end, but they didn't want to reveal that.
Would anyone here know what device they use? I keep getting rejected because the app logo doesn't fit inside their circular app icon, but I've done all I can to make sure it fits, but they reject, and provide no useful info.
...
https://redd.it/1dttwb1
@reddit_androiddev
I want to export the database I have created using room in android.
How can I add feature to export and import database to my app. currently I am learning the data persistence using room. I have created a database and I want that my user should be able to export and import database. Lets say my user wants to share the database to a another user. How can I implement a feature so that my user can simply export the database and share it using any app like WhatsApp , email or something like that and then other user should just be able to import it to his app. ...
https://redd.it/1dtrbrl
@reddit_androiddev
Reldex: a way to measure app release processes
https://www.tramline.app/blog/introducing-reldex
https://redd.it/1dtokz6
@reddit_androiddev
Why does Android use JIT and AOT?
As I understood Kotlin is compiled to JVM byte code which is kept as .dex files in APK. When this APK gets installed it is compiled to native code on the device.
All the resources I found on internet say this is how it works and never mention why. So my question is why not compile JVM bytecode directly to native code and include it in APK file? this way apps will run faster and there would be no need fore baseline profiles. Also battery would last longer....
https://redd.it/1dtlym9
@reddit_androiddev
Android Emulation on Arm Host
I am trying to get an android emulator running on an ARM server but couldn't find any helpful resources. Are there any leads/blogs/docs that could help me in achieving this?...
https://redd.it/1dtilej
@reddit_androiddev
App rejected TWICE for the most random reason
https://redd.it/1dthzqy
@reddit_androiddev
I've never seen any app declare the <queries>
in the Android manifest as much as this before.
These queries come from Shopee, one of the popular shopping apps in my country. The app declares a lot of app package names.
https://preview.redd.it/p3a5bvd3w1ad1.png?width=1200&format=png&auto=webp&s=c58d72e4b0afe480277fdbba0e4260ece33a68a6
For those who doesn't know about `<queries>` tag, starting from Android 11, there is a feature called Package Visibility that prevents apps from seeing other installed apps for user privacy reasons.
App must declare the package name of those apps in the...
https://redd.it/1dtf8uk
@reddit_androiddev
Development and health issues
As a developer, my job involves working from my computer remotely, sitting at my desk all day. This has negatively impacted my health, leading to issues like back pain, neck strain, and eye discomfort. What do you suggest for maintaining long-term health? Are there any mistakes you've made that you wish you'd avoided earlier?...
https://redd.it/1dt765i
@reddit_androiddev
Question About Using Offer Tokens in Billing Library 7
I am in the process of porting to Billing Library 7.
I was wondering, when performing a subscription via launchBillingFlow
, can we use the offer token from a ProductDetails
obtained during app startup? During app startup, we execute queryProductDetailsAsync
once.
Or, do we need to ensure our ProductDetails
are up-to-date by making an extra call to queryProductDetailsAsync
to ensure the offer token is current, just before calling launchBillingFlow
.
Thanks. So far, my observation is...
https://redd.it/1dt2evw
@reddit_androiddev
Android apps shouldn't have back buttons
Let me explain.
Android always had universal ways to navigate inside of OS,
like "Back", "Home", "Open apps"/gestures
But for some reason, apps have build in buttons to go to the previous screen. And it kinda doesn't make sense.
Now you have two buttons on screen to do the same action: in app, and system.
In ios world it's understandable, because some apps don't have left to center back gesture, so back button has to be there.
I think that just showing the user that you can go back by pre...
https://redd.it/1dh4mxv
@reddit_androiddev
Is Material you Useful?
Hello,
I’m a developer who has only designed apps for IOS where we don’t have anything like Material you fro Android.
For those who don’t know what that is: Material you is a setting that enables you to custom all the colors of the apps (primary color, secondary color…) matching with your wallpaper making everything more consistent and personal.
So, I thought this is an extraordinary idea to implement for my first app in Android. But, do you guys use it? Do apps respect “Material you” functio...
https://redd.it/1dh2ck2
@reddit_androiddev
Play console org account
Hi guys i want to ask related to play console account
My current personal account was terminated, and now iam planning to publish apps through play console by creating a new organizational account
So my question is, will this new org account that iam going to create are going to be accepted and not terminated / suspended / banned from play console in the future ? ...
https://redd.it/1dgy95q
@reddit_androiddev
Need an Android App to Use ai to interact with screen
I want an app to easily access - a small on-screen button I can tap to activate ai and ask it to perform tasks.
(In simple words chatgpt extension for mobile)
For example,
1/If I'm reading a blog and want a summary, I'd tap the button, type "summarize," and get the summary instantly.
2/Select the word, ask the meaning or translation. It does ......
https://redd.it/1dglgt0
@reddit_androiddev