Questions tagged [android]
Android is Google's mobile operating system, used for programming or developing digital devices (Smartphones, Tablets, Automobiles, TVs, Wear, Glass, IoT). For topics related to Android, use Android-specific tags such as android-intent, android-activity, android-adapter, etc. For questions other than development or programming but related to the Android framework, use this link: https://android.stackexchange.com.
android
1,419,069
questions
0
votes
0
answers
4
views
Event from ViewModel to View to cancel and relaunch LaunchedEffect
I am remaking the Simon Says game in Kotin. I try to make a good pattern between my viewModel and my view but here i don't know if there is a better way to execute what i want. So, i need to make my ...
0
votes
0
answers
9
views
Flutter Firebase require resign in to work
I am using Firebase Auth and Firestore,
it works fine but when close the app for a while( more than 30 mins approximately)
no firebase code work and i get the following error:
W/System (12108): ...
0
votes
0
answers
8
views
SQLite file location
I have a problem running my Android app:-
Running through the Emulator there are no problems
However when I run in USB Debugging mode on a real Android device this is the error message I get:-
no such ...
0
votes
0
answers
5
views
How to start MainActivity after SplashScreen?
I want to run my app on devices below android 12. The app will have a splash screen, the app can't use splash screen api becuase it does not work sufficiently in devices below android 12. How to ...
0
votes
0
answers
6
views
UART sends but does not receive: ODROID C4 using Android-Serialport-API library
I have an ODROID-C4 that I am trying to get to communicate with an external controller using the UART1 port on the 40-pin header. I am programming in Android and using Android-Serialport-API library ...
0
votes
0
answers
5
views
Best way to use auth0 for managing permissions in a chat application where we might have roles like group admin or regular group member
So I way developing a chat application and kinda stuck while setting roles, permissions, scopes etc. So I was using auth0 for authorization along with OIDC for authentication.
The components of my ...
0
votes
0
answers
4
views
Getting exception while setting up an detox project
Getting exception after executing this command
npx detox build -c android
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:...
0
votes
0
answers
5
views
How to open Flutter app from foreground mode?
I am making an alarm application with Flutter, I coded a foreground service with PlatformChannel and MethodChannel. When countdown finishes I want to show an Alarm page but I can't deal with it. The ...
0
votes
0
answers
13
views
How to send/receive text messages in Blazor App
For fun, I wanted to make my own default texting app and make it compatible for both IOS and Android. As far as I can figure, Blazor doesn't support it. I was wondering if there was a good API for ...
0
votes
0
answers
16
views
AOSP Development: Kotlin cannot access R class id, but Java can! Why?
I started diving into AOSP development recently and I am following some code labs originally written in Java on how to customize the SystemUI (for Automotive AOSP).
I have checked that parts of ...
0
votes
0
answers
9
views
Glide GIF animations play slowly after a necessary clearing
I am experimenting with animated buttons using GIF files and I encountered a strange error that I can't seem to fix without messing up something else.
Let me explain. I have these 4 buttons (2 static ...
0
votes
0
answers
10
views
Ola maps integration in Flutter
So I am working on a similar project like ola for the tier 3 cities and i see that ola maps are free but Ola Maps only provide android sdk, and does not support flutter for now, how do I implement the ...
0
votes
1
answer
5
views
Store key-value pairs with Gradle Kotlin DSL
I am trying to organize my code and get rid of some unnecessary repetitions. Current code:
android {
defaultConfig {
buildConfigField("String", "VAR_1", "\"1\&...
1
vote
0
answers
6
views
How to configure buildSrc in Android project to generate libs from toml file
Im investigating using buildSrc in my current android project
i have created a buildSrc folder and specified Config constants that work fine in my apps gradle kts files.
object Config {
object ...
-1
votes
0
answers
11
views
Trouble streaming non-local Google Photos video without downloading
I'm making an app where the user can select a video from the gallery and launch it later using their default viewer.
My initial attempt looked like this
Intent intent = new Intent();
intent.setType(&...