id stringlengths 7 11 | source stringclasses 1
value | category stringclasses 11
values | title stringlengths 15 214 | text stringlengths 70 30.5k | url stringlengths 57 160 | tags stringlengths 3 113 | created_at int64 1.22B 1.79B |
|---|---|---|---|---|---|---|---|
se_79977826 | stackoverflow | MOBILE_DEVELOPMENT | Clean Architecture: should a Fragment delegate own an ActivityResultLauncher? | Clean Architecture: should a Fragment delegate own an ActivityResultLauncher?
Environment
I'm trying to clean up the location flow in my Android app, which uses Fragments, Koin, Navigation Component, and Google Places Autocomplete.
Code & Description
I have a dialog provider that is reused by multiple fragments:
inter... | https://stackoverflow.com/questions/79977826/clean-architecture-should-a-fragment-delegate-own-an-activityresultlauncher | android, architecture, architectural-patterns, android-components | 1,783,502,060 |
se_46493306 | stackoverflow | MOBILE_DEVELOPMENT | Send String + Int data through Bluetooth Arduino | Send String + Int data through Bluetooth Arduino
I am new to Arduino and I have been working on a problem that has been troubling me for a few days.
I have an Arduino Uno and an HC-05 Bluetooth module.
Basically I want to send String and Int data together through Bluetooth.
CODE
#include <SoftwareSerial.h> ... | https://stackoverflow.com/questions/46493306/send-string-int-data-through-bluetooth-arduino | android, terminal, bluetooth, arduino | 1,506,702,999 |
se_39920188 | stackoverflow | MOBILE_DEVELOPMENT | Unity Android APK crashing on startup | Unity Android APK crashing on startup
OK, so since I last successfully built, all I have done is tried adding Google Play Services to my game, from here.
I imported the unity package, and setup the google play games for android in the relevant setup window.
I tried building at this point, however I was unable to, re... | https://stackoverflow.com/questions/39920188/unity-android-apk-crashing-on-startup | android, unity-game-engine, crash, logcat | 1,475,852,040 |
se_57000915 | stackoverflow | MOBILE_DEVELOPMENT | Error: ADB exited with exit code 1 Performing Streamed Install | Error: ADB exited with exit code 1 Performing Streamed Install
I'm receiving the following error while running flutter run on some projects, however, on other projects it works fine:
(base) Nusraths-MacBook-Pro:flutter_uber_clone rahama$ flutter emulators --launch Pixel_2_XL_API_28
(base) Nusraths-MacBook-Pro:flutter_... | https://stackoverflow.com/questions/57000915/error-adb-exited-with-exit-code-1-performing-streamed-install | android, flutter | 1,562,910,909 |
se_79978120 | stackoverflow | MOBILE_DEVELOPMENT | Permission requests showing up out of order | Permission requests showing up out of order
I need to request POST_NOTIFICATIONS, and READ_PHONE_STATE
This:
@Composable
fun canPushNotifications () {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
val launcher = rememberLauncherForActivityResult(
contract = ActivityResultContract... | https://stackoverflow.com/questions/79978120/permission-requests-showing-up-out-of-order | android | 1,783,573,732 |
se_62951577 | stackoverflow | MOBILE_DEVELOPMENT | What is the Android Jetpack alternative to CursorLoader? | What is the Android Jetpack alternative to CursorLoader?
Loaders have been deprecated for ViewModel and LiveData and Android now has a Paging Library for pagination.
Most examples over web explain fetching images from web endpoints.
I want to create an image gallery in my app and want to use Jetpack components/framewo... | https://stackoverflow.com/questions/62951577/what-is-the-android-jetpack-alternative-to-cursorloader | android, android-jetpack, image-gallery, android-paging-library | 1,594,979,744 |
se_39136362 | stackoverflow | MOBILE_DEVELOPMENT | How to enable all the permissions in android 6.0 when run the app using android studio | How to enable all the permissions in android 6.0 when run the app using android studio
I am using android 6.0 to build my app in android studio. When running the app, it seems all permissions for that app is not enabled automatically. Need to give the permission manually from settings->apps->app_name then enables spec... | https://stackoverflow.com/questions/39136362/how-to-enable-all-the-permissions-in-android-6-0-when-run-the-app-using-android | android, permissions, android-6.0-marshmallow | 1,472,096,681 |
se_53989965 | stackoverflow | MOBILE_DEVELOPMENT | Sending Email Via Kotlin | Sending Email Via Kotlin
I am using the code below to send an email but it is asking for gmail credentials. I am looking for a command, something similar to mailx, to send emails to a particular address without asking for any credentials. Any help is appreciated.
Code
class MainActivity : AppCompatActivity() {
... | https://stackoverflow.com/questions/53989965/sending-email-via-kotlin | android, android-studio, email, kotlin, jakarta-mail | 1,546,277,528 |
se_31241812 | stackoverflow | MOBILE_DEVELOPMENT | Changing Android dialog theme with cordova | Changing Android dialog theme with cordova
I have tried with both cordova 5.0 and 4.3 to change the theme of dialogs such as the <select> tag which triggers a picker. By changing the theme in the manifest all that happens is that only the statusbar is affected.
I am trying to use the default for each device, which for... | https://stackoverflow.com/questions/31241812/changing-android-dialog-theme-with-cordova | android, cordova, phonegap-plugins, android-dialog | 1,436,173,766 |
se_44383677 | stackoverflow | MOBILE_DEVELOPMENT | android - DELETE_FAILED_INTERNAL_ERROR Error while Installing | android - DELETE_FAILED_INTERNAL_ERROR Error while Installing
i know this question has been asked before, I did try disable instant run. That is not working.
Let me explain in detail. I did this project on desktop, it is running fine. Now i need to migrate the code into my laptop, the code able to compile and generat... | https://stackoverflow.com/questions/44383677/android-delete-failed-internal-error-error-while-installing | android | 1,496,733,579 |
se_44542849 | stackoverflow | MOBILE_DEVELOPMENT | java.lang.ClassCastException cannot be cast to java.util.Map$Entry | java.lang.ClassCastException cannot be cast to java.util.Map$Entry
I have this problem I can't solve :
I'm getting some data from fire base database.
Every thing works fins except when I reach the title column
because the title column is a json tree and it have a key values rows so a new logic must be writen here.
... | https://stackoverflow.com/questions/44542849/java-lang-classcastexception-cannot-be-cast-to-java-util-mapentry | android, firebase, hashmap | 1,497,437,885 |
se_54558012 | stackoverflow | MOBILE_DEVELOPMENT | Enable all notifications permissions in Android | Enable all notifications permissions in Android
At least in my two xiaomi's phones when I install my app, it doesn't have all notifications permission (only vibrate, badge and lock screen) like in the pic.
What can I do to in my app to have all the notification permissions enabled by default?
Thanks! | https://stackoverflow.com/questions/54558012/enable-all-notifications-permissions-in-android | android, notifications, android-notifications | 1,549,469,803 |
se_31224091 | stackoverflow | MOBILE_DEVELOPMENT | Android: Change gateway address of hot-spot | Android: Change gateway address of hot-spot
Is there a way to change the gateway address of the AP hot-spot feature of Android from 192.168.43.1 to something else such as 192.168.43.3 without recompiling anything? I have a rooted Android device. | https://stackoverflow.com/questions/31224091/android-change-gateway-address-of-hot-spot | android, wifi | 1,436,035,687 |
se_79977863 | stackoverflow | MOBILE_DEVELOPMENT | Flutter build error: Execution failed for task ':shared_preferences_android:compileDebugKotlin' | Flutter build error: Execution failed for task ':shared_preferences_android:compileDebugKotlin'
I am facing an error while trying to run my Flutter project. Every time I run flutter run, it fails with the following build error:
PS D:\Myprojects\minimalist_workout_logger> flutter run
Launching lib\main.dart on ... | https://stackoverflow.com/questions/79977863/flutter-build-error-execution-failed-for-task-shared-preferences-androidcomp | android, build.gradle, gradlew, dart-pub | 1,783,509,681 |
se_27698840 | stackoverflow | MOBILE_DEVELOPMENT | How to set size of camera preview in android | How to set size of camera preview in android
I am trying to create a custom camera in android. I want to set the exact size of the picture to be taken. I want that exact size to be what the user sees in the preview. How do I set that exact size? (By size I mean width and height: dimension)
I find the following verbia... | https://stackoverflow.com/questions/27698840/how-to-set-size-of-camera-preview-in-android | android, camera, size, android-camera, surfaceview | 1,419,906,323 |
se_79901555 | stackoverflow | MOBILE_DEVELOPMENT | Using sensor PMS5003 | Using sensor PMS5003
I am building an IoT-based air quality monitoring system using ESP32 and originally planned to use the PMS5003 particulate matter sensor to measure PM2.5 and PM10 levels. However, I’m currently unable to find this sensor locally, so I’m looking for reliable alternatives that work well with ESP32 o... | https://stackoverflow.com/questions/79901555/using-sensor-pms5003 | android, air, project, iot, sensors | 1,772,713,233 |
se_9590606 | stackoverflow | MOBILE_DEVELOPMENT | running a game apk from another application | running a game apk from another application
How can I create an app that runs a finished .apk file?
For example, I have a game developed in unity, and I have its finished .apk file. How can I create a new app that shows some info to the user, and the runs the game? There would be no direct interaction between the apps... | https://stackoverflow.com/questions/9590606/running-a-game-apk-from-another-application | android, unity-game-engine, apk | 1,331,062,642 |
se_79974056 | stackoverflow | MOBILE_DEVELOPMENT | ON_BOOT_COMPLETE BroadcastReceiver running after app is force-stopped, then relaunched | ON_BOOT_COMPLETE BroadcastReceiver running after app is force-stopped, then relaunched
My BroadcastReceiver is set up to receive ON_BOOT_COMPLETE
In my app, I have an if statement:
BroadcastReceiver.kt:
class BroadcastReceiverTest : BroadcastReceiver() {
override fun onReceive(context: Context, intent: Intent)
... | https://stackoverflow.com/questions/79974056/on-boot-complete-broadcastreceiver-running-after-app-is-force-stopped-then-rela | android | 1,783,082,794 |
se_66549206 | stackoverflow | MOBILE_DEVELOPMENT | Some input files use or override a deprecated API Flutter | Some input files use or override a deprecated API Flutter
I am using sms_autofill: ^1.3.1 plugin from pub.dev. Everything was fine before adding this plugin.
My pubspec.yaml file:
name: example_app
description: A new Flutter project.
publish_to: "none"
version: 1.0.0+1
environment:
sdk: ">=2.7.0 <3.0.0"
dependen... | https://stackoverflow.com/questions/66549206/some-input-files-use-or-override-a-deprecated-api-flutter | android, flutter, dart | 1,615,301,549 |
se_76094229 | stackoverflow | MOBILE_DEVELOPMENT | Android 13 Photo / Video Picker - file name from the URI is garbage | Android 13 Photo / Video Picker - file name from the URI is garbage
When using the picker introduced with Android 13 via ActivityResultContracts.PickVisualMedia a Uri is returned (representing the selected media item):
content://media/picker/0/com.android.providers.media.photopicker/media/1000000198
If I use the cont... | https://stackoverflow.com/questions/76094229/android-13-photo-video-picker-file-name-from-the-uri-is-garbage | android | 1,682,354,903 |
se_42768266 | stackoverflow | MOBILE_DEVELOPMENT | Constraints Layout of Android Studio doesn't work correctly | Constraints Layout of Android Studio doesn't work correctly
I'm new in Android, i just create my first simple app on android studio, but constraints layout doesn't work correctly on real phone or virtual phone. I intent to put a button on the center of layout, and an edit text at top of layout, but when i run, bot... | https://stackoverflow.com/questions/42768266/constraints-layout-of-android-studio-doesnt-work-correctly | java, android, android-layout, android-studio, mobile | 1,489,421,220 |
se_5135902 | stackoverflow | MOBILE_DEVELOPMENT | Clean way to detect if a Java library is being used on Android | Clean way to detect if a Java library is being used on Android
What is a good way to detect inside a Java library, if it is being used on the Android platform? | https://stackoverflow.com/questions/5135902/clean-way-to-detect-if-a-java-library-is-being-used-on-android | java, android | 1,298,840,295 |
se_63592197 | stackoverflow | MOBILE_DEVELOPMENT | Contains references to both AndroidX and old support library | Contains references to both AndroidX and old support library
After upgrating flutter version to Flutter 1.22.0-2.0.pre.78 • channel master I am getting this warning:-
WARNING:
[Processor] Library
'C:\Users....gradle\caches\modules-2\files-2.1\io.flutter\flutter_embedding_debug\1.0.0-b1d9f863db32cb1d6714cf75db4a992ee3... | https://stackoverflow.com/questions/63592197/contains-references-to-both-androidx-and-old-support-library | android, ios, flutter, androidx, android-jetifier | 1,598,425,333 |
se_3875184 | stackoverflow | MOBILE_DEVELOPMENT | Can't create handler inside thread that has not called Looper.prepare() | Can't create handler inside thread that has not called Looper.prepare()
What does the following exception mean; how can I fix it?
This is the code:
Toast toast = Toast.makeText(mContext, "Something", Toast.LENGTH_SHORT);
This is the exception:
java.lang.RuntimeException: Can't create handler inside thread tha... | https://stackoverflow.com/questions/3875184/cant-create-handler-inside-thread-that-has-not-called-looper-prepare | android, ui-thread, android-toast | 1,286,385,506 |
se_79974875 | stackoverflow | MOBILE_DEVELOPMENT | Can facial recognition embeddings be reused across different devices? | Can facial recognition embeddings be reused across different devices?
I am using BlazeFace for face detection and MobileFaceNet for face recognition. Based on my experiments, accuracy is lower when comparing embeddings across different devices.
I just want to know theoretically whether cross-device face embedding comp... | https://stackoverflow.com/questions/79974875/can-facial-recognition-embeddings-be-reused-across-different-devices | android, ios, tensorflow-lite, facial-identification | 1,783,309,873 |
se_79975247 | stackoverflow | MOBILE_DEVELOPMENT | To block a manual wipe in android | To block a manual wipe in android
If I installed my app on system and Enrolls as Device Owner at setup
Blocks factory reset via DevicePolicyManager restrictions (DISALLOW_FACTORY_RESET)
Disables USB debugging (DISALLOW_DEBUGGING_FEATURES)
Would my app survive manual wipe | https://stackoverflow.com/questions/79975247/to-block-a-manual-wipe-in-android | android, security, privacy | 1,783,378,154 |
se_79528169 | stackoverflow | MOBILE_DEVELOPMENT | unable to import id("kotlin-parcelize") and navigation safe args in new android studio version | unable to import id("kotlin-parcelize") and navigation safe args in new android studio version
I just updated my Android Studio to the latest version and started creating a new project, and I am facing problems with the latest Android dependencies system
I tried with id("kotlin-parcelize"), then I changed it... | https://stackoverflow.com/questions/79528169/unable-to-import-idkotlin-parcelize-and-navigation-safe-args-in-new-android | android, kotlin, android-studio, android-gradle-plugin, parcelable | 1,742,679,890 |
se_79852235 | stackoverflow | MOBILE_DEVELOPMENT | Invalid character escape '\U' when trying to build NDK example in Android Studio | Invalid character escape '\U' when trying to build NDK example in Android Studio
I've made a fresh install of Android Studio Otter 2 Feature Drop on Windows 10 and then installed the NDK and CMake using the SDK manager in Android Studio. However, I'm not able to build any of the NDK samples. When trying to do ... | https://stackoverflow.com/questions/79852235/invalid-character-escape-u-when-trying-to-build-ndk-example-in-android-studio | android, android-studio, cmake, android-ndk, android-gradle-plugin | 1,766,319,215 |
se_36465216 | stackoverflow | MOBILE_DEVELOPMENT | GreenDao "PRIMARY KEY must be unique" error happen despite of added "myEntity.addIdProperty().autoIncrement()" | GreenDao "PRIMARY KEY must be unique" error happen despite of added "myEntity.addIdProperty().autoIncrement()"
I am new with GreenDAO. This is my generator class
public class FlashCardGenerator {
public static void main(String args[]) throws Exception {
Schema schema = new Schema(1, "co... | https://stackoverflow.com/questions/36465216/greendao-primary-key-must-be-unique-error-happen-despite-of-added-myentity-ad | android, unique, primary-key, greendao | 1,459,993,082 |
se_79975039 | stackoverflow | MOBILE_DEVELOPMENT | Local Android Build Failed - Errors coming from react-native-nitro-modules, react-native-skia, react-native-screens and react-native-worklets | Local Android Build Failed - Errors coming from react-native-nitro-modules, react-native-skia, react-native-screens and react-native-worklets
Issue on GitHub discussions: https://github.com/Shopify/react-native-skia/discussions/3922
Hey everyone,
I've been running into a local Android build error when using react-nati... | https://stackoverflow.com/questions/79975039/local-android-build-failed-errors-coming-from-react-native-nitro-modules-reac | android, react-native, react-native-skia | 1,783,342,653 |
se_11810537 | stackoverflow | MOBILE_DEVELOPMENT | Android ADB doesn't see device | Android ADB doesn't see device
I'm trying to run my applications on OMEGA T107 tablet. But adb doesn't see my device. I tried almost everything. | https://stackoverflow.com/questions/11810537/android-adb-doesnt-see-device | android, adb, tablet | 1,344,100,927 |
se_79975004 | stackoverflow | MOBILE_DEVELOPMENT | Cross-compiling Python runtime and libraries like numpy | Cross-compiling Python runtime and libraries like numpy
I was trying to embed python into Android and iOS by .so files. So I had to cross compile the python and other libraries. I tried using CPython for compiling. So far I learned how to compile a demo package for linux from ChatGPT but it couldn't explain how will I... | https://stackoverflow.com/questions/79975004/cross-compiling-python-runtime-and-libraries-like-numpy | android, shared-libraries, cross-compiling, embedding, cpython | 1,783,336,860 |
se_79701500 | stackoverflow | MOBILE_DEVELOPMENT | 16KB memory page size for Flutter Android and ndkVersion requirement? | 16KB memory page size for Flutter Android and ndkVersion requirement?
I've checked the migration guide, and already ensured my Android Gradle Plugin (AGP) version is 8.5.1 or higher; mine is at 8.7.3.
The second thing I've ensured is that the alignment of ELF segments support 16KB memory page size. I used the llvm-obj... | https://stackoverflow.com/questions/79701500/16kb-memory-page-size-for-flutter-android-and-ndkversion-requirement | android, flutter, android-ndk, 16kb-page-size | 1,752,546,820 |
se_34093459 | stackoverflow | MOBILE_DEVELOPMENT | This project does not use the Gradle build system. We recommend that you migrate to using the Gradle build system | This project does not use the Gradle build system. We recommend that you migrate to using the Gradle build system
I am new to the android studio
I have importing PhoneGap project into the android studio.
Here I am getting this error
This project does not use the Gradle build system. We recommend that you migrate to... | https://stackoverflow.com/questions/34093459/this-project-does-not-use-the-gradle-build-system-we-recommend-that-you-migrate | android, cordova, android-studio, phonegap-build | 1,449,248,033 |
se_40701527 | stackoverflow | MOBILE_DEVELOPMENT | Cannot resolve method TimeUnit line | Cannot resolve method TimeUnit line
Below is my code for an Activity.
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
b1 = (Button) findViewById(R.id.button);
b2 = (Button) findViewById(R.i... | https://stackoverflow.com/questions/40701527/cannot-resolve-method-timeunit-line | java, android, android-studio | 1,479,625,313 |
se_79974749 | stackoverflow | MOBILE_DEVELOPMENT | iOS Execution Target is not Visible in Android Studio Quail 1 | iOS Execution Target is not Visible in Android Studio Quail 1
I updated Android studio to Quail 1 | 2026.1.1 Patch 2 for KMP app.
Now I cant see execution target for iOS app when I selected "Edit configuration".
For fixing, I tried to reset Xcode select path also tried to run the app but Android studio does not show E... | https://stackoverflow.com/questions/79974749/ios-execution-target-is-not-visible-in-android-studio-quail-1 | android, ios, android-studio, ios-simulator, kmp | 1,783,272,607 |
se_19299316 | stackoverflow | MOBILE_DEVELOPMENT | Require Gradle project from another directory | Require Gradle project from another directory
I have a directory/project setup like this:
C:\
_dev\
Projects\
Logger
MyProject
Logger is an Android library project using Gradle. MyProject is a standard Android project project that needs to make use of the Logger library.
I am usin... | https://stackoverflow.com/questions/19299316/require-gradle-project-from-another-directory | android, gradle, build.gradle, android-library, multi-project | 1,381,417,109 |
se_50636576 | stackoverflow | MOBILE_DEVELOPMENT | Getting java.lang.IllegalStateException: Binder has been finalized! from a home screen widget | Getting java.lang.IllegalStateException: Binder has been finalized! from a home screen widget
I have an Android app that has a home screen widget. When I add one with a particular configuration I get an error "AppName has stopped". Logcat reveals the following crash log:
E/System: java.lang.IllegalStateException: Bin... | https://stackoverflow.com/questions/50636576/getting-java-lang-illegalstateexception-binder-has-been-finalized-from-a-home | android, android-widget, remoteview | 1,527,830,670 |
se_35670616 | stackoverflow | MOBILE_DEVELOPMENT | Gridlayout not showing, Android studio | Gridlayout not showing, Android studio
I'm trying to create an app in android studio, and for some reasons one gridLayout decides not to show up, despite the fact that it takes the necessary space on the screen. Image from android studio, actual screenshot from my phone
XML file of the layout:
<?xml version="1.0"... | https://stackoverflow.com/questions/35670616/gridlayout-not-showing-android-studio | android, android-gridlayout | 1,456,581,157 |
se_62027898 | stackoverflow | MOBILE_DEVELOPMENT | Honouring in-app purchases offline + removing cancelled purchases | Honouring in-app purchases offline + removing cancelled purchases
The approach involved with the two items in the title of this post appear to conflict with one another and are very hard to test, and it's these edge cases that result in unhappy customers when their purchased product stops working.
A lot of the discus... | https://stackoverflow.com/questions/62027898/honouring-in-app-purchases-offline-removing-cancelled-purchases | android, google-play, in-app-purchase, google-play-services, mobile-application | 1,590,513,744 |
se_19335865 | stackoverflow | MOBILE_DEVELOPMENT | Launch Android settings app through url intent filter | Launch Android settings app through url intent filter
Is there a way to launch the Android settings panel from a web app using an url like:
settings://
I've been looking for a comprehensive list of Android intent filter urls for quite sometime but can't find it.
Thanks | https://stackoverflow.com/questions/19335865/launch-android-settings-app-through-url-intent-filter | android, android-intent, intentfilter | 1,381,591,483 |
se_60630065 | stackoverflow | MOBILE_DEVELOPMENT | How to reduce Android APK size in react-native? | How to reduce Android APK size in react-native?
I am working on react native project , but whenever i am building an Apk file , it give me Apk of 47MB.
I tried every documentation which i found useful on google but nothing works for me, Is there any way to reduce my App size below 10MB as the app only contain three or... | https://stackoverflow.com/questions/60630065/how-to-reduce-android-apk-size-in-react-native | android, react-native, apk, expo | 1,583,906,387 |
se_79974065 | stackoverflow | MOBILE_DEVELOPMENT | R8 removes GeneralFunctions initialization in release build uploaded to Google Play Console (works in Android Studio & Bundle tool) | R8 removes GeneralFunctions initialization in release build uploaded to Google Play Console (works in Android Studio & Bundle tool)
I'm maintaining a legacy Android taxi application (Java), that was originally built from an old third-party template. The app crashes immediately on launch, only when the signed relea... | https://stackoverflow.com/questions/79974065/r8-removes-generalfunctions-initialization-in-release-build-uploaded-to-google-p | java, android, kotlin | 1,783,083,777 |
se_30541086 | stackoverflow | MOBILE_DEVELOPMENT | Execution failed for task ':app:mergeDebugResources'. Android studio | Execution failed for task ':app:mergeDebugResources'. Android studio
..
I am facing an error as Error:Execution failed for task ':app:mergeDebugResources'.
C:\Users\ankur\AndroidStudioProjects\source1\app\src\main\res\values\public.xml: Error: Found item ###/icon more than one time
I tried to remove the... | https://stackoverflow.com/questions/30541086/execution-failed-for-task-appmergedebugresources-android-studio | android | 1,432,947,024 |
se_38007879 | stackoverflow | MOBILE_DEVELOPMENT | gradle ndk generateJsonModelDebug failed | gradle ndk generateJsonModelDebug failed
I have run into trouble while using this support by google described here: Building C++ in Android Studio with CMake or ndk-build
I have a ndk project structured in android.mk, and it can build successfully with the 'ndk-build' command.
While I add this:
externalNativeBuild... | https://stackoverflow.com/questions/38007879/gradle-ndk-generatejsonmodeldebug-failed | android, android-ndk, android-gradle-plugin | 1,466,753,259 |
se_25752224 | stackoverflow | MOBILE_DEVELOPMENT | Geofences not triggering (pendingintents and broadcastreceiver) | Geofences not triggering (pendingintents and broadcastreceiver)
I've used the Android tutorial with Geofences which, obviously, doesn't work when app is closed. So, after searching around, I've noticed user b-ryce on SO used BroadcastReceiver so geofences get triggered even if app is not active (link for his SO questi... | https://stackoverflow.com/questions/25752224/geofences-not-triggering-pendingintents-and-broadcastreceiver | android, geolocation, android-pendingintent, android-geofence | 1,410,291,132 |
se_16810593 | stackoverflow | MOBILE_DEVELOPMENT | How To Connect to adb via WiFi *With a convenient BAT file* | How To Connect to adb via WiFi *With a convenient BAT file*
I was trying to find a way to connect Via WiFi to my android.. Found some on StackOverflow but they were all requireing going to cmd every time I wanted to connect my android.. So I came up with a bat file
See below | https://stackoverflow.com/questions/16810593/how-to-connect-to-adb-via-wifi-with-a-convenient-bat-file | android, debugging, batch-file, wifi, adb | 1,369,820,724 |
se_30253695 | stackoverflow | MOBILE_DEVELOPMENT | How can I set a dynamic string as an Id of an Edittext Field in android | How can I set a dynamic string as an Id of an Edittext Field in android
I am having Multiple Strings, that are coming dynamically, I want to set these strings as Id of the EditText Fields in my Form. How can I do that, can you please help me?
For Ex: If I am having id "title", I want to set this title as id of the Ed... | https://stackoverflow.com/questions/30253695/how-can-i-set-a-dynamic-string-as-an-id-of-an-edittext-field-in-android | android, android-edittext | 1,431,674,149 |
se_29070264 | stackoverflow | MOBILE_DEVELOPMENT | In app notification in android | In app notification in android
Is there is something like In App Notification?(Other than push notification) if yes please give me some link for information on it. I had google but does not found anything important. | https://stackoverflow.com/questions/29070264/in-app-notification-in-android | android, notifications, android-notifications | 1,426,484,554 |
se_23629871 | stackoverflow | MOBILE_DEVELOPMENT | Android: How to convert drawable to int? | Android: How to convert drawable to int?
I get the icon of some installed applications using this code:
Drawable icon = getPackageManager().getApplicationIcon("com.example.example");
imageView.setImageDrawable(icon);
then I would like to add this image to a gridview formed by some image in res. i don't want to chan... | https://stackoverflow.com/questions/23629871/android-how-to-convert-drawable-to-int | android, android-drawable | 1,399,980,178 |
se_79957113 | stackoverflow | MOBILE_DEVELOPMENT | Unity Build Issue: TMP Text Missing and Scene Loading Works in Editor but Fails in Android Build | Unity Build Issue: TMP Text Missing and Scene Loading Works in Editor but Fails in Android Build
Environment
Unity 6000.4.9f1
Problem
My game works perfectly inside the Unity Editor, but after building for Android:
Issue 1: Scene Loading Fails
The scene flow is:
Loading Scene (startup)
↓
Main Menu
↓
Loading... | https://stackoverflow.com/questions/79957113/unity-build-issue-tmp-text-missing-and-scene-loading-works-in-editor-but-fails | c#, android, unity-game-engine, game-development, textmeshpro | 1,781,267,735 |
se_77673987 | stackoverflow | MOBILE_DEVELOPMENT | "Unable to match the desired swap behavior" in android studio | "Unable to match the desired swap behavior" in android studio
So I had created a small project for learning Android Studio in a better way. My Login screen and my "Select your year" (It is a college application) screen had the transitions: Slide in Right -> Slide out left. The screen would slide in from the ... | https://stackoverflow.com/questions/77673987/unable-to-match-the-desired-swap-behavior-in-android-studio | android | 1,702,807,505 |
se_16160146 | stackoverflow | MOBILE_DEVELOPMENT | Difference between main.xml and activity_main.xml? | Difference between main.xml and activity_main.xml?
I am a beginner in Android. In various tutorials, I came across the mention of main.xml residing at res.layout folder. I use the latest version of eclipse. But I couldn’t find main.xml; instead I found activity_main.xml.
Are these two (main.xml and activity_main.xml)... | https://stackoverflow.com/questions/16160146/difference-between-main-xml-and-activity-main-xml | android | 1,366,685,913 |
se_6740256 | stackoverflow | MOBILE_DEVELOPMENT | Add a seekbar in preferences | Add a seekbar in preferences
I've made a preference-list. I get it from the code
addPreferencesFromResource(R.xml.preferencelayout);
This gets me to my preferencelayout.xml file as contains the following:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/... | https://stackoverflow.com/questions/6740256/add-a-seekbar-in-preferences | android | 1,311,028,685 |
se_27636525 | stackoverflow | MOBILE_DEVELOPMENT | android Send HTTP GET request with header | android Send HTTP GET request with header
From my Android app I want to request a URL with GET parameters and read the response. In the request I must add a two header parameters (key and dt).i wrote some code but i have 404 error.this is a my source
public class MainActivity extends Activity {
@Override
protected ... | https://stackoverflow.com/questions/27636525/android-send-http-get-request-with-header | android, http-headers, http-get | 1,419,421,978 |
se_79971978 | stackoverflow | MOBILE_DEVELOPMENT | Java generics parameters multiple levels | Java generics parameters multiple levels
I'm trying to extend MutableLiveData in multiple classes, each one extends the previous, like (those following rows could be copy/pasted directly in java file to test/lint them):
class ALiveData<T> extends MutableLiveData<T> { }
interface OneInterface {
void methodOne();
}
... | https://stackoverflow.com/questions/79971978/java-generics-parameters-multiple-levels | java, android, generics, polymorphism | 1,782,884,473 |
se_45811912 | stackoverflow | MOBILE_DEVELOPMENT | How to use Lottie Animation inside a button instead of a circular progress bar | How to use Lottie Animation inside a button instead of a circular progress bar
I want to put a tiny animation inside a button, this animation is in JSON format and has made with After Effect, and normally this type of animations can be compiled and used with the Lottie plugin, but now I want to put this animation insi... | https://stackoverflow.com/questions/45811912/how-to-use-lottie-animation-inside-a-button-instead-of-a-circular-progress-bar | android, view, lottie | 1,503,388,426 |
se_79972796 | stackoverflow | MOBILE_DEVELOPMENT | AndroidX Glance ImageProvider(Bitmap) does not update after system theme changes while ColorProvider content does | AndroidX Glance ImageProvider(Bitmap) does not update after system theme changes while ColorProvider content does
I'm investigating what appears to be an issue with AndroidX Glance widgets and would like to know whether this is expected behavior, a limitation of ImageProvider(Bitmap), or a bug.
Environment
AndroidX G... | https://stackoverflow.com/questions/79972796/androidx-glance-imageproviderbitmap-does-not-update-after-system-theme-changes | android, bitmap, androidx, remoteview, glance-appwidget | 1,783,028,516 |
se_34117263 | stackoverflow | MOBILE_DEVELOPMENT | Android Google SignIn not working in debug mode: GoogleSignInResult is false | Android Google SignIn not working in debug mode: GoogleSignInResult is false
I have been following this tutorial to get Google SignOn going:
https://developers.google.com/identity/sign-in/android/start-integrating
When I run my application locally with a virtual device it works fine but when I deploy it to my device ... | https://stackoverflow.com/questions/34117263/android-google-signin-not-working-in-debug-mode-googlesigninresult-is-false | android, google-signin | 1,449,403,926 |
se_79914968 | stackoverflow | MOBILE_DEVELOPMENT | How to use TFLite model signatures with InterpreterApi in LiteRT from Google Play Services ()? | How to use TFLite model signatures with InterpreterApi in LiteRT from Google Play Services ()?
I’m migrating my Android project from the bundled TensorFlow Lite to TensorFlow Lite via Google Play Services (LiteRT).
I use Movinet, which uses signatures and I’m feeding it individual video frames one by one for streaming... | https://stackoverflow.com/questions/79914968/how-to-use-tflite-model-signatures-with-interpreterapi-in-litert-from-google-pla | android, google-play-services, tensorflow-lite, tflite | 1,774,522,860 |
se_39871405 | stackoverflow | MOBILE_DEVELOPMENT | Can I add GIF format image as a splash screen | Can I add GIF format image as a splash screen
How can I add a GIF format image as a splash screen. I tried, but when I add it, it acts as a normal image. I don't know whether we can use GIF image as splash screen. Is there an option to use GIF format images? | https://stackoverflow.com/questions/39871405/can-i-add-gif-format-image-as-a-splash-screen | android, imageview, splash-screen, gif | 1,475,662,930 |
se_79972848 | stackoverflow | MOBILE_DEVELOPMENT | Android Studio UI testing with Journey has weird behavior on TextField | Android Studio UI testing with Journey has weird behavior on TextField
So I was trying to use Journey to do a UI test and found that, after it enters the text into the TextField, it will go to the next line (and exit the app) for no reason. It's 100% reproducible.
Test file:
<journey name="My first Journey">
<desc... | https://stackoverflow.com/questions/79972848/android-studio-ui-testing-with-journey-has-weird-behavior-on-textfield | android, android-studio, gui-testing, journey | 1,783,047,042 |
se_79973864 | stackoverflow | MOBILE_DEVELOPMENT | Android Geofence BroadcastReceiver not invoked after app is swiped away (killed state) | Android Geofence BroadcastReceiver not invoked after app is swiped away (killed state)
I have implemented Android Geofencing in a Flutter app using native Kotlin code.
The geofence works correctly when:
App is in foreground working
App is in background working
However, when I swipe the app away from Recents (kille... | https://stackoverflow.com/questions/79973864/android-geofence-broadcastreceiver-not-invoked-after-app-is-swiped-away-killed | android, logcat, android-location, geofencing, android-geofence | 1,783,055,712 |
se_20606382 | stackoverflow | MOBILE_DEVELOPMENT | Cache the video in Android application | Cache the video in Android application
I am developing an android application in which users can see the list of the videos in our database. All the videos are saved in Ooyala video platform.
Now when the user clicks on "download video" button, that video needs to be saved in the application cache. The user can view ... | https://stackoverflow.com/questions/20606382/cache-the-video-in-android-application | android, caching, video, video-streaming, ooyala | 1,387,182,637 |
se_46038621 | stackoverflow | MOBILE_DEVELOPMENT | How to install Android SDK to all users silently on windows? | How to install Android SDK to all users silently on windows?
android-studio-bundle-162.4069837-windows.exe /S
is installing Android studio to c:\program files\android\android studio. and SDK to %localappdata%\android\sdk.
In some forum it is mentioned to use /AllUsers to install SDK to all users.
I tried
android-... | https://stackoverflow.com/questions/46038621/how-to-install-android-sdk-to-all-users-silently-on-windows | android, android-studio, android-sdk-2.3 | 1,504,533,428 |
se_73709792 | stackoverflow | MOBILE_DEVELOPMENT | Android Kiosk Mode - preventing user input until app is launched | Android Kiosk Mode - preventing user input until app is launched
QUESTION
Is there any way to instruct (programmatically or otherwise) an Android tablet not to allow any user interactions until my app is automatically launched?
BACKGROUND
I have my Android device running in Kiosk mode.
My app is the "device owner".
Th... | https://stackoverflow.com/questions/73709792/android-kiosk-mode-preventing-user-input-until-app-is-launched | android, kiosk-mode | 1,663,108,942 |
se_79839374 | stackoverflow | MOBILE_DEVELOPMENT | Android Studio fails to start with error "Archived non-system classes are disabled" | Android Studio fails to start with error "Archived non-system classes are disabled"
I've downloaded the latest version of Android Studio (android-studio-2025.2.2.7-linux), I've also installed the latest jdk (jdk-25). When I run ./studio.sh I get the following error:
[0.008s][warning][cds] Archived non-system... | https://stackoverflow.com/questions/79839374/android-studio-fails-to-start-with-error-archived-non-system-classes-are-disabl | android, android-studio, jvm | 1,764,976,284 |
se_78126830 | stackoverflow | MOBILE_DEVELOPMENT | Jetpack Compose Navigation: Views Disappearing when Switching Destinations | Jetpack Compose Navigation: Views Disappearing when Switching Destinations
StackOverflow community!
I'm facing an issue with Jetpack Compose navigation using NavHost and rememberNavController. My app works as expected most of the time, but occasionally, when I tap buttons to switch between screens, the content disappe... | https://stackoverflow.com/questions/78126830/jetpack-compose-navigation-views-disappearing-when-switching-destinations | android, kotlin, navigation, android-jetpack-compose | 1,709,891,647 |
se_15898919 | stackoverflow | MOBILE_DEVELOPMENT | Is Android Webview is same as the Chrome browser? | Is Android Webview is same as the Chrome browser?
I am having the webview, which will be created using the following code.
WebView mWebView=new WebView(this);
mWebView.setWebViewClient(new WebViewClient());
mWebView.setWebChromeClient(new WebChromeClient());
mWebView.addJavascriptInterface(new AndroidJ... | https://stackoverflow.com/questions/15898919/is-android-webview-is-same-as-the-chrome-browser | android, android-webview | 1,365,501,568 |
se_68587176 | stackoverflow | MOBILE_DEVELOPMENT | Not adhering to Google Play Developer Program policies | Not adhering to Google Play Developer Program policies
All I changed on my android app is the app icon and I my update got rejected and the reason is "Not adhering to Google Play Developer Program policies"
Please anyone with necessary information should pls help out. | https://stackoverflow.com/questions/68587176/not-adhering-to-google-play-developer-program-policies | android, react-native | 1,627,630,836 |
se_59663512 | stackoverflow | MOBILE_DEVELOPMENT | Entire react native app showing on lockscreen | Entire react native app showing on lockscreen
I have an app with the following code on the MainActivity.java:
package com.MyApp;
import com.facebook.react.ReactActivity;
import com.facebook.react.ReactActivityDelegate;
import com.facebook.react.ReactRootView;
import com.swmansion.gesturehandler.react.RNGestureHandler... | https://stackoverflow.com/questions/59663512/entire-react-native-app-showing-on-lockscreen | javascript, java, android, react-native | 1,578,571,193 |
se_53361974 | stackoverflow | MOBILE_DEVELOPMENT | Make overflow scroll bar visible on iOS and Android mobile | Make overflow scroll bar visible on iOS and Android mobile
How can I make the overflow scrollbar visible on mobile devices? The scrollbar is visible on desktops but not on mobile devices. I need it to show on iPhones and Samsungs. So also Safari browsers. Is that even posibble?
This is what I have for now.
::-webk... | https://stackoverflow.com/questions/53361974/make-overflow-scroll-bar-visible-on-ios-and-android-mobile | android, jquery, html, ios, css | 1,542,551,466 |
se_30292189 | stackoverflow | MOBILE_DEVELOPMENT | Could not find main class error in Android Studio | Could not find main class error in Android Studio
Am getting this error in Android Studio:
Error:could not find main class com/intellij/idea/main
I tried all the tips like:
I set the variable JAVA_HOME as well as JDK_HOME
Generally for 64bit installation default path will be c:\Program Files (x86)\Java\jdk1.7.0_7... | https://stackoverflow.com/questions/30292189/could-not-find-main-class-error-in-android-studio | java, android, intellij-idea, android-studio | 1,431,896,972 |
se_64117504 | stackoverflow | MOBILE_DEVELOPMENT | How can I import other dart file to stateful widget in flutter? | How can I import other dart file to stateful widget in flutter?
I'm new to flutter and trying to learn it.
I have main.dart in lib, HomePage.dart in lib>ui>screens, and Widgets.dart in lib>ui>widgets.
I imported the HomePage.dart to main.dart, and what I want is importing Widgets.dart to HomePage.dart.
HomePage.dart c... | https://stackoverflow.com/questions/64117504/how-can-i-import-other-dart-file-to-stateful-widget-in-flutter | android, ios, flutter, dart | 1,601,374,476 |
se_79968649 | stackoverflow | MOBILE_DEVELOPMENT | Software engineering | Software engineering
Basically its been 4 years i searching what does a software engineers do, and what to learn to become one. and whats the difference between software developer and software engineer ,also in my 2nd year should i do internships as software developer or as a software engineer. iam a first year studen... | https://stackoverflow.com/questions/79968649/software-engineering | android, software-distribution | 1,782,569,941 |
se_79972091 | stackoverflow | MOBILE_DEVELOPMENT | How can i build an audio video overlay module for my app? | How can i build an audio video overlay module for my app?
i am building an app using expo where i want the user to be able to create videos by recording the audio and video separately after which the app automatically overlays the audio over the video that results in a video with a voiceover. i dont want the audio and... | https://stackoverflow.com/questions/79972091/how-can-i-build-an-audio-video-overlay-module-for-my-app | android, audiovideoplayback | 1,782,902,344 |
se_57848604 | stackoverflow | MOBILE_DEVELOPMENT | I have built a react-native app. I am restricting this app in Dubai region | I have built a react-native app. I am restricting this app in Dubai region
I am building a react native app. The app is restricted usage in Dubai.
The app can be restricted usage in certain countries by changing the settings in app store and google play console for ios and android respectively. In case, the user dow... | https://stackoverflow.com/questions/57848604/i-have-built-a-react-native-app-i-am-restricting-this-app-in-dubai-region | android, ios, react-native | 1,568,009,144 |
se_37342869 | stackoverflow | MOBILE_DEVELOPMENT | NullPointerException: Attempt to invoke virtual method 'android.app.FragmentTransaction android.app.FragmentManager.beginTransaction()' | NullPointerException: Attempt to invoke virtual method 'android.app.FragmentTransaction android.app.FragmentManager.beginTransaction()'
When I try to dissmiss a FragmentDialog, my app crashes sometimes.
Here's the log:
Process: com.xxx, PID: 9981
java.lang.RuntimeException: Error receiving broadcast Intent { ... | https://stackoverflow.com/questions/37342869/nullpointerexception-attempt-to-invoke-virtual-method-android-app-fragmenttran | android, android-dialogfragment | 1,463,736,166 |
se_79163297 | stackoverflow | MOBILE_DEVELOPMENT | Android / Google Cast error codes - not defined | Android / Google Cast error codes - not defined
I'm adding the Google Cast SDK to my application. I am testing on nest home mini's, a pixel tab, and chromecasts. Occasionally, I get errors that are not defined in either com.google.android.gms.common.api's CommonStatusCodes or com.google.android.gms.cast's CastStatusCo... | https://stackoverflow.com/questions/79163297/android-google-cast-error-codes-not-defined | android, kotlin, google-cast, google-cast-sdk | 1,730,907,819 |
se_42467072 | stackoverflow | MOBILE_DEVELOPMENT | Android Support Repository, SDK Patch Applier v4 and 4 more SDK components were not installed | Android Support Repository, SDK Patch Applier v4 and 4 more SDK components were not installed
Android Support Repository, SDK Patch Applier v4 and 4 more SDK components were not installed... | https://stackoverflow.com/questions/42467072/android-support-repository-sdk-patch-applier-v4-and-4-more-sdk-components-were | java, android | 1,488,103,159 |
se_10811400 | stackoverflow | MOBILE_DEVELOPMENT | Android Location Listener (or Android Events in general) | Android Location Listener (or Android Events in general)
I have a general question about LocationListener in Android. Perhaps this is about Android or Java events in general, but not sure.
There seems to be a million ways to set up a LocationListener, and they all seem pretty ugly (mainly because of lack of reusabil... | https://stackoverflow.com/questions/10811400/android-location-listener-or-android-events-in-general | android | 1,338,361,117 |
se_11450048 | stackoverflow | MOBILE_DEVELOPMENT | what is root layout in XML? | what is root layout in XML?
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/rootLayout"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<ScrollView
android:id="@+id/scrollView1"
android:layout_width="wrap_co... | https://stackoverflow.com/questions/11450048/what-is-root-layout-in-xml | android | 1,342,089,504 |
se_72168494 | stackoverflow | MOBILE_DEVELOPMENT | Task :react-native-gradle-plugin:compileKotlin FAILED | Task :react-native-gradle-plugin:compileKotlin FAILED
Task :react-native-gradle-plugin:compileKotlin FAILED
'compileJava' task (current target is 1.8) and 'compileKotlin' task (current target is 11) jvm target compatibility should be set to the same Java version.
1 actionable task: 1 executed
FAILURE: Build failed wi... | https://stackoverflow.com/questions/72168494/task-react-native-gradle-plugincompilekotlin-failed | java, android, react-native, kotlin, gradle | 1,652,082,025 |
se_62297516 | stackoverflow | MOBILE_DEVELOPMENT | RSASSA-PSS Signature Algorithm In Android | RSASSA-PSS Signature Algorithm In Android
In Android's official docs, it's stated that RSASSA-PSS is amongst supported Signature algorithms.
But when I try
Signature sig = Signature.getInstance("RSASSA-PSS");
I receive java.security.NoSuchAlgorithmException: RSASSA-PSS Signature not available. Tried both in a re... | https://stackoverflow.com/questions/62297516/rsassa-pss-signature-algorithm-in-android | android, security, rsa | 1,591,771,999 |
se_46600068 | stackoverflow | MOBILE_DEVELOPMENT | ExceptionInInitializerError when using PowerMock | ExceptionInInitializerError when using PowerMock
I have a Test class like below. Need to mock a static method inside HmUtils.class,
@RunWith(PowerMockRunner.class)
@PrepareForTest({Environment.class, HmUtils.class})
public class MyUtilTest {
@Mock
Context mockedContext;
@Before
public void initialSetup()
{
Syste... | https://stackoverflow.com/questions/46600068/exceptionininitializererror-when-using-powermock | java, android, junit, mockito, powermockito | 1,507,273,355 |
se_79971785 | stackoverflow | MOBILE_DEVELOPMENT | How i can start with Add Firebase Admin SDK, dependencies, folder structure, service account setup | How i can start with Add Firebase Admin SDK, dependencies, folder structure, service account setup
- Spring Boot
- Android (Jetpack Compose)
- Kotlin
I want my Spring Boot backend to send FCM notifications when an order status changes.
Before writing code, I'd like to understand the recommended project structure.
For ... | https://stackoverflow.com/questions/79971785/how-i-can-start-with-add-firebase-admin-sdk-dependencies-folder-structure-ser | android, spring-boot, kotlin, android-jetpack-compose, firebase-cloud-messaging | 1,782,831,369 |
se_79971726 | stackoverflow | MOBILE_DEVELOPMENT | Notification Service in android when app is in background | Notification Service in android when app is in background
I am building an e commerce app using Android Kotlin Jetpack Compose with Admin Pannel. If admin update the status of order how my android app will know the status of order to push notification.My Notification are working when app is in awake mode and place ord... | https://stackoverflow.com/questions/79971726/notification-service-in-android-when-app-is-in-background | android, kotlin, firebase-cloud-messaging | 1,782,823,155 |
se_78582738 | stackoverflow | MOBILE_DEVELOPMENT | Jetpack Compsoe Camerax imageCapture and crop 3 rectangles | Jetpack Compsoe Camerax imageCapture and crop 3 rectangles
I am trying to implement an app to take pictures, I don't want the full pic, I need to crop three pictures of the main pic (represented with rectangles), and save them for later processing. I am using an A4 paper aspect ratio (1:1.414)
@Composable
private fun... | https://stackoverflow.com/questions/78582738/jetpack-compsoe-camerax-imagecapture-and-crop-3-rectangles | android, kotlin, android-jetpack-compose, android-camerax | 1,717,609,799 |
se_10282484 | stackoverflow | MOBILE_DEVELOPMENT | android adb turn on wifi via adb | android adb turn on wifi via adb
My phone has been locked (too many pattern attempts). To unlock I need to enter username and password on my gmail account. This is the only way I can unlock it. I cant launch any activities, even to turn on wifi connection. Without internet connection I can't sign in to restore my phon... | https://stackoverflow.com/questions/10282484/android-adb-turn-on-wifi-via-adb | android, android-wifi | 1,335,191,157 |
se_55669921 | stackoverflow | MOBILE_DEVELOPMENT | How to convert an app/apk as system/user app, including split-apk apps | How to convert an app/apk as system/user app, including split-apk apps
Background
Without root, I know that it's possible to install a single, normal APK using Intent (here).
Given root, I know that it's possible to install it using this .
This will install the app like a normal installation process, as a user-app.... | https://stackoverflow.com/questions/55669921/how-to-convert-an-app-apk-as-system-user-app-including-split-apk-apps | android, apk, root, android-install-apk | 1,555,189,843 |
se_77645135 | stackoverflow | MOBILE_DEVELOPMENT | Invalid register Must be between v0 and v15, inclusive | Invalid register Must be between v0 and v15, inclusive
I had below smali code that worked well with no error.I have add an statement after the move-result to log v18 at logcat.
.method public final onValidate(Landroidx/sqlite/db/SupportSQLiteDatabase;)Landroidx/room/RoomOpenHelper$ValidationResult;
.locals 30
... | https://stackoverflow.com/questions/77645135/invalid-register-must-be-between-v0-and-v15-inclusive | android, bytecode, smali, apktool | 1,702,375,033 |
se_20547902 | stackoverflow | MOBILE_DEVELOPMENT | Can you add Chromecast functionality without using the ActionBar | Can you add Chromecast functionality without using the ActionBar
I've been working from the example applications from Google to prepare our Chromecast capabilities,
What I've found however is that you are required to have a button in the ActionBar (as implemented by Google) in order to get an ActionProvider in order ... | https://stackoverflow.com/questions/20547902/can-you-add-chromecast-functionality-without-using-the-actionbar | android, chromecast | 1,386,863,206 |
se_30273458 | stackoverflow | MOBILE_DEVELOPMENT | highlighting specific date in calendar view without onClickListener | highlighting specific date in calendar view without onClickListener
Is there a good way to highlight a specific/different dates as I want on calendar view in android? Thanks! | https://stackoverflow.com/questions/30273458/highlighting-specific-date-in-calendar-view-without-onclicklistener | android, highlighting, android-calendar | 1,431,764,806 |
se_28472985 | stackoverflow | MOBILE_DEVELOPMENT | Android - Set TalkBack accessibility focus to a specific view | Android - Set TalkBack accessibility focus to a specific view
When TalkBack is enabled, is there any way to set the accessibility focus manual to a specific view? For instance, when my Activity is started I want TalkBack to automatically focus on a certain Button (yellow frame around the view) and read its content des... | https://stackoverflow.com/questions/28472985/android-set-talkback-accessibility-focus-to-a-specific-view | android, accessibility, talkback | 1,423,730,922 |
se_79968610 | stackoverflow | MOBILE_DEVELOPMENT | How can an Android phone app retrieve the list of installed apps from a connected Android TV over Wi-Fi? | How can an Android phone app retrieve the list of installed apps from a connected Android TV over Wi-Fi?
I'm developing an Android TV remote control application that connects to an Android TV over the local Wi-Fi network.
One feature I want to implement is an Apps screen where users can see all apps installed on their... | https://stackoverflow.com/questions/79968610/how-can-an-android-phone-app-retrieve-the-list-of-installed-apps-from-a-connecte | android, kotlin, android-tv, android-package-managers, google-tv | 1,782,560,231 |
se_73309395 | stackoverflow | MOBILE_DEVELOPMENT | Strange scroll in the BasicTextField with IntrinsicSize.Min | Strange scroll in the BasicTextField with IntrinsicSize.Min
I need to implement UI control(decrease button, resizeable text input, increase button)
I was trying both ways - compose and XML version.
Compose version.
I have a strange scroll when I click on BasicTextField and pull horizontally. It just hides TextField v... | https://stackoverflow.com/questions/73309395/strange-scroll-in-the-basictextfield-with-intrinsicsize-min | android, android-jetpack-compose | 1,660,147,284 |
se_77815830 | stackoverflow | MOBILE_DEVELOPMENT | What does "Retain information about dependencies in the apk/bundle" do in Android Studio | What does "Retain information about dependencies in the apk/bundle" do in Android Studio
In the "Project Structure" window, there are two dropdown boolean options:
Retain information about dependencies in the apk
Retain information about dependencies in the bundle
What do these options do? What is the reco... | https://stackoverflow.com/questions/77815830/what-does-retain-information-about-dependencies-in-the-apk-bundle-do-in-androi | android, android-studio, apk | 1,705,250,017 |
se_79958726 | stackoverflow | MOBILE_DEVELOPMENT | What is the best architectural approach for handling BuildContext in Flutter without passing it everywhere or using nullable fallbacks? | What is the best architectural approach for handling BuildContext in Flutter without passing it everywhere or using nullable fallbacks?
In Flutter, I often face a design dilemma when building reusable widgets and service/helper classes that need to show UI elements like dialogs, bottom sheets, or navigation actions.
T... | https://stackoverflow.com/questions/79958726/what-is-the-best-architectural-approach-for-handling-buildcontext-in-flutter-wit | android, flutter, performance, dart, logic | 1,781,415,675 |
se_79962921 | stackoverflow | MOBILE_DEVELOPMENT | How do I make an infinite animation with ease in? | How do I make an infinite animation with ease in?
I'm using jetpack compose in kotlin for my Android project. I am trying to animate planets orbiting around a center, which works perfectly. The animation starts at a button push and will continue for as long as the user wants. But I want to start the animation with ... | https://stackoverflow.com/questions/79962921/how-do-i-make-an-infinite-animation-with-ease-in | android, animation, android-jetpack-compose, android-animation | 1,781,831,707 |
se_58881692 | stackoverflow | MOBILE_DEVELOPMENT | Cannot invoke method allprojects() on null object. A problem occurred evaluating root project 'android' | Cannot invoke method allprojects() on null object. A problem occurred evaluating root project 'android'
I am getting the following error while running my flutter app
What went wrong:
A problem occurred evaluating root project 'android'.
Cannot invoke method allprojects() on null object
Try:
Run with... | https://stackoverflow.com/questions/58881692/cannot-invoke-method-allprojects-on-null-object-a-problem-occurred-evaluating | android, gradle, flutter, dart, build | 1,573,837,758 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.