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,070
questions
0
votes
0
answers
6
views
7inch raspberry pi touch screen with aosp 13 size problem
I’m working on a project using a Raspberry Pi 4 with a custom Android 13 ROM and the official 7" Raspberry Pi touchscreen.
The touchscreen display is zoomed in, causing part of the display to be ...
0
votes
0
answers
11
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
12
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): ...
-2
votes
0
answers
12
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 ...
1
vote
1
answer
9
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
8
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
6
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
7
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
15
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
18
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
11
views
Glide GIF performance is worse after Glide.with(this).clear
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(&...
0
votes
0
answers
5
views
Admob open ads misplaced video on Android
I am developing Android apps and add Admob ads into my app. When the open ads is showing video, the video is misplaced, it goes to upper side. How to resolve this. It happened on android device.
This ...
0
votes
0
answers
2
views
Flutter : Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1
I got some erros in my flutter app
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
e: C:/Users/nilsm/AndroidStudioProcjects/Prosjekt/...
0
votes
0
answers
11
views
Android - BillingLogger: Skipped logging since initialization failed
Testing out in app purchases with the following:
purchasesUpdatedListener = new PurchasesUpdatedListener() {
@Override
public void onPurchasesUpdated(BillingResult billingResult, List<...
0
votes
0
answers
14
views
"Sending message to a Handler on a dead thread" warnings in a foreground service that gets location every second
I’m having an issue with a foreground service in my Android app. I’m encountering the following warning in the log:
Handler (com.google.android.gms.internal.common.zzi) {c19f288} sending
message to a ...
0
votes
0
answers
10
views
Audio Recording with Android OS 14 Not working Properly
I am using Audio Recorder for Record Audio up to Android OS 13 it was working fine but with Android OS 14, it is not working properly.
Basically inside the application User records audio for 15 ...
0
votes
0
answers
12
views
SharedPref not keeping value for 1 array but working for another
SharedPref not keeping value for 1 array but working for another.
I am saving strings from Activty1 to a JsonArray for jsonArray_Score_Correct_book and jsonArray_Score_Correct_type
When getting these ...
0
votes
0
answers
11
views
How to get "supportedAbis" on android browser
How can i get at least one supported ABI of android device through website on android browser?
I just want supported ABI name like (arm64-v8a, armeabi-v7a, x86-64) of android device through website ...
-1
votes
0
answers
6
views
i have RecyclerView in kotlin project this recycler shows list of mp3 files and i want to when mp3 finish jump automatically to next itemView
i can't jump from current itemView to Next ItemView in recyclerView
but this within recyclerView
i have RecyclerView in kotlin project this recycler shows list of mp3 files and i want to when mp3 ...
0
votes
0
answers
6
views
Error Implementing Amazon Appstore IAP - Fatal Error: Resource already registered: I5.f@4e905fb
I have an application published in Amazon appstore and also created in-app-purchase items for it in appstore of amazon. I have followed all the required steps to implement Amazon IAP in my app to ...
-1
votes
0
answers
17
views
How to display image from USB camera on old android?
Short question: I'm making an app for android 4.2.2, to display image from USB camera on tablet. The picture is not displayed. Can you please explain why? Thanks!
(below is a link to the source code)
...
0
votes
0
answers
7
views
Custom Icon in MarkerComposable don't get updated after update text inside it
I have a map with markers and the marker I add a custom icon to it with a text indicating the sequence of that marker.
and what's happening is when I update these marker sequences it's not get updated ...
0
votes
0
answers
9
views
Correct Location of Android & Ios Manifest
What is the correct location for Android manisfest and Ios in Flutter
Here is my code
I need the correct location details, so that this can work successfully
Future<void> _updateAndroidManifest(...
0
votes
0
answers
7
views
How to create a temperature knob in Android Studio?
I'm still learning with android development with android studio as IDE and I'm trying to learn the Thermostat knob ux design in documentation that the anrdoid studio have (like the image below) but I ...
0
votes
0
answers
8
views
Android 14 BLE - WRITE_TYPE_DEFAULT vs WRITE_TYPE_NO_RESPONSE
My Android and iOS app (react native based) uses BLE to connect to a custom esp32-based peripheral. It's been working fine for years, but starting with Android 14 some features are not working.
In ...
0
votes
0
answers
15
views
Time variable's state not changing after setting its state
here's a flutter package called circular_countdown_timer , I want to change its timer state by giving a costum variable, to make it clear I've created a simple page which containg just the very widget ...
-3
votes
0
answers
20
views
* What went wrong: Value 'C:Program FilesJavajdk-17.0.12' given for org.gradle.java.home Gradle property is invalid (Java home supplied is invalid) [closed]
What platform(s) does this occur on?
Android
Where did you reproduce the issue?
in a development build
Summary
I'm facing an issue creating an Android development build using EXPO. After updating ...
-1
votes
0
answers
17
views
My app has been rejected and wasn't published due to the policy issue
My app has been rejected and wasn't published due to the policy issue.
Issue found:
Unable to verify core functionality of app
Your in-app experience does not match the core functionality for your ...
0
votes
0
answers
12
views
getCredentialAsync claims no provider dependencies found from a module which works on different app
I have a library myLibrary which contains all authentication logic which being used in 2 apps, one for android mobile app and the other for androidTV app.
The authentication works in the mobile app ...
0
votes
0
answers
15
views
Android, Java + Goople Map: Straight routes useless. Is it possible to eliminate them?
Video of problem
Straight routes useless. Is it possible to eliminate them? there are straight lines that i wouldn't want.
Input from rest_api it's a simple json in this link:
https://drive.google.com/...
0
votes
0
answers
12
views
How to show debug logs while running blazor hybrid app on local android device?
I am using VS2022 Community Edition on Windows 10. I have followed this tutorial https://learn.microsoft.com/en-us/dotnet/maui/android/device/setup?view=net-maui-8.0 and have gotten my blazor hybrid ...
0
votes
0
answers
8
views
Android Nearby Connections do not send files anymore
I am using Android Nearby Connections to send files through Wifi and messages through blutooth between two S21 devices.
Bluetooth messages are ok between the two devices but sending a file between the ...
0
votes
0
answers
17
views
Error "Unresolved reference: serviceOf" updating gradle
I'm trying to update gradle in my expo react native app and to do so I executed "./gradlew wrapper --gradle-version 8.9" in the android level. But when I see the logs of the update, it ...
1
vote
1
answer
23
views
Flow not updating when broadcastReceiver is called
I'm new to kotlin and trying to make a reminder app for medicines for a course.
My VM doesn't react to when new names are added into the currentAlerts flow by my alarmReceiver.
The only time 'doing ...
0
votes
0
answers
15
views
Android: lifecycleScope.launch not working inside LiveData observer after Orientation change
I have the following code in my Activity which i call in onCreate
val carFlow: Flow<Car> = carFlowProvider.provideFlow()
viewModel.testingLiveData.observe(this, Observer { testValue ->
...
0
votes
0
answers
12
views
Trying to get values from a spinner on Appium Inspector
Im trying to get a value from this spinner but I cant select it using Appium Inspector, but it only selects the thing below the item: Appium Inpector with the spinner not selected
List opened, and the ...
0
votes
1
answer
16
views
Permission Dialog for Kotlin App not showing up
I am making an Android App with Kotlin for a College Assignment. The assignment has a requirement to store an image into an SQLite database. I code in the code to request permissions to access the ...
0
votes
0
answers
7
views
Question: How to Create a Custom WireGuard Client App Using Java in Android Studio?
I am trying to create a custom WireGuard client app using Java in Android Studio. I'm using the com.wireguard.android:tunnel library available on Maven Central. Here are the steps I've followed so far:...
0
votes
0
answers
4
views
Object detection and Object classification in android kotlin [closed]
I want to deploy two object detection models in a single project: the first model to detect cars and the second model to detect license plates. For the first model that detects cars, I want to apply a ...
0
votes
0
answers
14
views
How to prevent installing apps in private space in android 15 beta?
In new private space feature in Android 15 devices, No Push notifications are showing.
In my app, push notification is mandatory to the user, and installing app in private space won't show any push ...
0
votes
0
answers
24
views
How can I implement this corner curve in Jetpack Compose for this design [closed]
I'm aiming to replicate this design using Jetpack Compose, but I'm encountering challenges in achieving the desired look.
Cardview with curve
I'm seeking assistance in recreating this design using ...
0
votes
1
answer
11
views
How to access hidden media with MediaStore?
I'm developing a custom gallery app using MediaStore. I want to access all images and videos on device storage, including files which placed in hidden .folders.
My problem is that I don't understand ...
-1
votes
1
answer
16
views
Ionic 7 default app showing blank screen and errors when running on emulator
I'm using Ionic version 7.2.0, npm version 10.8.2, angular 18.1.1, node 20.16.0, Capacitor version 6.1.1, phone api 27, windows 11 64 bits, jdk-17 (I had to install and uninstall several java versions ...
0
votes
0
answers
3
views
While making a build on react native app on my mac iOS system i am getting this error
Please guide me with the error
Failed to upload the project tarball to EAS Build Reason: EPERM: operation not permitted, scandir '/Users/agrahyah/.Trash' Error: build command failed.
I have used this ...
0
votes
0
answers
9
views
"Something Went Wrong Error": Ionic -Capacitor Android app Google Auth Signing Issue
I integrated Google Oauth Sign In in my Angular/Ionic Capacitor App but I have an issue in Android Device:
When the user clicks on the Google login button from the app, a popup appears to select the ...