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_28200741
stackoverflow
MOBILE_DEVELOPMENT
Android Studio Error Code: 1 Executing tasks: [:app:assembleDebug]
Android Studio Error Code: 1 Executing tasks: [:app:assembleDebug] When I run my app I get this: Executing tasks: [:app:assembleDebug] Configuration on demand is an incubating feature. :app:preBuild :app:compileDebugNdk UP-TO-DATE :app:preDebugBuild :app:checkDebugManifest :app:preReleaseBuild :app:prepareComAndroi...
https://stackoverflow.com/questions/28200741/android-studio-error-code-1-executing-tasks-appassembledebug
android
1,422,473,234
se_10969513
stackoverflow
MOBILE_DEVELOPMENT
How can I override TimePicker to change text color
How can I override TimePicker to change text color My view has a white background, and it has to stay that way. I have a TimePicker on that white background.Everything is woking fine with android 2.3.3 but android 4.0.3 has a new timePicker style. The numbers have a very bright color. It is very hard to see them on th...
https://stackoverflow.com/questions/10969513/how-can-i-override-timepicker-to-change-text-color
android, colors, overriding, android-4.0-ice-cream-sandwich, timepicker
1,339,338,605
se_79992190
stackoverflow
MOBILE_DEVELOPMENT
Android 16 Photo Picker: Image remains pre-selected in "Limited Access" after app reinstall, but the app cannot access it
Android 16 Photo Picker: Image remains pre-selected in "Limited Access" after app reinstall, but the app cannot access it I'm seeing an unexpected behavior with Limited Photo Access on Android 16 (API 36). Steps to reproduce Install an app targeting Android 16 / API 36. Use the app to create/save an image ...
https://stackoverflow.com/questions/79992190/android-16-photo-picker-image-remains-pre-selected-in-limited-access-after-ap
android
1,786,441,145
se_37601317
stackoverflow
MOBILE_DEVELOPMENT
Continue Download in android even after the device is locked
Continue Download in android even after the device is locked How to continue download task even when after the device is locked (pressing the power button). I tried installing an app from the play store, and during its download i locked the device, but it still continues to download without any interruption and is vi...
https://stackoverflow.com/questions/37601317/continue-download-in-android-even-after-the-device-is-locked
android, android-notifications, android-wake-lock, android-powermanager
1,464,898,545
se_31007398
stackoverflow
MOBILE_DEVELOPMENT
Display specific html tags in webview from WordPress website
Display specific html tags in webview from WordPress website I'm trying to develop an android app in order to display articles (in different sections) from my WordPress site and with the same site style. So I tried JSON-API plugin and I noticed that I cannot display articles as I would like to do. So I'm now thinking ...
https://stackoverflow.com/questions/31007398/display-specific-html-tags-in-webview-from-wordpress-website
java, android, json, wordpress, webview
1,435,074,189
se_71984668
stackoverflow
MOBILE_DEVELOPMENT
####ninja: build stopped: subcommand failed
####ninja: build stopped: subcommand failed I tried to compile the Android source code according to the official documentation, but encountered a problem, the error log is as follows. who can help me [100% 1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja FAILED: out/soong/build.ninja out/soong/.boot...
https://stackoverflow.com/questions/71984668/ninja-build-stopped-subcommand-failed
android
1,650,760,920
se_79990096
stackoverflow
MOBILE_DEVELOPMENT
How to implement a Connected Button Group in Jetpack Compose Material 3?
How to implement a Connected Button Group in Jetpack Compose Material 3? I would like to add a gender selection input to my application's form. The first component that came to mind was SingleChoiceSegmentedButtonRow, so I checked its documentation. There, I found the following message (August 3, 2026): I followed th...
https://stackoverflow.com/questions/79990096/how-to-implement-a-connected-button-group-in-jetpack-compose-material-3
android, android-jetpack-compose
1,785,759,708
se_16395110
stackoverflow
MOBILE_DEVELOPMENT
BroadcastReceiver not working when app is not running
BroadcastReceiver not working when app is not running In my manifest file I have declared the receiver. (as follows) <receiver android:name=".OnAlarmReceive" /> however, once I shut down my application, I am not able to get the alarms and the notifications. Apparently, a call to the OnReceive in my Broadcast receiv...
https://stackoverflow.com/questions/16395110/broadcastreceiver-not-working-when-app-is-not-running
android, notifications, broadcastreceiver, alarmmanager, android-broadcast
1,367,830,134
se_35259095
stackoverflow
MOBILE_DEVELOPMENT
Android Studio Error: String literal in setText cannot be translated
Android Studio Error: String literal in setText cannot be translated This is my first app and I'm having some trouble. When I run the app it crashes and I don't know how to fix this error. public class MainActivity extends AppCompatActivity {\ TextView outputBottom = (TextView)findViewById(R.id.output); } pub...
https://stackoverflow.com/questions/35259095/android-studio-error-string-literal-in-settext-cannot-be-translated
android
1,454,879,089
se_18059456
stackoverflow
MOBILE_DEVELOPMENT
Android set single item background color in listview
Android set single item background color in listview I need to change color on selected item in list view, i know how to do that in click method, but the thing is that I want to set it then i load new activity. In that activity I'm creating listview and then I want to change one item background color from that list. ...
https://stackoverflow.com/questions/18059456/android-set-single-item-background-color-in-listview
android, listview, background
1,375,709,516
se_77256809
stackoverflow
MOBILE_DEVELOPMENT
AndroidX&#39;s Edge to Edge shows an Action Bar - How to hide it?
AndroidX&#39;s Edge to Edge shows an Action Bar - How to hide it? I've implemented Edge to Edge in my Android app, I've set the Status/Navigation bars to be transparent, and it works well. However suddenly an ActionBar appeared on top of my screen, even though I've set the app theme to be "android:Theme.Material.Light...
https://stackoverflow.com/questions/77256809/androidxs-edge-to-edge-shows-an-action-bar-how-to-hide-it
android, xml, kotlin, android-jetpack-compose, edge-to-edge
1,696,834,717
se_3587060
stackoverflow
MOBILE_DEVELOPMENT
Android and Paypal API integration
Android and Paypal API integration I'm trying to integrate the Paypal API to make my app donation based. I have two questions: I can see the button, I click it but it doesn't do anything! (the activity for checkoutIntent doesn't fire?) What are your experiences with donation based android apps? I want to make about...
https://stackoverflow.com/questions/3587060/android-and-paypal-api-integration
android, integration, paypal
1,282,933,474
se_18988606
stackoverflow
MOBILE_DEVELOPMENT
Creating a simple Hello world Android Client-Server program
Creating a simple Hello world Android Client-Server program To keep it simple, all I'm trying to do is to send a message from my Android Emulator to a Java console server on Eclipse that contains a simple string, then I want the server to reply with another string. Ofcourse; Ill connect to host 10.0.2.2 and use any op...
https://stackoverflow.com/questions/18988606/creating-a-simple-hello-world-android-client-server-program
java, android, client, message
1,380,045,076
se_47791625
stackoverflow
MOBILE_DEVELOPMENT
windowBackground not showing image on device
windowBackground not showing image on device I want a show an image as background for activities. I want to show an image (river_background) from drawable folder. I used android:windowBackground in styles.xml for showing the image and it's working in simulator running api 23. The background image shows just fine. But ...
https://stackoverflow.com/questions/47791625/windowbackground-not-showing-image-on-device
android, image, background, window
1,513,163,570
se_24724402
stackoverflow
MOBILE_DEVELOPMENT
android virtual device that failed to load
android virtual device that failed to load When i launched the eclipse in window 7 I was getting an error message: parseSdkContent failed Could not initialize class android.graphics.Typeface After doing some research i found a solution and deleted ~/.android and restarted Eclipse but now I am getting another messag...
https://stackoverflow.com/questions/24724402/android-virtual-device-that-failed-to-load
android, eclipse, sdk, android-virtual-device
1,405,266,098
se_20291768
stackoverflow
MOBILE_DEVELOPMENT
Creating Custom Dialog box (android example error?)
Creating Custom Dialog box (android example error?) Been trying to create customer dialog box and I copied source code from android website. I worked my way round a few things now I'm really stuck. I don't know what LoginFragment is in the code: ... public class start extends Activity{ Button buttonx; final Context c...
https://stackoverflow.com/questions/20291768/creating-custom-dialog-box-android-example-error
android, android-fragments, customdialog
1,385,750,822
se_79991997
stackoverflow
MOBILE_DEVELOPMENT
Resource for Unicode codepoint coverage for iOS, Android, macOS, Windows and Linux
Resource for Unicode codepoint coverage for iOS, Android, macOS, Windows and Linux Is there a resource that maintains Unicode codepoint coverage for all versions of iOS, Android, macOS, Windows and Linux? I need to have coverage for iPhoneOS 1.0 to iOS 27.0, Android 2.3.3 to Android 17, macOS 10.0 (Cheetah) to 27.0 (G...
https://stackoverflow.com/questions/79991997/resource-for-unicode-codepoint-coverage-for-ios-android-macos-windows-and-lin
tooling-recommendation, android, ios, windows, unicode
1,786,380,396
se_79991398
stackoverflow
MOBILE_DEVELOPMENT
How can I reliably test the Google Play Age Signals requestAgeSignalsAccess() prompt?
How can I reliably test the Google Play Age Signals requestAgeSignalsAccess() prompt? I’m integrating version 0.0.4 of the Google Play Age Signals API. The documentation says that requestAgeSignalsAccess() may display a Google Play–provided prompt for an unsupervised user when age sharing is optional and their setting...
https://stackoverflow.com/questions/79991398/how-can-i-reliably-test-the-google-play-age-signals-requestagesignalsaccess-pr
android, google-play, google-play-services, android-testing
1,786,124,547
se_16537332
stackoverflow
MOBILE_DEVELOPMENT
Budget app problems
Budget app problems I want to create an app that where the main page will display the current balance and allow you to go to 1 of two pages. The second page will allow you to enter deposits. The third page will allow you to make withdrawals. I'm having a problem with the code, when I click the buttons on the main pa...
https://stackoverflow.com/questions/16537332/budget-app-problems
java, android
1,368,516,241
se_38368080
stackoverflow
MOBILE_DEVELOPMENT
Android error: Gradle Duplicate Entry: java.util.zip.ZipException
Android error: Gradle Duplicate Entry: java.util.zip.ZipException When I try to run the app am getting an error Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'. com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: android/support/annotation/Int...
https://stackoverflow.com/questions/38368080/android-error-gradle-duplicate-entry-java-util-zip-zipexception
android, maven, android-studio, android-gradle-plugin, build.gradle
1,468,481,357
se_79927928
stackoverflow
MOBILE_DEVELOPMENT
Android 17 how to implement the new &quot;Location button&quot; in XML?
Android 17 how to implement the new &quot;Location button&quot; in XML? With the new android 17 coming out https://android-developers.googleblog.com/2026/03/location-privacy.html?m=1 How do we even implement the "Location button" in XML layouts ??
https://stackoverflow.com/questions/79927928/android-17-how-to-implement-the-new-location-button-in-xml
android, xml
1,776,521,480
se_79980678
stackoverflow
MOBILE_DEVELOPMENT
Android 17 api volume change
Android 17 api volume change I am developing an app that alerts users during emergencies, and I ran into a problem with the release of Android 17 (beta). Since Android doesn't offer an equivalent to iOS's "critical alerts," I used a workaround involving a media player: upon receiving a critical notification, the app w...
https://stackoverflow.com/questions/79980678/android-17-api-volume-change
android, android-notifications
1,784,036,066
se_16333145
stackoverflow
MOBILE_DEVELOPMENT
Save XML from Url and read it
Save XML from Url and read it I'm making android App and I need to download a xml file from an URL and open it, How I can do this? public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); File dir1 = getDir("xmls",Context.MODE_PRIVATE);//Creati...
https://stackoverflow.com/questions/16333145/save-xml-from-url-and-read-it
android, xml, file, parsing
1,367,481,860
se_34527630
stackoverflow
MOBILE_DEVELOPMENT
How to retrieve data from sql server db in android
How to retrieve data from sql server db in android this is the first time I am developing an android application. I want to bind some data with grid view or list view based employee id provided on the text box. How can I do that. Please help me to find a proper solution. Thank you. ConnectionClass.java: import andr...
https://stackoverflow.com/questions/34527630/how-to-retrieve-data-from-sql-server-db-in-android
java, android, sql-server, listview, gridview
1,451,471,245
se_79380153
stackoverflow
MOBILE_DEVELOPMENT
React Native - Build APK
React Native - Build APK I created a React Native App and want to run it without connecting my phone to my PC. I want to build the Android APK for that. How can I do that?
https://stackoverflow.com/questions/79380153/react-native-build-apk
android, react-native, apk
1,737,616,995
se_30659557
stackoverflow
MOBILE_DEVELOPMENT
How to disable Code Completion in Android Studio?
How to disable Code Completion in Android Studio? I am new in Android Programming and I want to disable the auto-completion in Android studio. I think this might even improve my coding ability and help me to understand the API Structure. I've done a lot of search in Google, but nothing found positive. So how to disabl...
https://stackoverflow.com/questions/30659557/how-to-disable-code-completion-in-android-studio
android, intellij-idea, android-studio
1,433,484,974
se_79991808
stackoverflow
MOBILE_DEVELOPMENT
Openrewrite UpgradeToAndroidSDK35 execution fails due to method rewrite() in build.gradle (:app) not found
Openrewrite UpgradeToAndroidSDK35 execution fails due to method rewrite() in build.gradle (:app) not found Running Openrewrite in Android Studio Quail 3 in order to upgrade an old implementation to SDK 35 throws this error: Build file 'D:\Documents\AndroidStudioProjects\OperationTimeRecord\app\build.gradle' line: 66 A...
https://stackoverflow.com/questions/79991808/openrewrite-upgradetoandroidsdk35-execution-fails-due-to-method-rewrite-in-bui
android, gradle, recipe, openrewrite
1,786,327,203
se_79991854
stackoverflow
MOBILE_DEVELOPMENT
Play Store &quot;Install&quot; button missing for returning users + Encrypted Storage surviving uninstalls
Play Store &quot;Install&quot; button missing for returning users + Encrypted Storage surviving uninstalls Dealing with two weird production bugs on our Flutter app and need some advice from anyone who has faced this. The Missing "Install" Button Few users who uninstalled the app cannot reinstall it. The "Install" bu...
https://stackoverflow.com/questions/79991854/play-store-install-button-missing-for-returning-users-encrypted-storage-surv
android, flutter, caching
1,786,346,575
se_9716774
stackoverflow
MOBILE_DEVELOPMENT
How can I take screen shots from running video in Android
How can I take screen shots from running video in Android I have developed an application in android which contains videos. Now I want to take screen shots from that running video. Is anybody having any idea regarding this thing. Pleas provide some example code or links.
https://stackoverflow.com/questions/9716774/how-can-i-take-screen-shots-from-running-video-in-android
android, video, screenshot
1,331,802,804
se_79991811
stackoverflow
MOBILE_DEVELOPMENT
How can I make a Fragment background extend behind the navigation bar without changing the status bar or other Fragments?
How can I make a Fragment background extend behind the navigation bar without changing the status bar or other Fragments? I am working on a custom Android chat screen where the normal Toolbar is hidden. The top area of the Fragment is a custom Z-shaped curved header implemented using a VectorDrawable. The design is w...
https://stackoverflow.com/questions/79991811/how-can-i-make-a-fragment-background-extend-behind-the-navigation-bar-without-ch
android, xml, android-fragments
1,786,329,436
se_79991240
stackoverflow
MOBILE_DEVELOPMENT
BLE requestConnectionPriority(HIGH) only helps one of two GATT links
BLE requestConnectionPriority(HIGH) only helps one of two GATT links I'm building an Android app that connects to two BLE peripherals simultaneously (two separate BluetoothGatt connections, both created via device.connectGatt(this, false, callback, BluetoothDevice.TRANSPORT_LE)). Each peripheral streams sensor data at...
https://stackoverflow.com/questions/79991240/ble-requestconnectionpriorityhigh-only-helps-one-of-two-gatt-links
android, bluetooth-lowenergy, android-bluetooth
1,786,086,330
se_6420835
stackoverflow
MOBILE_DEVELOPMENT
Parse XML on Android
Parse XML on Android I am trying to use the API for our billing system in an Android Application, but I am having trouble figuring out how to parse the XML that it returns. Here is what my function looks like thus far... public void ParseData(String xmlData) { try { // Document Builder Documen...
https://stackoverflow.com/questions/6420835/parse-xml-on-android
android, xml, dom, xml-parsing
1,308,634,930
se_12471688
stackoverflow
MOBILE_DEVELOPMENT
Android paddingBottom not working without paddingTop
Android paddingBottom not working without paddingTop I am currently using a layout that contains a RelativeLayout inside a ScrollView. I want the RelativeLayout to be contained 5dp away from the bottom of the ScrollView so it does not overlap the background I have behind it, to achieve this I was using this XML: <Sc...
https://stackoverflow.com/questions/12471688/android-paddingbottom-not-working-without-paddingtop
android, layout, scrollview, padding
1,347,950,789
se_3480201
stackoverflow
MOBILE_DEVELOPMENT
How do you install an APK file in the Android emulator?
How do you install an APK file in the Android emulator? I finally managed to obfuscate my Android application, now I want to test it by installing the APK file and running it on the emulator. How can I install an APK file on the Android Emulator?
https://stackoverflow.com/questions/3480201/how-do-you-install-an-apk-file-in-the-android-emulator
android, android-emulator, installation, apk
1,281,728,611
se_3004515
stackoverflow
MOBILE_DEVELOPMENT
Sending an Intent to a browser to open a specific URL
Sending an Intent to a browser to open a specific URL I'm just wondering how to fire up an Intent to the phone's browser to open an specific URL and display it. How can I do it?
https://stackoverflow.com/questions/3004515/sending-an-intent-to-a-browser-to-open-a-specific-url
android, android-intent
1,276,075,317
se_48619393
stackoverflow
MOBILE_DEVELOPMENT
React Native, &#39;is not usable as a native method argument&#39;
React Native, &#39;is not usable as a native method argument&#39; I'm new to React Native. While I was developing a native module, I encounter a problem with callbacks. Below is the error message from React Native 02-05 17:43:26.387 32301-32570/com.awesomeproject2 E/ReactNativeJNI: Got JS Exception: Exception calling ...
https://stackoverflow.com/questions/48619393/react-native-is-not-usable-as-a-native-method-argument
javascript, java, android, react-native
1,517,823,170
se_50103135
stackoverflow
MOBILE_DEVELOPMENT
Mock Retrofit error okhttp3.ResponseBody$1 cannot be cast
Mock Retrofit error okhttp3.ResponseBody$1 cannot be cast I'm trying to test a snippet of my code that uses retrofit, so I've created an interface to "mock" the return, it works in parts, it can invoke the onresponse of enqueue, however it can not convert Response <AuthResponse> response, follows the error: java.l...
https://stackoverflow.com/questions/50103135/mock-retrofit-error-okhttp3-responsebody1-cannot-be-cast
android, unit-testing, testing, retrofit, retrofit2
1,525,100,261
se_41211294
stackoverflow
MOBILE_DEVELOPMENT
Execution failed for task &#39;:app:processDebugResources&#39;. failed to execute aapt
Execution failed for task &#39;:app:processDebugResources&#39;. failed to execute aapt In Android Studio I have this error when I update Android SDK Tools to version 25: I tried to modify SDK version in gradle build to 21 to execute my app but I have this error. Really I don't why this happens. This is my build.gra...
https://stackoverflow.com/questions/41211294/execution-failed-for-task-appprocessdebugresources-failed-to-execute-aapt
android, xml, gradle
1,482,084,157
se_20918976
stackoverflow
MOBILE_DEVELOPMENT
HTTP 400 Bad Request - Invalid Header with Retrofit on Android
HTTP 400 Bad Request - Invalid Header with Retrofit on Android I'm migrating my Android project from Apache HttpClient to Retrofit with OkHttp. POST/PUT request return error, even though the application custom headers are the same and Content-Length of both request are equal. GET: work fine. POST/PUT: Http Error 400...
https://stackoverflow.com/questions/20918976/http-400-bad-request-invalid-header-with-retrofit-on-android
android, asp.net, apache-httpclient-4.x, bad-request, retrofit
1,388,826,124
se_6426487
stackoverflow
MOBILE_DEVELOPMENT
how to get differnce between two gps address
how to get differnce between two gps address I have two longitude and latitude values. i.e. longitude1 and latitude1 came from webservice, and longitude2 and latitude2 are my device values. How can I calculate the difference between these two addresses? I tried below code private Geocoder geocoder; geocoder=new Geoco...
https://stackoverflow.com/questions/6426487/how-to-get-differnce-between-two-gps-address
android, gps
1,308,664,604
se_8270060
stackoverflow
MOBILE_DEVELOPMENT
Play m3u8 video in android
Play m3u8 video in android I want to live streaming the video and it is in m3u8 format. So i tried the below code public class StreamingPlayer extends Activity implements OnBufferingUpdateListener, OnCompletionListener, OnPreparedListener, OnVideoSizeChangedListener, SurfaceHolder.Callback{ private static final ...
https://stackoverflow.com/questions/8270060/play-m3u8-video-in-android
android, http-live-streaming
1,322,228,903
se_23458955
stackoverflow
MOBILE_DEVELOPMENT
Android button background image size
Android button background image size I created a personal keyboard and set the background image to the one of the buttons, but after that button size (with my background) is different from one another. <Button android:id="@+id/buttonShift" android:paddingTop="0dip" android:textSize="22sp" android:layo...
https://stackoverflow.com/questions/23458955/android-button-background-image-size
android, android-button
1,399,222,652
se_51266869
stackoverflow
MOBILE_DEVELOPMENT
Parse error at Installation of APK file
Parse error at Installation of APK file My apk file format is like this: xxxx-debug.apk xx-xxx-debug-xxx-1.0.1.apk I can download the apk files but I cannot install them. I'm facing the following error: Parse error There was a problem while parsing the package. Code used for Installation: protected void ins...
https://stackoverflow.com/questions/51266869/parse-error-at-installation-of-apk-file
android
1,531,230,155
se_51143105
stackoverflow
MOBILE_DEVELOPMENT
Line break not working in Android Studio notifications
Line break not working in Android Studio notifications I'm trying to make a notification with a line break in .setContentText() but that is not working. Builder of my notification builder.setContentTitle("Notification") .setSmallIcon(R.drawable.notif) .setContentText("Exa...
https://stackoverflow.com/questions/51143105/line-break-not-working-in-android-studio-notifications
android, android-studio, notifications, android-notifications
1,530,562,168
se_73260974
stackoverflow
MOBILE_DEVELOPMENT
Why this two items have different width in Jetpack Compose
Why this two items have different width in Jetpack Compose I am learning textfield in Jetpack Compose. I want to use multiple time so I make a function and use it. when I am passing start padding it decreases the width of other one. Where am I wrong here? Column( modifier = Modifier .fillMaxSize() ...
https://stackoverflow.com/questions/73260974/why-this-two-items-have-different-width-in-jetpack-compose
android, kotlin, android-jetpack-compose, android-jetpack, android-compose-textfield
1,659,799,022
se_74027320
stackoverflow
MOBILE_DEVELOPMENT
Filter bonded device in bluetooth android
Filter bonded device in bluetooth android I am building a Health application in which blood pressure monitor is used. I already paired so many BLE devices. I want to filter only particular device like Blood Pressure Monitor. I also did this in scan filter through like this BloodPressurePairViewModel.kt class BloodPres...
https://stackoverflow.com/questions/74027320/filter-bonded-device-in-bluetooth-android
android, kotlin, bluetooth, bluetooth-lowenergy, android-bluetooth
1,665,487,381
se_64205060
stackoverflow
MOBILE_DEVELOPMENT
Install Android SDK sources-30_r01.zip and platform-30_r03.zip manually (Windows 10)
Install Android SDK sources-30_r01.zip and platform-30_r03.zip manually (Windows 10) Android Studio SDK Manager cannot download https://dl.google.com/android/repository/sources-30_r01.zip or https://dl.google.com/android/repository/platform-30_r03.zip because of the company's SSL interception (it runs a scan on some f...
https://stackoverflow.com/questions/64205060/install-android-sdk-sources-30-r01-zip-and-platform-30-r03-zip-manually-windows
android, windows, android-studio
1,601,886,706
se_63434025
stackoverflow
MOBILE_DEVELOPMENT
The file system on the device is in a bad state. WorkManager cannot access the app&#39;s internal data store
The file system on the device is in a bad state. WorkManager cannot access the app&#39;s internal data store When I added work manager library to android studio and run the app it crashes with this error: E/SQLiteLog: (14) cannot open file at line 37816 of [c255889bd9] (14) os_unix.c:37816: (13) lstat(/data/user/0...
https://stackoverflow.com/questions/63434025/the-file-system-on-the-device-is-in-a-bad-state-workmanager-cannot-access-the-a
android, android-workmanager
1,597,561,017
se_15203900
stackoverflow
MOBILE_DEVELOPMENT
Enabling AllShare Cast in an Android App
Enabling AllShare Cast in an Android App I'm developing a very simple application where I have a button .. OnClicking that button the screen of my mobile phone should be shared with my Smart Samsung TV. The question now is how can I enable AllShare Cast feature onClicking that button?? from what I read, I should crea...
https://stackoverflow.com/questions/15203900/enabling-allshare-cast-in-an-android-app
android, samsung-smart-tv, screensharing
1,362,407,520
se_78148638
stackoverflow
MOBILE_DEVELOPMENT
Unable to open Chrome Debugger for React Native App in because of flipper waring Attempting to debug JS in Flipper (deprecated)
Unable to open Chrome Debugger for React Native App in because of flipper waring Attempting to debug JS in Flipper (deprecated) 🐛 Bug Report When attempting to open the new react native app default app and trying to debug in Chrome debugger, users encounter an error message stating in terminal: "Attempting to debug ...
https://stackoverflow.com/questions/78148638/unable-to-open-chrome-debugger-for-react-native-app-in-because-of-flipper-waring
android, react-native, debugging, remote-debugging, flipper
1,710,260,442
se_75192829
stackoverflow
MOBILE_DEVELOPMENT
How was framework.jar, in a non-rooted android directory /system/framework/framework.jar, decompiled to get command number 134
How was framework.jar, in a non-rooted android directory /system/framework/framework.jar, decompiled to get command number 134 Link: https://dtf.ru/u/523140-danila-romanov/1154461-eshche-odin-sposob-udaleniya-predustanovlennyh-prilozheniy-android-12 Basically, vivo has restricted some of its bloatware from being disab...
https://stackoverflow.com/questions/75192829/how-was-framework-jar-in-a-non-rooted-android-directory-system-framework-frame
android, jar, adb, uninstallation, decompiling
1,674,299,028
se_42787524
stackoverflow
MOBILE_DEVELOPMENT
Android Studio 2.3 error: &quot;Gradle sync failed: Cause: services.gradle.org&quot;
Android Studio 2.3 error: &quot;Gradle sync failed: Cause: services.gradle.org&quot; After I open a new project in Android Studio 2.3, I receive an error such as: Gradle sync failed: Cause: services.gradle.org Googling just gave me a log file on an issue tracker page. I have tried uninstalling/reinstalling. I am...
https://stackoverflow.com/questions/42787524/android-studio-2-3-error-gradle-sync-failed-cause-services-gradle-org
java, android, gradle, android-gradle-plugin
1,489,498,555
se_27704070
stackoverflow
MOBILE_DEVELOPMENT
How to get the clipboard content in adb shell?
How to get the clipboard content in adb shell? I run the command service call clipboard 1 in adb shell to get the clipboard content, but it returns: Result: Parcel(fffffffc ffffffff '........'), while I make sure it has content in the clipboard. I don't know how to run the service clipboard successfully. It looks th...
https://stackoverflow.com/questions/27704070/how-to-get-the-clipboard-content-in-adb-shell
android, adb, emulation, clipboard
1,419,936,591
se_3391160
stackoverflow
MOBILE_DEVELOPMENT
Paste text on Android Emulator
Paste text on Android Emulator Is there an easy way to copy/paste (desktop's) clipboard content to EditView on Android Emulator? (just for the sake to ease development/test)
https://stackoverflow.com/questions/3391160/paste-text-on-android-emulator
android, copy-paste
1,280,777,943
se_7283446
stackoverflow
MOBILE_DEVELOPMENT
Pasting text into Android emulator clipboard using adb shell
Pasting text into Android emulator clipboard using adb shell I need to paste text into the Android emulator clipboard using adb shell. tried on Android 1.6 and 2.3.1 I tried to use adb shell command: clipboard:[android.text.iclipboard] "service call clipboard" where service codes are 1, 2, and 3, for getClipboardText,...
https://stackoverflow.com/questions/7283446/pasting-text-into-android-emulator-clipboard-using-adb-shell
android, emulation, clipboard, copy-paste
1,314,966,727
se_27785167
stackoverflow
MOBILE_DEVELOPMENT
Radio buttons in android studio
Radio buttons in android studio I want to have list of radio buttons and after i select one and click next I would like to perform different actions depending on which button was pressed. i am trying currently to set text for some test TextView and for every radio button it says it is -1. import android.os.Bundle; im...
https://stackoverflow.com/questions/27785167/radio-buttons-in-android-studio
android, radio-button
1,420,480,825
se_79991475
stackoverflow
MOBILE_DEVELOPMENT
Best practice for requesting full-screen intent + battery optimization exemption without excessive first-run friction (React Native/Expo)
Best practice for requesting full-screen intent + battery optimization exemption without excessive first-run friction (React Native/Expo) I'm building a reminder/alarm app in React Native with Expo. To ensure reminders fire reliably on Android 14+, I currently need users to manually grant: - Notifications - Alarms & r...
https://stackoverflow.com/questions/79991475/best-practice-for-requesting-full-screen-intent-battery-optimization-exemption
best-practices, android, react-native, expo, notifications
1,786,160,128
se_4722575
stackoverflow
MOBILE_DEVELOPMENT
How to set the Usb connection mode?
How to set the Usb connection mode? I'm writing an application which is supposed to dump data on the SD card and then another application on a pc which should read the data when the device is connected to the pc (in disc drive mode). On my HTC Legend there is a dialog to choose between: Charge only, HTC Sync, Disk dri...
https://stackoverflow.com/questions/4722575/how-to-set-the-usb-connection-mode
android, usb, connectivity
1,295,343,743
se_8327846
stackoverflow
MOBILE_DEVELOPMENT
How to resize a bitmap eficiently and with out losing quality in android
How to resize a bitmap eficiently and with out losing quality in android I have a Bitmap with a size of 320x480 and I need to stretch it on different device screens, I tried using this: Rect dstRect = new Rect(); canvas.getClipBounds(dstRect); canvas.drawBitmap(frameBuffer, null, dstRect, null); it works, the image...
https://stackoverflow.com/questions/8327846/how-to-resize-a-bitmap-eficiently-and-with-out-losing-quality-in-android
android, canvas, bitmap, resize, surfaceview
1,322,664,857
se_51042115
stackoverflow
MOBILE_DEVELOPMENT
How to change permission of internal folder/file in android?
How to change permission of internal folder/file in android? I wanted to get database file from the emulator. So, I tried to change the permission of package folder using adb shell. When I use the below command: adb shell su -c chmod 777 /data/data/com.mypackage.test It always returns: Chmod: need 2 arguments I...
https://stackoverflow.com/questions/51042115/how-to-change-permission-of-internal-folder-file-in-android
android, file-permissions, adb
1,530,013,456
se_18375043
stackoverflow
MOBILE_DEVELOPMENT
Value of type org.json.JSONObject cannot be converted to JSONArray
Value of type org.json.JSONObject cannot be converted to JSONArray When I return string from another activity and try to convert it to JSONArray, the program show me this: 08-22 14:51:35.313: E/YourCartActivity(1134): Error parsing data org.json.JSONException: Value {"yourCart_totalPrice":"5500.00","yourCart_product...
https://stackoverflow.com/questions/18375043/value-of-type-org-json-jsonobject-cannot-be-converted-to-jsonarray
android, string, arrays, json
1,377,159,406
se_28668248
stackoverflow
MOBILE_DEVELOPMENT
Different types of APK
Different types of APK Can someone please explain the difference between: signed apk unsigned apk apk in debug mode apk in release mode Although its clear that signed apk is the one you generate apk with your own certificate and the unsigned one without without certificate. Especially what are the apk in debug m...
https://stackoverflow.com/questions/28668248/different-types-of-apk
android, apk
1,424,674,019
se_56170297
stackoverflow
MOBILE_DEVELOPMENT
javax.imageio.IIOException: Missing Huffman code table entry while Adding text to an jpg image
javax.imageio.IIOException: Missing Huffman code table entry while Adding text to an jpg image I am adding text to an image using this code in Android : public Bitmap drawTextToBitmap(Context gContext, Bitmap image, String gText) { Resources resources = gContext.getResources(); float scale = resources.getDis...
https://stackoverflow.com/questions/56170297/javax-imageio-iioexception-missing-huffman-code-table-entry-while-adding-text-t
java, android, bitmap, jpeg
1,558,015,055
se_63989275
stackoverflow
MOBILE_DEVELOPMENT
How can I convert Persian (Farsi) and Arabic numbers to English numbers in Kotlin?
How can I convert Persian (Farsi) and Arabic numbers to English numbers in Kotlin? I want to pass a date as string to a web service. When I get the date in devices that use Persian, localized digits are Persian and the server can't convert this string to DateTime. So I need to convert all digits to English. The date I...
https://stackoverflow.com/questions/63989275/how-can-i-convert-persian-farsi-and-arabic-numbers-to-english-numbers-in-kotli
android, kotlin, number-formatting, farsi, number-systems
1,600,679,386
se_38668689
stackoverflow
MOBILE_DEVELOPMENT
Attempted to finish an input event but the input event receiver has already been disposed error
Attempted to finish an input event but the input event receiver has already been disposed error I am not sure what I have done but for a moment my code was working smoothly and after I added a new activity the error Attempted to finish an input event but the input event receiver has already been disposed. I need hel...
https://stackoverflow.com/questions/38668689/attempted-to-finish-an-input-event-but-the-input-event-receiver-has-already-been
java, android
1,469,833,765
se_26839118
stackoverflow
MOBILE_DEVELOPMENT
Appium: A new session could not be created
Appium: A new session could not be created Before posting this question I went to these questions on Stackoverflow and other forums: A new session could not be created. (Original error: Instruments crashed on startup) Appium Error : A new session could not be created. (Original error: Did not get session redirect fr...
https://stackoverflow.com/questions/26839118/appium-a-new-session-could-not-be-created
java, android, automation, appium
1,415,606,010
se_11040851
stackoverflow
MOBILE_DEVELOPMENT
Android Intent to start Main activity of application
Android Intent to start Main activity of application I am trying to start the main activity from inside a BroadcastReceiver. I don't want to supply the activity class name but to use the action and category for Android to figure out the main activity. It doesn't seem to work. Sending code: Intent startIntent = new Int...
https://stackoverflow.com/questions/11040851/android-intent-to-start-main-activity-of-application
android, android-intent, alarmmanager
1,339,705,549
se_10941037
stackoverflow
MOBILE_DEVELOPMENT
Notification doesn&#39;t trigger BroadcastReceiver&#39;s onReceive
Notification doesn&#39;t trigger BroadcastReceiver&#39;s onReceive Is it possible to have a notification start a broadcast receiver? I tried this code but it doesn't work. Notification is created but when I click on it nothing happens. NOTE: When I change the notificationIntent to point from MyBroadcastReceiver.class ...
https://stackoverflow.com/questions/10941037/notification-doesnt-trigger-broadcastreceivers-onreceive
android, android-intent, android-notifications
1,339,110,155
se_33006774
stackoverflow
MOBILE_DEVELOPMENT
How to fix the 0x3009 (EGL_BAD_MATCH) issue while invoking eglCreatePbufferSurface?
How to fix the 0x3009 (EGL_BAD_MATCH) issue while invoking eglCreatePbufferSurface? I use the createOffscreenSurface from grafika: /** * Creates an off-screen surface. */ public void createOffscreenSurface(int width, int height) { if (mEGLSurface != EGL14.EGL_NO_SURFACE) { throw new IllegalStateExceptio...
https://stackoverflow.com/questions/33006774/how-to-fix-the-0x3009-egl-bad-match-issue-while-invoking-eglcreatepbuffersurfa
android, egl, grafika
1,444,279,285
se_71687188
stackoverflow
MOBILE_DEVELOPMENT
Unable to connect to the frida server: need Gadget to attach on jailed Android
Unable to connect to the frida server: need Gadget to attach on jailed Android I am using objection to bypass ssl pining on injured android apk. After I ran this command successfully objection patchapk --source injured.apk and uninstall and reinstall the patched apk again, I tried objection explore but always get this...
https://stackoverflow.com/questions/71687188/unable-to-connect-to-the-frida-server-need-gadget-to-attach-on-jailed-android
android, frida, sslpinning
1,648,703,739
se_79990071
stackoverflow
MOBILE_DEVELOPMENT
Exoplayer: Subtitles in jetpack compose
Exoplayer: Subtitles in jetpack compose I'm making a media player, but I just can't seem to add subtitles. I immediately retrieve all the subtitles and pass them to MediaItem. When the user selects new subtitles, I retrieve them using trackSelectionParameters, where the ID is the link. The player plays them and saves ...
https://stackoverflow.com/questions/79990071/exoplayer-subtitles-in-jetpack-compose
android, kotlin, android-jetpack-compose, exoplayer
1,785,754,506
se_4131139
stackoverflow
MOBILE_DEVELOPMENT
Httpclient redirect handler
Httpclient redirect handler I'm trying to call a web server that is using relative URL redirects for some of the calls. This of course isn't working with DefaultHttpClient as it isn't treating it as a relative URL. I've gotten as far as implementing a RedirectHandler in an attempt to catch the redirect and add in the ...
https://stackoverflow.com/questions/4131139/httpclient-redirect-handler
android, http-redirect, httpclient
1,289,285,191
se_79564858
stackoverflow
MOBILE_DEVELOPMENT
Android instantApp error : Missing split for &lt;com.my-pacakge-name&gt; when installing via play-store
Android instantApp error : Missing split for &lt;com.my-pacakge-name&gt; when installing via play-store I built and tested the instant-app successfully on a real device with Android-studio. Then I created the .aab file and uploaded it to the playStore (for internal testers), without any error. When I try to use the ap...
https://stackoverflow.com/questions/79564858/android-instantapp-error-missing-split-for-com-my-pacakge-name-when-installi
android, kotlin, gradle, android-manifest, android-instant-apps
1,744,216,320
se_9824352
stackoverflow
MOBILE_DEVELOPMENT
Storing a sentence in a MySQL database
Storing a sentence in a MySQL database I'm not sure if this is possible, but I want to be able to store a sentence in a MySQL database after being sent from an Android app. I have a field in my app that allows a user to enter a description (the sentence) and when they press send all of their personal information along...
https://stackoverflow.com/questions/9824352/storing-a-sentence-in-a-mysql-database
java, android, mysql, database, sentence
1,332,426,775
se_31024759
stackoverflow
MOBILE_DEVELOPMENT
Creating an APK using Cordova\phonegap - display it on lockscreen
Creating an APK using Cordova\phonegap - display it on lockscreen I am new at building apps using phonegap and my last one is an app that shows information VIA WS (basically it's a web app) and been built on phonegap to APK file - and it works well. I would like as an option to set the App (which will run on the Backg...
https://stackoverflow.com/questions/31024759/creating-an-apk-using-cordova-phonegap-display-it-on-lockscreen
android, ios, cordova, phonegap-plugins, lockscreen
1,435,143,548
se_19180659
stackoverflow
MOBILE_DEVELOPMENT
Power key event in android?
Power key event in android? I want to listen to power key event. How can I do that? Currently the code I am using is this: @Override public boolean onKeyDown(int keyCode, KeyEvent event) { if(KeyEvent.KEYCODE_POWER == event.getKeyCode()){ Log.e("POWER", "pow"); return true;//If event is hand...
https://stackoverflow.com/questions/19180659/power-key-event-in-android
android, keyevent
1,380,887,937
se_71456688
stackoverflow
MOBILE_DEVELOPMENT
adb install Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
adb install Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113] Build native .so's and made apk with ant build, wanted to test so did an adb install on an emulator and got the following error: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113] I ...
https://stackoverflow.com/questions/71456688/adb-install-failure-install-failed-no-matching-abis-failed-to-extract-native-l
android, visual-studio, ant, adb
1,647,173,905
se_61544077
stackoverflow
MOBILE_DEVELOPMENT
Something unusual has occurred to cause the driver to fail. Heroku postgresql database
Something unusual has occurred to cause the driver to fail. Heroku postgresql database I have created a heroku posgresql database and I am trying to connect my Android app to this database. I am using Android Studio for making the Android app. I have used the following code for creating the connection: try { Clas...
https://stackoverflow.com/questions/61544077/something-unusual-has-occurred-to-cause-the-driver-to-fail-heroku-postgresql-da
java, android, heroku, database-connection
1,588,342,206
se_74151910
stackoverflow
MOBILE_DEVELOPMENT
Foreground service notification takes a few seconds to appear/show up
Foreground service notification takes a few seconds to appear/show up Foreground service notification shows too slowly on Android 12. Used ContextCompat.startForegroundService(...) and mContext.startForegroundService(...). It still shows in 5-10 seconds. Here is an example of my code: private void createNotificationCh...
https://stackoverflow.com/questions/74151910/foreground-service-notification-takes-a-few-seconds-to-appear-show-up
android, service, notifications, foreground
1,666,346,151
se_12257221
stackoverflow
MOBILE_DEVELOPMENT
adding header to multicolumn listview in android
adding header to multicolumn listview in android I tried the following question in this forum Adding Header in Listview but the problem is same I've used a linearlayout having three textview as header to my multicolumn listview but the problem is that the columns do not align themselves under the header how can I gi...
https://stackoverflow.com/questions/12257221/adding-header-to-multicolumn-listview-in-android
android, xml, listview
1,346,736,010
se_79632632
stackoverflow
MOBILE_DEVELOPMENT
How to take screenshot in background(Android App) without interruption and less user interaction
How to take screenshot in background(Android App) without interruption and less user interaction I’m developing a parental control app (Android 14-15, Android Studio, Java) for play store and need to take screenshots on a child’s Android smart phone(Samsung A15) in background. However, all the common solutions I’ve fo...
https://stackoverflow.com/questions/79632632/how-to-take-screenshot-in-backgroundandroid-app-without-interruption-and-less
android, background, screenshot
1,747,855,247
se_22826908
stackoverflow
MOBILE_DEVELOPMENT
Android adb sideload command
Android adb sideload command I am reading a tutorial on the sideload command at link. It contains the steps of rebooting into recovery mode and using adb sideload [file].zip. My question is that what does sideload actually do with that zip file ? In the past I have compiled AOSP and flashed a device using adb rebo...
https://stackoverflow.com/questions/22826908/android-adb-sideload-command
android, adb, rom
1,396,493,201
se_47324575
stackoverflow
MOBILE_DEVELOPMENT
Show android notification action buttons expanded by default
Show android notification action buttons expanded by default Is there a way to show action buttons in notification expanded by default? I use ongoing notification to control traning process in my app. I want controling buttons such as "Stop" and "Pause" to be visible right after notification appeared in the notificati...
https://stackoverflow.com/questions/47324575/show-android-notification-action-buttons-expanded-by-default
android, notifications, android-notifications, notification-action
1,510,819,900
se_9796308
stackoverflow
MOBILE_DEVELOPMENT
Creating an &quot;update.zip&quot; for install an APK from Recovery Mode (Bootloader)?
Creating an &quot;update.zip&quot; for install an APK from Recovery Mode (Bootloader)? I'm researching about how to create an "update.zip" file for install the APK or APKs from Android Recovery Mode (Bootloader). I found this topic in XDA, using a script we can create the "update.zip" file: "Update.zip 2.0 Modifier/C...
https://stackoverflow.com/questions/9796308/creating-an-update-zip-for-install-an-apk-from-recovery-mode-bootloader
android, installation, apk, recovery, bootloader
1,332,284,317
se_40893685
stackoverflow
MOBILE_DEVELOPMENT
UTM tracking codes in Firebase
UTM tracking codes in Firebase How to make that Firebase understand and track installation of apps (iOS and Android) with UTM tracking links (for example I want to track installs of apps from my site from footer link)? In GA it works perfect. In Firebase I din't find any documentations on it (in app only Firebase SD...
https://stackoverflow.com/questions/40893685/utm-tracking-codes-in-firebase
android, ios, firebase, firebase-analytics, utm
1,480,524,164
se_23758695
stackoverflow
MOBILE_DEVELOPMENT
Download failed because the resources could not be found
Download failed because the resources could not be found Obb files download in my projects stopped working recently for all my unpublished applications. The error string is in the topic. But it works for published applications (that may be the clue)! My device is Nexus 7 (2012), I upgraded it to 4.4.2 recently (th...
https://stackoverflow.com/questions/23758695/download-failed-because-the-resources-could-not-be-found
android, apk-expansion-files
1,400,585,667
se_14454093
stackoverflow
MOBILE_DEVELOPMENT
How to set minimum and maximum characters limitation to EditText in Android?
How to set minimum and maximum characters limitation to EditText in Android? I want to set minimum and maximum input value for EditText box. I am creating one simple validation for EditText; it takes A-Z and 0-9 values with minimum 5 and maximum 8 character. I set the maximum and other validations as follow: <Edit...
https://stackoverflow.com/questions/14454093/how-to-set-minimum-and-maximum-characters-limitation-to-edittext-in-android
android, android-layout
1,358,842,218
se_79989859
stackoverflow
MOBILE_DEVELOPMENT
How to restore a previous UI state with StateFlow?
How to restore a previous UI state with StateFlow? I have the following screen flow: Initial → StateA → Loading → StateB The ViewModel first fetches some initial data and then renders StateA. The user enters values manually and presses Next. I then show Loading, call another API, and display StateB. When the user pres...
https://stackoverflow.com/questions/79989859/how-to-restore-a-previous-ui-state-with-stateflow
best-practices, android, kotlin, android-viewmodel
1,785,663,532
se_35146985
stackoverflow
MOBILE_DEVELOPMENT
Displaying Images Dynamically
Displaying Images Dynamically I am using the following code to display images from drawable folder. But now i want to display pictures dynamically.Every time a new image is added to the drawable folder i don't want go again in the code and add it in the array it should automatically increment and get displayed. Any Id...
https://stackoverflow.com/questions/35146985/displaying-images-dynamically
java, android, android-imageview
1,454,396,305
se_35423918
stackoverflow
MOBILE_DEVELOPMENT
How to increment count when start activity on button click in Android?
How to increment count when start activity on button click in Android? I have two activities. Whenever I go from the 1st activity to the 2nd activity count should be incremented on button click. Here is the code in the 1st activity code for starting the 2nd activity: imgCreatePost.setVisibility(View.VISIBLE); imgCrea...
https://stackoverflow.com/questions/35423918/how-to-increment-count-when-start-activity-on-button-click-in-android
android
1,455,597,753
se_79608807
stackoverflow
MOBILE_DEVELOPMENT
expo react native error: TurboModuleRegistry.getEnforcing(...): &#39;PlatformConstants&#39;
expo react native error: TurboModuleRegistry.getEnforcing(...): &#39;PlatformConstants&#39; When I start my npx expo run:android project like this, I get the error: ERROR Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'PlatformConstants' could not be found. Verify that a module by this name is registere...
https://stackoverflow.com/questions/79608807/expo-react-native-error-turbomoduleregistry-getenforcing-platformconstan
android, react-native, expo
1,746,538,053
se_48474247
stackoverflow
MOBILE_DEVELOPMENT
Converting a responsebody in okhttp3 to a list of custom objects using gson
Converting a responsebody in okhttp3 to a list of custom objects using gson In my code, I take all the data base of my friend's server and print it in a log. Now what I want to do is to take the jsons he sends me, and convert these jsons into a list of custom objects I called User. This is my response code. The log ...
https://stackoverflow.com/questions/48474247/converting-a-responsebody-in-okhttp3-to-a-list-of-custom-objects-using-gson
android, json, gson
1,517,043,827
se_68730285
stackoverflow
MOBILE_DEVELOPMENT
How can I use the Bluetooth HFP profile in Android programmatically?
How can I use the Bluetooth HFP profile in Android programmatically? Here I am trying to connect two Android devices using Bluetooth classic and transfer calls through the HFP profile. If Device A has an incoming call, I need to notify Device B and accept/decline from the device B side and even need to talk from the d...
https://stackoverflow.com/questions/68730285/how-can-i-use-the-bluetooth-hfp-profile-in-android-programmatically
android, bluetooth, android-source, android-bluetooth, hfp
1,628,612,241
se_16306702
stackoverflow
MOBILE_DEVELOPMENT
Reading data from Sqlite Database in android application.
Reading data from Sqlite Database in android application. I am trying to read data from a database. I imported the database in the sqlite manually and now just want the connection made in android application and want to read the rows and display them in the text fields, however the code I am using is either making the...
https://stackoverflow.com/questions/16306702/reading-data-from-sqlite-database-in-android-application
android, database, sqlite, android-emulator
1,367,346,862
se_79931897
stackoverflow
MOBILE_DEVELOPMENT
Camera2 API Issue: Physical Camera fails via Logical Camera Flow but opens Directly on POCO X8 Pro (Android 16)
Camera2 API Issue: Physical Camera fails via Logical Camera Flow but opens Directly on POCO X8 Pro (Android 16) I found a Camera2 API issue on POCO X8 Pro (Android 16 / HyperOS) related to opening physical cameras from a logical multi-camera device. Device camera configuration example CameraManager.getCameraIdList() r...
https://stackoverflow.com/questions/79931897/camera2-api-issue-physical-camera-fails-via-logical-camera-flow-but-opens-direc
android, android-camera2, xiaomi
1,777,160,374
se_53087282
stackoverflow
MOBILE_DEVELOPMENT
How to create android widget using react native?
How to create android widget using react native? Is it possible to make android widget using react-native? I have done some search to find an approach but only find this repo Is it any other approach to make android widget using react-native?
https://stackoverflow.com/questions/53087282/how-to-create-android-widget-using-react-native
android, react-native, widget
1,541,000,739
se_27297652
stackoverflow
MOBILE_DEVELOPMENT
android parse error parsing package
android parse error parsing package I'm developing auto update from inner server. The download works good, but when I'm trying to install the downloaded apk I'm getting: "parse error, problem parsing package". private BroadcastReceiver mDownloadReceiver = new BroadcastReceiver() { @Override public void onRece...
https://stackoverflow.com/questions/27297652/android-parse-error-parsing-package
android, download, installation
1,417,706,643
se_20043388
stackoverflow
MOBILE_DEVELOPMENT
Working with BLE Android 4.3, how can I write characteristics?
Working with BLE Android 4.3, how can I write characteristics? I am working on a BLE project (Android application) using Android 4.3 API. I have used a sample BLE app. It is only reading characteristics in DeviceControlActivity.activity, but I want to write characteristics and send it to the BLE chip on clicking a but...
https://stackoverflow.com/questions/20043388/working-with-ble-android-4-3-how-can-i-write-characteristics
android, bluetooth-lowenergy, android-4.3-jelly-bean
1,384,764,145
se_79990731
stackoverflow
MOBILE_DEVELOPMENT
Why does Flutter cold start take significantly longer on Impeller/OpenGL ES than Impeller/Vulkan?
Why does Flutter cold start take significantly longer on Impeller/OpenGL ES than Impeller/Vulkan? I'm investigating Flutter cold start performance because Google Play Android Vitals reports poor cold start performance on some devices. To isolate the issue, I tested with a minimal Flutter app: void main() { runApp(co...
https://stackoverflow.com/questions/79990731/why-does-flutter-cold-start-take-significantly-longer-on-impeller-opengl-es-than
android, flutter, performance, startup, impeller
1,785,939,163
se_76175578
stackoverflow
MOBILE_DEVELOPMENT
How to detect when a game controller gets connected in Android
How to detect when a game controller gets connected in Android I'm trying to make a native module for React Native/Expo using Expo Modules API to support game controllers in my app. On iOS there is a notification/event that is posted immediately after a game controller gets connected to the device called GCControllerD...
https://stackoverflow.com/questions/76175578/how-to-detect-when-a-game-controller-gets-connected-in-android
android, react-native, gamecontroller
1,683,218,987