1,415,369 questions
2
votes
0
answers
47
views
TextAlign.Justify only works on the emulator, not on a physical device
why are all the lines (not just the last line of the paragraph) aligned to the left on a real device, while on a virtual device they are aligned to the width of the screen except for the last one (as ...
1
vote
1
answer
32
views
Expo React Native: How to play notification sound for 30 seconds on Android?
I am working on a React Native app using Expo (managed workflow), and I need to implement an emergency alert feature.
The requirement is:
When a push notification is received, a sound should play for ...
-1
votes
0
answers
47
views
I am building a music player app in Flutter, but Android is not recognizing my app as a proper media player
Problem
The app plays audio correctly
However:
No media controls appear in the notification
No lock screen player widget is shown
Earbuds/headset controls (play/pause/next) are not working
...
0
votes
0
answers
41
views
AdMob test ads not showing on Android (HTTP 403 error on load)
I am integrating AdMob into my Android application, but ads are not loading at all, even when using Google’s test ad units.
I am receiving the following error in Logcat:
onAdFailedToLoad: Received ...
1
vote
0
answers
55
views
AdMob breaks MaterialYou dynamic color update on Android 15
As soon as I add
MobileAds.initialize(this)
The dynamic color update does not work anymore.
When I switch the OS color palette and go back to the app, the colors do not update. I need to restart the ...
Advice
0
votes
1
replies
43
views
Is the intent:// URI scheme a standard Android feature or a browser-specific implementation?
I am researching how deep linking works across different Android browsers. I noticed that using the intent:// syntax allows one browser to launch another or trigger specific app actions.
For example: ...
-1
votes
0
answers
57
views
Facebook SDK / App Events / Android >> Test page won't work
This question is about using the Facebook SDK to enable App Events for my Android app. Meta has a "test" page where you can -- supposedly -- test your app in real time and ensure your setup ...
Tooling
0
votes
3
replies
69
views
How to detect shelf horizontal angle deviation in a mobile app? (iOS and Android)
I need a way to analyze retail shelf photos, detect the shelf rail/edge angle relative to a horizontal line, and return “Not Detectable” if no valid shelf line is found. If the detected deviation is ...
-2
votes
0
answers
46
views
Google Chrome Camera for Android doesn't support wide angle zoom [closed]
So, i'm opening web page by google chrome for android
When i click button like this:
<input type='file' name='upload file' accept="image/*"/>
I have a choise: use camera or attach file ...
0
votes
0
answers
58
views
How do I get a transparent Shell navigation bar on Android using MAUI 10?
I am trying to make my app fully edge to edge, while using MAUI 10 and a having a visible Shell.NavBar. On IOS, the application renders like this:
Note that the Shell navigation bar is displayed, but ...
-3
votes
0
answers
68
views
Trying to understand the activity lifecycle of android [closed]
I am writing a simple pressure sensing android app that uses android 13+. The app senses pressure, and keeps track of it in a text file.
Not able to understand if it uses Java awt to manage its ...
0
votes
1
answer
106
views
how to programmatically get a photo from the device's memory
How to set image from download directory automatically?
I know image name and location, but I don't know what the URI should be.
Something like:
getImageUri(String imageName){
Uri uri = Uri.parse(&...
1
vote
0
answers
50
views
On Android 16 how can an app programmatically switch STREAM_MUSIC in MODE_NORMAL to the TYPE_BUILDIN_SPEAKER device?
On Android 16 how can an app programmatically globally switch STREAM_MUSIC in MODE_NORMAL to the TYPE_BUILDIN_SPEAKER device ?
The SetSpeakerPhoneOn() and setAudioRoute() APIs are either deprecated ...
0
votes
1
answer
50
views
Using AppAuth-Android creates separate task
I am trying to use AppAuth-Android to authenticate with the Fitbit Web API.
I call AuthorizationService.performAuthorizationRequest() to show the Fitbit OAuth interface:
val authEndpoint = Uri.parse(...
-1
votes
0
answers
57
views
Flutter CERTIFICATE_VERIFY_FAILED on Android 13/14 but works perfectly on Android 16 (Sectigo CA)
I am developing a Flutter application that communicates with a live API server via HTTPS. The API calls work perfectly on an Android 16 device, but when I test the exact same code on devices running ...