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_49217810 | stackoverflow | MOBILE_DEVELOPMENT | Getting instance of MainActivity | Getting instance of MainActivity
Hi I am kind of new to android, still learning. And my problem is that, for example I have a method which was created in the MainActivity and I need to call it from another class.
Is it a good practice to get the instance of the MainActivity so that I may be able to call the method in... | https://stackoverflow.com/questions/49217810/getting-instance-of-mainactivity | android | 1,520,754,454 |
se_78937752 | stackoverflow | MOBILE_DEVELOPMENT | TopAppBar has unknown padding when using nested Scaffold with Compose Navigation | TopAppBar has unknown padding when using nested Scaffold with Compose Navigation
I have a Scaffold at the root level of app where I host the navigation. This scaffold doesn't have a top app bar and only contains a FAB. Then, in one of the destinations, I am using another Scaffold which does have a top app bar.
Now, wh... | https://stackoverflow.com/questions/78937752/topappbar-has-unknown-padding-when-using-nested-scaffold-with-compose-navigation | android, android-jetpack-compose, material-design, material3 | 1,725,205,632 |
se_79949377 | stackoverflow | MOBILE_DEVELOPMENT | Requesting storage permission (in my own app for my own personal use) | Requesting storage permission (in my own app for my own personal use)
Edit
The answer to my question turned out to be much simpler than I realised. On my Samsung phone there is a page called "All files access" in Settings>Apps>3-dot menu>Special access called "All files access". (Searching in Settings for "all files" ... | https://stackoverflow.com/questions/79949377/requesting-storage-permission-in-my-own-app-for-my-own-personal-use | android, permissions, android-external-storage | 1,780,253,494 |
se_79773642 | stackoverflow | MOBILE_DEVELOPMENT | "Your app must support 16 KB memory page sizes by November 1, 2025". How can I fix this issue in my app? I have React Native version 0.72.1 | "Your app must support 16 KB memory page sizes by November 1, 2025". How can I fix this issue in my app? I have React Native version 0.72.1
The message:
The issue arises from the interaction between Android’s memory page size and the alignment of native libraries (.so files) in your APK.
On most Android dev... | https://stackoverflow.com/questions/79773642/your-app-must-support-16-kb-memory-page-sizes-by-november-1-2025-how-can-i-f | android, react-native, 16kb-page-size | 1,758,712,272 |
se_79949770 | stackoverflow | MOBILE_DEVELOPMENT | Android app crashes when trying to open jpg file (Android 16) FileNotFoundException | Android app crashes when trying to open jpg file (Android 16) FileNotFoundException
Edit:
The app crash was caused by the absence of "All files access" permission. As CommonsWare pointed out in a Comment below this permission can be granted via a Settings page called "All files access".
Note: this app is only for my o... | https://stackoverflow.com/questions/79949770/android-app-crashes-when-trying-to-open-jpg-file-android-16-filenotfoundexcept | android, filenotfoundexception, permission-denied | 1,780,326,534 |
se_65465521 | stackoverflow | MOBILE_DEVELOPMENT | "Try correcting the name to the name of an existing getter, or defining a getter or field named" | "Try correcting the name to the name of an existing getter, or defining a getter or field named"
My Main.Dart File:
import 'package:flutter/material.dart';
void main() => runApp(MaterialApp(
home: QuoteList() ,
));
class QuoteList extends StatefulWidget {
List<String> quotes = [
"Hello World"
"I... | https://stackoverflow.com/questions/65465521/try-correcting-the-name-to-the-name-of-an-existing-getter-or-defining-a-getter | android, flutter, dart, zappdev | 1,609,070,600 |
se_21110322 | stackoverflow | MOBILE_DEVELOPMENT | How to set height of actionbar tabs for android | How to set height of actionbar tabs for android
Basically, I want to change the height of the tabs in actionbars. This questions has been asked several times on stackoverflow, for example:
ActionBar tabs height
I have tried most of the solutions but nothing work, here is my code.
<style name="CustomActionBarTheme"... | https://stackoverflow.com/questions/21110322/how-to-set-height-of-actionbar-tabs-for-android | android, android-layout, android-fragments, android-tabs, android-styles | 1,389,692,921 |
se_54919848 | stackoverflow | MOBILE_DEVELOPMENT | error: incompatible types: NonExistentClass cannot be converted to Annotation @error.NonExistentClass() | error: incompatible types: NonExistentClass cannot be converted to Annotation @error.NonExistentClass()
I am trying to generate Doka docs of my project. While generating I am getting an error like above. I have searched so many but could not able to get solution to this. I have gone through this link also. Here it is ... | https://stackoverflow.com/questions/54919848/error-incompatible-types-nonexistentclass-cannot-be-converted-to-annotation-e | android, kotlin, dagger-2, dagger, kotlin-dokka | 1,551,336,183 |
se_33362778 | stackoverflow | MOBILE_DEVELOPMENT | How to add notification in webview? | How to add notification in webview?
I have created a webview app which working is perfectly fine with a website say xyz.com
The app is made for small scale purpose and for personal use. (Not uploaded in play store)
Generally when I change some content in the website - Index.html(say) the app also gets update as it... | https://stackoverflow.com/questions/33362778/how-to-add-notification-in-webview | android, webview, notifications, push-notification, android-webview | 1,445,933,689 |
se_31614523 | stackoverflow | MOBILE_DEVELOPMENT | EMM - Device lock | EMM - Device lock
I were testing General Device Operations on my android tablet, and activate the device lock, and then removing it. but when I enter my password on my tablet it said 'wrong password'. Then I enterprise wipe so that emm setting eraised from my device.
The password was same as the pass using for encryp... | https://stackoverflow.com/questions/31614523/emm-device-lock | android, wso2, wso2-iot | 1,437,752,119 |
se_36967633 | stackoverflow | MOBILE_DEVELOPMENT | I delete an entry in SQLite database, then I got mixed order in ListView? | I delete an entry in SQLite database, then I got mixed order in ListView?
Hi I am making an app where I execute in the MainActivity a line of code like
ArrayList<Notes> array_list = mydb.getAllNotes();
here I get all rows in the database but then I have an option to delete one and I do it, when I do it it deletes t... | https://stackoverflow.com/questions/36967633/i-delete-an-entry-in-sqlite-database-then-i-got-mixed-order-in-listview | android | 1,462,112,154 |
se_15809391 | stackoverflow | MOBILE_DEVELOPMENT | Soap Throws java.io.IOException: HTTP request failed, HTTP status: 500 | Soap Throws java.io.IOException: HTTP request failed, HTTP status: 500
Actually I used this code to access this web service FahrenheitToCelsius Method, am getting the correct response, but when I tried to access my webservice am getting
java.io.IOException: HTTP request failed, HTTP status: 500
error and it is... | https://stackoverflow.com/questions/15809391/soap-throws-java-io-ioexception-http-request-failed-http-status-500 | android, soap, ioexception, ksoap2 | 1,365,073,530 |
se_37519245 | stackoverflow | MOBILE_DEVELOPMENT | Accessibility service in Android keeps getting disabled | Accessibility service in Android keeps getting disabled
I have developed an Android application which is based on an accessibility service. But I have a problem and I can't find any help on the Internet. When I install the application on any device, evidently it doesn't start to work until:
I go to accessibility set... | https://stackoverflow.com/questions/37519245/accessibility-service-in-android-keeps-getting-disabled | java, android, accessibilityservice | 1,464,590,831 |
se_50705658 | stackoverflow | MOBILE_DEVELOPMENT | How to sign an apk through command line | How to sign an apk through command line
Be informed that we have created an apk file through command line with the help of Android SDK. Now since uploading it to google play store needs the apk to be signed. How shall we do this. | https://stackoverflow.com/questions/50705658/how-to-sign-an-apk-through-command-line | android, apk, signed-apk | 1,528,219,172 |
se_33953672 | stackoverflow | MOBILE_DEVELOPMENT | Android Studio ClassNotFoundException: com.mysql.jdbc.Driver after adding module | Android Studio ClassNotFoundException: com.mysql.jdbc.Driver after adding module
The error I am getting is java.lang.ClassNotFoundException: com.mysql.jdbc.Driver even though I have already added the .jar file by going to file -> project structure -> import .JAR Package. What could be the issue here? Image of module i... | https://stackoverflow.com/questions/33953672/android-studio-classnotfoundexception-com-mysql-jdbc-driver-after-adding-module | android, mysql, jdbc | 1,448,614,886 |
se_31544022 | stackoverflow | MOBILE_DEVELOPMENT | SQLite: select items based on distance (latitude and longitude) | SQLite: select items based on distance (latitude and longitude)
I have a table in which items are stored using the geographic location based on latitude and longitude. At one point I want to retrieve only those items from the database that are in a specific range (distance or radius) of my current position.
Item (lat... | https://stackoverflow.com/questions/31544022/sqlite-select-items-based-on-distance-latitude-and-longitude | android, sqlite, google-maps | 1,437,494,234 |
se_79948353 | stackoverflow | MOBILE_DEVELOPMENT | Missing MEDIA_LIBRARY permissions appears suddenly after months of usage | Missing MEDIA_LIBRARY permissions appears suddenly after months of usage
Recently an Android app of mine, developed using Expo SDK 53, has been giving the error Missing MEDIA_LIBRARY permissions when adding photos to the gallery.
Briefly, the app allows the user to take some photos using expo-camera. This photos are n... | https://stackoverflow.com/questions/79948353/missing-media-library-permissions-appears-suddenly-after-months-of-usage | android, permissions, expo | 1,780,044,315 |
se_22604627 | stackoverflow | MOBILE_DEVELOPMENT | Gradle buildConfigField BuildConfig cannot resolve symbol | Gradle buildConfigField BuildConfig cannot resolve symbol
I am using Gradle to build my Android application. I am trying to use some flags based on the build type (release or debug).
My Gradle file looks like this:
android {
buildTypes {
debug {
buildConfigField 'boolean', 'PREPROD', 'true'
... | https://stackoverflow.com/questions/22604627/gradle-buildconfigfield-buildconfig-cannot-resolve-symbol | android, gradle, buildconfig | 1,395,650,836 |
se_31558124 | stackoverflow | MOBILE_DEVELOPMENT | Strange behavior of listview in Android | Strange behavior of listview in Android
I am using a listview in which there is a textview.
A dialog is opened when the textView is clicked and the user can set a new value to the textview, but when ever I scroll the changes get reverted, and the selected distributor name is not displayed.
Can anybody tell me what is ... | https://stackoverflow.com/questions/31558124/strange-behavior-of-listview-in-android | android, android-listview | 1,437,554,458 |
se_72376461 | stackoverflow | MOBILE_DEVELOPMENT | Appium cannot find by ID, can by Xpath | Appium cannot find by ID, can by Xpath
I am able to find elements by XPath but not by Id. I have tried in many ways as shown below
// I have tried everything below with By as well as MobileBy
var list = driver.FindElements(MobileBy.AccessibilityId("com.PACKAGE:id/ID"));
var list = driver.FindEl... | https://stackoverflow.com/questions/72376461/appium-cannot-find-by-id-can-by-xpath | android, appium, appium-android | 1,653,476,681 |
se_49249234 | stackoverflow | MOBILE_DEVELOPMENT | What is Parcelable in android | What is Parcelable in android
public static final Parcelable.Creator<MyParcelable> CREATOR
= new Parcelable.Creator<MyParcelable>() {
public MyParcelable createFromParcel(Parcel in) {
return new MyParcelable(in);
}
public MyParcelable[] newArray(int size) {
return new MyParce... | https://stackoverflow.com/questions/49249234/what-is-parcelable-in-android | java, android | 1,520,920,765 |
se_63705855 | stackoverflow | MOBILE_DEVELOPMENT | TWRP: Unable to mount storage; Internal Storage (0MB); Install process fails | TWRP: Unable to mount storage; Internal Storage (0MB); Install process fails
I've a phone with TWRP v2.8.6.0 with no OS installed. When I boot into recovery to install a new OS, TWRP can not mount the storage. Here is the complete log:
E: Unable to mount '/data'
E: Unable to recreate /data/media folder
Updating partit... | https://stackoverflow.com/questions/63705855/twrp-unable-to-mount-storage-internal-storage-0mb-install-process-fails | android, lineageos | 1,599,050,852 |
se_4893953 | stackoverflow | MOBILE_DEVELOPMENT | Run/install/debug Android applications over Wi-Fi? | Run/install/debug Android applications over Wi-Fi?
I thought there was a way to test your applications in development over Wi-Fi. Is this possible?
I'd love to be able to untether my phone and develop wirelessly. | https://stackoverflow.com/questions/4893953/run-install-debug-android-applications-over-wi-fi | android, debugging, adb, wifi | 1,296,786,218 |
se_5791337 | stackoverflow | MOBILE_DEVELOPMENT | "org.xmlpull.v1.XmlPullParserException: expected: START_TAG" Error | "org.xmlpull.v1.XmlPullParserException: expected: START_TAG" Error
In my application i am accessing some web services that are in my local system. When i am invoking this services from my PC, these all working abs fine but when these services called from another system. on the call i am receiving the error
... | https://stackoverflow.com/questions/5791337/org-xmlpull-v1-xmlpullparserexception-expected-start-tag-error | android, xml, web-services, soap, ksoap2 | 1,303,825,803 |
se_59928321 | stackoverflow | MOBILE_DEVELOPMENT | Could not create service of type FileAccessTimeJournal using GradleUserHomeScopeServices.createFileAccessTimeJournal() error in gradle | Could not create service of type FileAccessTimeJournal using GradleUserHomeScopeServices.createFileAccessTimeJournal() error in gradle
I am facing this issue while building flutter apps in VS Code and I could not find any simple solution for this issue. Please help me resolve this issue.
FAILURE: Build failed with an ... | https://stackoverflow.com/questions/59928321/could-not-create-service-of-type-fileaccesstimejournal-using-gradleuserhomescope | android, gradle, flutter, visual-studio-code | 1,580,117,649 |
se_40829303 | stackoverflow | MOBILE_DEVELOPMENT | Disconnected from the target VM, address: 'localhost:8613', transport: 'socket' for Android Studios version 2.2.2 | Disconnected from the target VM, address: 'localhost:8613', transport: 'socket' for Android Studios version 2.2.2
I have started using Android Studio versions 2.2.2 recently. But after I update my Android Studio to version 2.2.2, Im getting an error like this when i Debug the app:-
Connected to the ta... | https://stackoverflow.com/questions/40829303/disconnected-from-the-target-vm-address-localhost8613-transport-socket | android, sockets, adb, android-virtual-device | 1,480,252,068 |
se_2671404 | stackoverflow | MOBILE_DEVELOPMENT | AutoCompleteTextView not displaying result even when the ArrayAdapter is updated | AutoCompleteTextView not displaying result even when the ArrayAdapter is updated
I'm trying to get an AutoCompleteTextView(ACTV) to display results I'm a getting from a network resource. I have set the completion-treshold to 2 and I can see that the request is fired when I enter to characters.
The result I am getting... | https://stackoverflow.com/questions/2671404/autocompletetextview-not-displaying-result-even-when-the-arrayadapter-is-updated | android, adapter, autocompletetextview | 1,271,716,897 |
se_12038082 | stackoverflow | MOBILE_DEVELOPMENT | Diverting phone ringing to earphones | Diverting phone ringing to earphones
When there is a phone call and if im using my earphones,i want the sound of the ringtone to go through the earphones. In this app setSpeakerphoneon() is not working, any other ideas to stream the ringing through earphones when a call comes?
P.S:im using sdk 2.3.3 | https://stackoverflow.com/questions/12038082/diverting-phone-ringing-to-earphones | android, phone-call, ringtone, speaker, headphones | 1,345,467,287 |
se_68079350 | stackoverflow | MOBILE_DEVELOPMENT | Write External Storage Permission is always denied | Write External Storage Permission is always denied
I'm using Download Manager to download image in my Android app.
To obtain the WRITE_EXTERNAL_STORAGE permission I'm using Dexter library.
Dexter.withContext(getApplicationContext())
.withPermission(Manifest.permission.WRITE_EXTERNAL_STORAGE)
... | https://stackoverflow.com/questions/68079350/write-external-storage-permission-is-always-denied | android, permissions | 1,624,347,369 |
se_32876062 | stackoverflow | MOBILE_DEVELOPMENT | adb connect the same device twice (or more) | adb connect the same device twice (or more)
If I have an emulated Android device running on a network and it is accessible via adb, is it possible for multiple users to adb connect the same endpoint? | https://stackoverflow.com/questions/32876062/adb-connect-the-same-device-twice-or-more | android, adb | 1,443,649,191 |
se_79949344 | stackoverflow | MOBILE_DEVELOPMENT | Android emulator for Chrome/WebGL2 browser automation on a server | Android emulator for Chrome/WebGL2 browser automation on a server
I have a Python + ADB automation tool that opens Android Chrome, loads WebGL/WebGL2.0-heavy browser games, records short gameplay videos via scrcpy, and repeats the flow.
It works on a real Samsung Android phone over USB.
I want to run the same flow on ... | https://stackoverflow.com/questions/79949344/android-emulator-for-chrome-webgl2-browser-automation-on-a-server | android, google-chrome, server, android-emulator, webgl2 | 1,780,247,111 |
se_53089891 | stackoverflow | MOBILE_DEVELOPMENT | Special characters turn into squares | Special characters turn into squares
We've got an issue with our app in Android and would appreciate any help.
What's the issue?
Basically if special fonts are used, they will turn into squares on the app. Such as this font: 𝔰𝔱𝔞𝔠𝔨 𝔬𝔳𝔢𝔯𝔣𝔩𝔬𝔴 (taken from: https://lingojam.com/FancyTextGenerator).
This does... | https://stackoverflow.com/questions/53089891/special-characters-turn-into-squares | android, fonts | 1,541,010,552 |
se_64440313 | stackoverflow | MOBILE_DEVELOPMENT | How to reload fragment when button clicked | How to reload fragment when button clicked
I want to refresh fragment by clicking retry button in onCreateView.
If my internet is disconnected it must return fragment_no_internet_error layout. There is a button to reload fragment.
It gives me the error:
E/AndroidRuntime: FATAL EXCEPTION: main
Process: ir.hamedanme... | https://stackoverflow.com/questions/64440313/how-to-reload-fragment-when-button-clicked | java, android | 1,603,178,445 |
se_76382337 | stackoverflow | MOBILE_DEVELOPMENT | ml-kit - barcode-scanning android - Google code scanner | ml-kit - barcode-scanning android - Google code scanner
I am using Google code scanner Android MLKit for Barcode scanning. I am using below dependencies. I want the use bundled model so that initialisation time is not taken when app is launched. Is there a way can I use bundled version of model :
Please find below d... | https://stackoverflow.com/questions/76382337/ml-kit-barcode-scanning-android-google-code-scanner | android, kotlin, barcode-scanner, google-mlkit | 1,685,625,617 |
se_47615497 | stackoverflow | MOBILE_DEVELOPMENT | Android spinner custom layout | Android spinner custom layout
I am trying to customize my spinner with custom style.
Spinner
<Spinner
android:id="@+id/my_spinner"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/activity_vertical_margin"
... | https://stackoverflow.com/questions/47615497/android-spinner-custom-layout | android, android-layout, android-spinner | 1,512,278,105 |
se_33592592 | stackoverflow | MOBILE_DEVELOPMENT | Why does an InflateException (Caused by ClassNotFoundException) occur? | Why does an InflateException (Caused by ClassNotFoundException) occur?
I am developing a metronome app. I am doing the part where I let people to select the tempo. And looks something like this:
Tempo: <-- TextView
90 <-- EditText
--O------ <-- SeekBar
But then I changed my mind and changed the ... | https://stackoverflow.com/questions/33592592/why-does-an-inflateexception-caused-by-classnotfoundexception-occur | java, android, android-xml, classnotfoundexception, android-inflate | 1,446,975,544 |
se_79948884 | stackoverflow | MOBILE_DEVELOPMENT | Build problem with android studio from android-ndk-r27c to android-ndk-r29 | Build problem with android studio from android-ndk-r27c to android-ndk-r29
I am a little bit lost with Android setup using NDK.
I use gradle plugin version 7.2.2 and Gradle version 7.4. So I should be able to use ndkDir in the build.gradle file is the setup is done in local.properties file and
-DCMAKE_C_COMPILER=C:\\a... | https://stackoverflow.com/questions/79948884/build-problem-with-android-studio-from-android-ndk-r27c-to-android-ndk-r29 | android, cmake, android-ndk | 1,780,144,156 |
se_55349478 | stackoverflow | MOBILE_DEVELOPMENT | Access denied finding property "vendor.camera.aux.packagelist" | Access denied finding property "vendor.camera.aux.packagelist"
I copy part of the firebase-mlkit sample code only for Image labeling. When I run on my Nokia 6.1 and got the following error message:-
type=1400 audit(0.0:4015): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ... | https://stackoverflow.com/questions/55349478/access-denied-finding-property-vendor-camera-aux-packagelist | android, firebase-mlkit | 1,553,571,220 |
se_79923861 | stackoverflow | MOBILE_DEVELOPMENT | I can't play this specific clearkey drm in my app | I can't play this specific clearkey drm in my app
I tried this stream in other players, they played it perfectly. While, my app isn't able to play this, there shows a blank screen in my app. But, it's playable in other iptv players. Please, tell me how to fix it.
Here's showing blank screen in my app.
It's playing... | https://stackoverflow.com/questions/79923861/i-cant-play-this-specific-clearkey-drm-in-my-app | android, kotlin, exoplayer | 1,775,875,140 |
se_34441978 | stackoverflow | MOBILE_DEVELOPMENT | Can I run an adb shell command in C# and not have it interrupted when I unplug the USB cable? | Can I run an adb shell command in C# and not have it interrupted when I unplug the USB cable?
I'm running adb shell commands using the method described below
System.Diagnostics.ProcessStartInfo procStartInfo = new System.Diagnostics.ProcessStartInfo("cmd.exe", "/c " + cmd);
procStartInfo.RedirectStandardInput = true;... | https://stackoverflow.com/questions/34441978/can-i-run-an-adb-shell-command-in-c-and-not-have-it-interrupted-when-i-unplug-t | c#, android, shell, console, adb | 1,450,896,776 |
se_72347586 | stackoverflow | MOBILE_DEVELOPMENT | How to solve Could not determine the dependencies of task ':app:compileDebugJavaWithJavac' - Android | How to solve Could not determine the dependencies of task ':app:compileDebugJavaWithJavac' - Android
I am trying to run Android project in an AVD Manager. When the program compiles it throws an exception.
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Installed Build Tools r... | https://stackoverflow.com/questions/72347586/how-to-solve-could-not-determine-the-dependencies-of-task-appcompiledebugjava | java, android, android-studio, javac | 1,653,304,375 |
se_50386582 | stackoverflow | MOBILE_DEVELOPMENT | Getting fatal error: 'features.h' file not found #include <features.h> while trying to generate .so files for pjsip android | Getting fatal error: 'features.h' file not found #include <features.h> while trying to generate .so files for pjsip android
I am using CSipSimple library for VoIP calling feature in my android app and recently my app was rejected on play store because the OpenSSL version with these libs was old. I need t... | https://stackoverflow.com/questions/50386582/getting-fatal-error-features-h-file-not-found-include-features-h-while-try | android, pjsip, csip-simple | 1,526,545,166 |
se_47549030 | stackoverflow | MOBILE_DEVELOPMENT | AudioRecord not enough memory for AudioTrack | AudioRecord not enough memory for AudioTrack
I am trying to build an Android application that records X number of seconds and saves the file in .wav format
The problem is that if I input more than 47 seconds ( 48 and above) I get the following errors:
11-29 10:58:39.315 399-1548/? V/audio_hw_primary: disable_audio_r... | https://stackoverflow.com/questions/47549030/audiorecord-not-enough-memory-for-audiotrack | android, audio, wav, audiorecord, audiotrack | 1,511,946,991 |
se_69882114 | stackoverflow | MOBILE_DEVELOPMENT | Cordova 10 doesn't accept engine TAG | Cordova 10 doesn't accept engine TAG
We need to update our Cordova core up to version 10 in order to accomplish new social requirements (eg. Facebook).
We are encountering a problem at build time. Even if we are adding the "engine" specification inside the config.xml file, at log the following message is returned:... | https://stackoverflow.com/questions/69882114/cordova-10-doesnt-accept-engine-tag | android, cordova, ionic-framework, cordova-android | 1,636,367,887 |
se_43471357 | stackoverflow | MOBILE_DEVELOPMENT | Add to cart design working in android | Add to cart design working in android
I am working on app which is some what similar to e-commerce app. User can add products to cart.
I have two arrayLists of mention below.
public ArrayList<Design> cartList = new ArrayList<Design>();
public ArrayList<Design> designList = new ArrayList<Design>();
One for showing ... | https://stackoverflow.com/questions/43471357/add-to-cart-design-working-in-android | java, android, android-recyclerview | 1,492,516,276 |
se_70374057 | stackoverflow | MOBILE_DEVELOPMENT | Buttons in AbsoluteLayout are not showing except for one Button | Buttons in AbsoluteLayout are not showing except for one Button
<?xml version="1.0" encoding="utf-8"?>
<AbsoluteLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_pa... | https://stackoverflow.com/questions/70374057/buttons-in-absolutelayout-are-not-showing-except-for-one-button | java, android | 1,639,631,183 |
se_6515441 | stackoverflow | MOBILE_DEVELOPMENT | How to make an ODBC connection in Android? | How to make an ODBC connection in Android?
I am wondering if there is a way to make an ODBC connection to a sql azure database through android. What I am trying to do is make an app that lists farmer info for a coffee company Ex(Name, Cupping, etc). That info is stored on a sql-server database. If it is possible what ... | https://stackoverflow.com/questions/6515441/how-to-make-an-odbc-connection-in-android | java, android, sql-server, odbc | 1,309,318,012 |
se_79948748 | stackoverflow | MOBILE_DEVELOPMENT | Robolectric on Windows does not run | Robolectric on Windows does not run
When trying to run a robolectric test on a Windows machine, I get the following issue:
ava.lang.AssertionError: Unable to load Robolectric native runtime library
at org.robolectric.nativeruntime.DefaultNativeRuntimeLoader.ensureLoaded(DefaultNativeRuntimeLoader.java:234)
at ... | https://stackoverflow.com/questions/79948748/robolectric-on-windows-does-not-run | android, robolectric | 1,780,105,605 |
se_42170889 | stackoverflow | MOBILE_DEVELOPMENT | Android: Is there a way to disable notification bundling? | Android: Is there a way to disable notification bundling?
I have an app where the user can receive multiple notifications for things they need to do. The user has a choice of making some of these notifications persistent (which I achieve by calling NotificationCompat.Builder.setOngoing). At least on my version of Andr... | https://stackoverflow.com/questions/42170889/android-is-there-a-way-to-disable-notification-bundling | android, android-notifications | 1,486,773,613 |
se_31596289 | stackoverflow | MOBILE_DEVELOPMENT | How to implement a refresh token process with JWT for Android apps | How to implement a refresh token process with JWT for Android apps
I'm working on a Oauth2 Token system to access my REST API for my Android app. I'm having some problems with the token refreshment part on the client side.
Here is the flow: My app makes a request (with an access Token in parameter) to the server thank... | https://stackoverflow.com/questions/31596289/how-to-implement-a-refresh-token-process-with-jwt-for-android-apps | android, android-asynctask, oauth-2.0, android-volley, jwt | 1,437,679,191 |
se_33029323 | stackoverflow | MOBILE_DEVELOPMENT | Android upload image into the server using Volley library | Android upload image into the server using Volley library
I want to upload my captured images from camera to my 000webhost.com server using the volley library.
I want where I am getting wrong and suggest me full code solution.
I have tried to write the code, But its not working.
I am getting error as follows:
D/UR... | https://stackoverflow.com/questions/33029323/android-upload-image-into-the-server-using-volley-library | php, android, android-volley | 1,444,360,610 |
se_66436912 | stackoverflow | MOBILE_DEVELOPMENT | how to fix com.android.volley.ClientError in android studio | how to fix com.android.volley.ClientError in android studio
when i click login button, that alert will show up, i use com.android.volley:volley:1.1.1
and for api, i use restframework from python
this is my mainactivity.java code
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedIn... | https://stackoverflow.com/questions/66436912/how-to-fix-com-android-volley-clienterror-in-android-studio | android, android-studio, android-volley | 1,614,678,311 |
se_6592593 | stackoverflow | MOBILE_DEVELOPMENT | Displaying full screen image by clicking on grid item in Gridview | Displaying full screen image by clicking on grid item in Gridview
I want to display full screen image by clicking on the grid view item.I am done with grid view but no idea how to do this. Please give me some idea to do this??
Thanks....!
mGridView.setOnItemClickListener(new OnItemClickListener() {
@Over... | https://stackoverflow.com/questions/6592593/displaying-full-screen-image-by-clicking-on-grid-item-in-gridview | android | 1,309,935,255 |
se_53802400 | stackoverflow | MOBILE_DEVELOPMENT | adb shell "screencap -p /sdcard/screen.png" failes with "No space left on device", but there is enough space | adb shell "screencap -p /sdcard/screen.png" failes with "No space left on device", but there is enough space
Did somebody experience and solved such a problem?
We use adb shell screencap command to catch screenshots on Android device:
//catch and download screenshot
adb shell "screencap -p /sdca... | https://stackoverflow.com/questions/53802400/adb-shell-screencap-p-sdcard-screen-png-failes-with-no-space-left-on-device | android, adb, screen-capture | 1,544,965,433 |
se_79948364 | stackoverflow | MOBILE_DEVELOPMENT | .NET MAUI 10 - Can't scroll to bottom of ScrollView if keyboard is visible | .NET MAUI 10 - Can't scroll to bottom of ScrollView if keyboard is visible
I noticed the following weird behavior and I can't figure out what I am doing wrong.
(I am using .NET MAUI 10 and testing currently on Android.)
If I select Editor -> scroll up -> enter text -> UI jumps to editor -> I can scroll to the bott... | https://stackoverflow.com/questions/79948364/net-maui-10-cant-scroll-to-bottom-of-scrollview-if-keyboard-is-visible | android, keyboard, maui, scrollview | 1,780,044,874 |
se_79948330 | stackoverflow | MOBILE_DEVELOPMENT | expo-video PiP behaves very differently on iOS vs Android | expo-video PiP behaves very differently on iOS vs Android
In SDK 54 docs, startPictureInPicture() is documented identically for Android and iOS, and I don’t see any documented known issue explaining why manual PiP would feel video-scoped on iOS but activity/app-scoped on Android. Is this an undocumented platform diffe... | https://stackoverflow.com/questions/79948330/expo-video-pip-behaves-very-differently-on-ios-vs-android | android, expo, picture-in-picture, android-picture-in-picture | 1,780,041,970 |
se_14377401 | stackoverflow | MOBILE_DEVELOPMENT | Android application connecting to wifi printer to take print | Android application connecting to wifi printer to take print
I am new to android programming,I got a chance to work with (wifi printers).In my application I have a pdf file which needs to be taken a printout by using wifi printer
I didnt have much idea on this,but after doing a research I got that,there are 3 things... | https://stackoverflow.com/questions/14377401/android-application-connecting-to-wifi-printer-to-take-print | android | 1,358,419,842 |
se_8419093 | stackoverflow | MOBILE_DEVELOPMENT | Android cancel event when cancel button is pressed | Android cancel event when cancel button is pressed
In my project, when I press confirm button, data will save on sqlite.
I want to make cancel button which works cancel, not inserting data into database.
How can I do?
I am using onSaveInstanceState.
Please help me. Thanks.
cancelBtn.setOnClickListener(new View.OnClic... | https://stackoverflow.com/questions/8419093/android-cancel-event-when-cancel-button-is-pressed | android | 1,323,276,398 |
se_79948136 | stackoverflow | MOBILE_DEVELOPMENT | Icon guidelines for Dynamic App Shortcuts in Android | Icon guidelines for Dynamic App Shortcuts in Android
I can't seem to get my head around how to design the icons for my app shortcuts that I handle dynamically at runtime.
When reviewing most of Google apps, I can't see consistency in the designs:
some shortcuts come with a custom background
some shortcuts have color... | https://stackoverflow.com/questions/79948136/icon-guidelines-for-dynamic-app-shortcuts-in-android | android, kotlin, drawable, android-shortcut, adaptive-icon | 1,780,002,753 |
se_54061561 | stackoverflow | MOBILE_DEVELOPMENT | Permissions for Android Camera QR Scanner | Permissions for Android Camera QR Scanner
I am creating an android application and want to integrate ZXing QR Scanner. When i launch the QRScanner activity from an Intent I get the toast saying "Permission Denied, You cannot access and camera" and the app freezes instead of asking for permission for camera.
Any help ... | https://stackoverflow.com/questions/54061561/permissions-for-android-camera-qr-scanner | java, android, android-studio, qr-code, zxing | 1,546,778,245 |
se_34939506 | stackoverflow | MOBILE_DEVELOPMENT | Android: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference | Android: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference
Facing a problem with a practice app I'm working on. I'm facing a NullPointerException problem relating to the toString method. Being new to android app developmen... | https://stackoverflow.com/questions/34939506/android-java-lang-nullpointerexception-attempt-to-invoke-virtual-method-java | java, android, nullpointerexception, tostring | 1,453,439,945 |
se_45524286 | stackoverflow | MOBILE_DEVELOPMENT | Name must not be null in android gradle | Name must not be null in android gradle
I'm brand new to installing libraries in android studio and I've run into trouble. I keep on getting the error, name must not be null, when trying to set up my dependencies. I'm trying to install this library.
Here is the build.gradle code.
apply plugin: 'com.android.applicat... | https://stackoverflow.com/questions/45524286/name-must-not-be-null-in-android-gradle | android, gradle, null | 1,501,951,619 |
se_27686232 | stackoverflow | MOBILE_DEVELOPMENT | How to play .ts files from local on android? | How to play .ts files from local on android?
I have .m3u8 file which contain path of .ts files. I am using this for playing the audio music. I have these files stored locally in my SDCard. How should i use them to play from local?
I have multiple .ts files for one track. What path should I pprovide to the MediaPlayer... | https://stackoverflow.com/questions/27686232/how-to-play-ts-files-from-local-on-android | android, android-mediaplayer, m3u8 | 1,419,844,933 |
se_23244545 | stackoverflow | MOBILE_DEVELOPMENT | adb command to rotate the Android device (not emulator) display? | adb command to rotate the Android device (not emulator) display?
Is there any "adb command" or anything by which Android device (not emulator) display can get rotate i.e landscape to potrait and vice versa | https://stackoverflow.com/questions/23244545/adb-command-to-rotate-the-android-device-not-emulator-display | android | 1,398,256,734 |
se_79947715 | stackoverflow | MOBILE_DEVELOPMENT | Android HCE: setPreferredService() silently ignored despite foreground call, HostApduService never invoked | Android HCE: setPreferredService() silently ignored despite foreground call, HostApduService never invoked
Background
I have a transit card HCE app that emulates Korean KS X 6924 transit cards (T-money/Cashbee category AIDs). The app's HostApduService registers 6 transit AIDs under category="payment".
When the user op... | https://stackoverflow.com/questions/79947715/android-hce-setpreferredservice-silently-ignored-despite-foreground-call-hos | android, react-native, nfc | 1,779,949,676 |
se_19005114 | stackoverflow | MOBILE_DEVELOPMENT | Displaying values from database in TextView [Android] | Displaying values from database in TextView [Android]
I'm trying to display values from a database activity that is created within the application itself. The values were originally parsed from XML files and then stored into the DB. I have done a good amount of searching and tried several methods of reaching a solutio... | https://stackoverflow.com/questions/19005114/displaying-values-from-database-in-textview-android | android, database, rss, textview | 1,380,112,625 |
se_2453949 | stackoverflow | MOBILE_DEVELOPMENT | Android emulator: How to monitor network traffic? | Android emulator: How to monitor network traffic?
How do I monitor network traffic sent and received from my android emulator? | https://stackoverflow.com/questions/2453949/android-emulator-how-to-monitor-network-traffic | android, network-programming, emulation, traffic, sniffer | 1,268,739,603 |
se_79947429 | stackoverflow | MOBILE_DEVELOPMENT | Compose predictive back Android | Compose predictive back Android
I’m working on a fully Compose, single-activity project using Navigation Compose (Nav2), and I’m trying to implement predictive back.
The issue is: when I start the predictive back gesture, the animation begins correctly. But if I cancel the gesture before navigating back, the app stays... | https://stackoverflow.com/questions/79947429/compose-predictive-back-android | android, navigation, android-jetpack-compose | 1,779,892,009 |
se_79946408 | stackoverflow | MOBILE_DEVELOPMENT | Xamarin Forms full screen splash screen on Android 12+ | Xamarin Forms full screen splash screen on Android 12+
I need to add a full screen on a Xamarin Forms app.
The app will not be used on IOS, only Android 12+.
I'm looking for a solution that work on this O.S. versions since everything I found and tried until now does not work on newest Android, but only show the rounde... | https://stackoverflow.com/questions/79946408/xamarin-forms-full-screen-splash-screen-on-android-12 | android, xamarin, xamarin.forms | 1,779,730,927 |
se_35394526 | stackoverflow | MOBILE_DEVELOPMENT | whatsapp on Android does not recognize full url as link | whatsapp on Android does not recognize full url as link
I am building a Web platform that allows to share a link with a custom parameter (a coupon code that is generated dynamically). This link can be pasted into Whatsapp. Everything works fine by using whatsapp Web and under iOS. However, in the Android Whatsapp appl... | https://stackoverflow.com/questions/35394526/whatsapp-on-android-does-not-recognize-full-url-as-link | android, hyperlink, whatsapp | 1,455,469,438 |
se_7016384 | stackoverflow | MOBILE_DEVELOPMENT | Android open server to send datas over inner network, to my PC (over WIFI) | Android open server to send datas over inner network, to my PC (over WIFI)
I have an android phone, i d like to send some stream's, to my computer. (192.168.1....:8080)
What is the best way of it?
So i d like to run a test:
i'd like to "look" all my windows files on my phone,
i'd like to send maybe a camera strea... | https://stackoverflow.com/questions/7016384/android-open-server-to-send-datas-over-inner-network-to-my-pc-over-wifi | android | 1,313,003,472 |
se_79946909 | stackoverflow | MOBILE_DEVELOPMENT | Create a tableview in Android: How to define the column-width in RecyclerView with fixed header? | Create a tableview in Android: How to define the column-width in RecyclerView with fixed header?
In android java I want to implement a table view using a RecyclerView
The table should have a fixed header (that is always visible) and there should be columns with different with-s.
My current prototyp looks like this:
... | https://stackoverflow.com/questions/79946909/create-a-tableview-in-android-how-to-define-the-column-width-in-recyclerview-wi | java, android, android-recyclerview, column-width | 1,779,818,451 |
se_64909510 | stackoverflow | MOBILE_DEVELOPMENT | Textfield listener on Jetpack compose? | Textfield listener on Jetpack compose?
hi i am trying to use a textfield that upon value changes, i want it to execute a function that filters out a list of items based on the text inputted?
It does not seem to do anything.
I tried adding the searchFilter function call inside onValueChanges but upon clicking on the te... | https://stackoverflow.com/questions/64909510/textfield-listener-on-jetpack-compose | android, kotlin, android-jetpack-compose | 1,605,780,713 |
se_34644642 | stackoverflow | MOBILE_DEVELOPMENT | 'Allow [app name] to make and manage phone calls' permission and READ_PHONE_STATE | 'Allow [app name] to make and manage phone calls' permission and READ_PHONE_STATE
I have a Unity app (v5.2.4) built for Android that is asking for permission to 'make and manage phone calls' on Android (v6.0.1). Does some research it seems that it might be related to the READ_PHONE_STATE.
So I stripped out t... | https://stackoverflow.com/questions/34644642/allow-app-name-to-make-and-manage-phone-calls-permission-and-read-phone-stat | android, unity-game-engine, android-manifest, android-permissions, android-6.0-marshmallow | 1,452,122,037 |
se_37086806 | stackoverflow | MOBILE_DEVELOPMENT | Android Studio - Failed to apply plugin [id 'com.android.application'] | Android Studio - Failed to apply plugin [id 'com.android.application']
I am working on an app. In my app there is no error in code but when I try to run my project it gives following errors.
Error:(1, 1) A problem occurred evaluating project ':app'.
Failed to apply plugin [id 'com.android.application']
Could ... | https://stackoverflow.com/questions/37086806/android-studio-failed-to-apply-plugin-id-com-android-application | android, android-gradle-plugin | 1,462,613,295 |
se_79947339 | stackoverflow | MOBILE_DEVELOPMENT | Sending SMS in newer (API 36.1-ish) versions of Android | Sending SMS in newer (API 36.1-ish) versions of Android
TL;DR: How to bypass recent limitations on what apps can send messages without being the Default SMS app?
I am trying to build an Android app (MinAPILevel: 24. TargetAPILevel: 36) that needs to send messages, and I'm using the SMSManager given by the getDefault()... | https://stackoverflow.com/questions/79947339/sending-sms-in-newer-api-36-1-ish-versions-of-android | android, sms, android-permissions | 1,779,883,671 |
se_79947320 | stackoverflow | MOBILE_DEVELOPMENT | QML Profiler Debug connection failed | QML Profiler Debug connection failed
I am not able to run QML Profiler with my android QT Quick project. My environment: Windows 10, Qt Creator 19.0.2.
After run QML Profiler I've got the following output:
General Messages:
QML Profiler: Socket state changed to QAbstractSocket::HostLookupState
QML Profiler: Socket st... | https://stackoverflow.com/questions/79947320/qml-profiler-debug-connection-failed | android, qt, qml, qt-creator | 1,779,881,852 |
se_73991724 | stackoverflow | MOBILE_DEVELOPMENT | Get Cellinfo for dual sim (Primary -physical sim and Secondary E-sim) Android | Get Cellinfo for dual sim (Primary -physical sim and Secondary E-sim) Android
Background: As mentioned in the header, I use two sims (one physical and one Esim). Either one can be made primary sim as required by the user. Also, both the sims are active at the same time.
My app involves getting cellinfo and signal stre... | https://stackoverflow.com/questions/73991724/get-cellinfo-for-dual-sim-primary-physical-sim-and-secondary-e-sim-android | android, telephonymanager, signal-strength, dual-sim, cellinfo | 1,665,169,852 |
se_68873269 | stackoverflow | MOBILE_DEVELOPMENT | How do I disable SIM slot 1 in Android API Level 27 | How do I disable SIM slot 1 in Android API Level 27
I am trying to disable SIM Slot 1 in an application built in Kotlin.
This application is for API Level 27(Android 8.1, will be part of built-in app in the ROM), and you can assume that I can gain whatever permissions from the system as we are dealing with the ROM bui... | https://stackoverflow.com/questions/68873269/how-do-i-disable-sim-slot-1-in-android-api-level-27 | android, telephonymanager, android-8.1-oreo, dual-sim | 1,629,550,890 |
se_79809003 | stackoverflow | MOBILE_DEVELOPMENT | GrpcStreamingCall client buffers packets and flushes only after timeout — not receiving events in real-time | GrpcStreamingCall client buffers packets and flushes only after timeout — not receiving events in real-time
I'm using com.squareup.wire.GrpcStreamingCall along with OkHttp in a Kotlin mobile app to stream gRPC events from a backend service. The issue I'm facing is that the client does not receive the streamed packets ... | https://stackoverflow.com/questions/79809003/grpcstreamingcall-client-buffers-packets-and-flushes-only-after-timeout-not-re | android, kotlin, grpc, square-wire | 1,762,264,852 |
se_5376504 | stackoverflow | MOBILE_DEVELOPMENT | Error when installing my app on the phone | Error when installing my app on the phone
I have a LG P500 with Android 2.2 and when I want to install any .apk a message appears:
"There is problem parsing package" | https://stackoverflow.com/questions/5376504/error-when-installing-my-app-on-the-phone | android | 1,300,704,080 |
se_10726762 | stackoverflow | MOBILE_DEVELOPMENT | Converting audio on android to mp3 or AAC | Converting audio on android to mp3 or AAC
I am recording audio from mic and save it to .mp4 - it is AMR format. How to convert this audio to mp3 or AAC?
I saw this post and I did not understand it - I am new in android.
Is there some easy library for android that can work with mp3? I googled whole day and not found n... | https://stackoverflow.com/questions/10726762/converting-audio-on-android-to-mp3-or-aac | android, audio, mp3, aac | 1,337,802,235 |
se_79946946 | stackoverflow | MOBILE_DEVELOPMENT | [runtime not ready]: Invariant Violation: TurboModuleRegistry.getEnforcing(...): could not be found | [runtime not ready]: Invariant Violation: TurboModuleRegistry.getEnforcing(...): could not be found
I'm receiving this error in my app and I'm not sure how I can resolve it because I was looking for a solution on internet and everything the solves are clean the project and re-run but this don't work for my case
Full ... | https://stackoverflow.com/questions/79946946/runtime-not-ready-invariant-violation-turbomoduleregistry-getenforcing | android, ios, react-native, react-native-turbomodule | 1,779,823,191 |
se_74206106 | stackoverflow | MOBILE_DEVELOPMENT | Get Card Number and Expire Data of Visa card through APDU commands (ISO 7816) | Get Card Number and Expire Data of Visa card through APDU commands (ISO 7816)
Trying to get cardNumber and expire data of my visa card, but always get 6700 response.
// 80 A8 00 00 12 83 10 F6 20 C0 00 00 00 00 00 00 01 76 20 60 B9 06 43 00
val step3 = sendCommand("80A80000128310F620C000000000000001762060B9064300")
va... | https://stackoverflow.com/questions/74206106/get-card-number-and-expire-data-of-visa-card-through-apdu-commands-iso-7816 | android, apdu, emv, iso-7816-4 | 1,666,779,550 |
se_37637952 | stackoverflow | MOBILE_DEVELOPMENT | How to store results from QR Code after scanning? | How to store results from QR Code after scanning?
I'm relatively new to Android Studio. I'm working on a QR code scanner. I found this online and I'm just working with it:
import android.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import com.go... | https://stackoverflow.com/questions/37637952/how-to-store-results-from-qr-code-after-scanning | java, android, qr-code | 1,465,094,765 |
se_31976765 | stackoverflow | MOBILE_DEVELOPMENT | Use Uri.encode implementation in Java library | Use Uri.encode implementation in Java library
I am implementing a Java library. In the library, I am required to use Java equivalent of Android's Uri.encode() method. Though initially I thought of using something like:
encodedString = URLEncoder.encode(originalString, "UTF-8")
.replaceAll("\\+", "%20")
.re... | https://stackoverflow.com/questions/31976765/use-uri-encode-implementation-in-java-library | java, android | 1,439,420,146 |
se_70841447 | stackoverflow | MOBILE_DEVELOPMENT | How do I delete a release from Google Play Console? | How do I delete a release from Google Play Console?
I made a necessary update to my game while the first bundle that I uploaded is still in review. How do I delete the previous release, because I don't want to waste time with 2 releases being reviewed and published? This is for my graduation project and I'm running ve... | https://stackoverflow.com/questions/70841447/how-do-i-delete-a-release-from-google-play-console | android, google-play, google-play-console | 1,643,064,668 |
se_31626667 | stackoverflow | MOBILE_DEVELOPMENT | Exporting Subview of Fragment from another Fragment as Png | Exporting Subview of Fragment from another Fragment as Png
How do I export a subview of a fragment from another fragment as Png?
Context
I'm creating an app, which allows the user to create a personalized CV. The user can submit information regarding their job-experience and skills. As a result the user is able to exp... | https://stackoverflow.com/questions/31626667/exporting-subview-of-fragment-from-another-fragment-as-png | android, xml, android-fragments, export, png | 1,437,828,912 |
se_46483852 | stackoverflow | MOBILE_DEVELOPMENT | GL_INVALID_FRAMEBUFFER_OPERATION: Framebuffer is not complete or incompatible with command | GL_INVALID_FRAMEBUFFER_OPERATION: Framebuffer is not complete or incompatible with command
i have made a 360 image viewer on unity and i am changing image texture dynamically using c# script , so its work fine on PC unity but when i run it on android device it say error below:
OPENGL NATIVE PLUG-IN ERROR: GL_INVALID_... | https://stackoverflow.com/questions/46483852/gl-invalid-framebuffer-operation-framebuffer-is-not-complete-or-incompatible-wi | android, unity-game-engine, google-cardboard | 1,506,670,082 |
se_75331666 | stackoverflow | MOBILE_DEVELOPMENT | art::ConditionVariable::WaitHoldingLocks(art::Thread*) | art::ConditionVariable::WaitHoldingLocks(art::Thread*)
Our mobile app is published in the Google play store. The Crashes and ANR report is generated in Firebase Crashlytics. There is an ANR shown as below.
0 libc.so (syscall+28)
1 libart.so(art::ConditionVariable::WaitHoldingLocks(art::Thread*)+140)
2 libart.so(art::T... | https://stackoverflow.com/questions/75331666/artconditionvariablewaitholdinglocksartthread | android, firebase, crashlytics, libc, anr | 1,675,400,076 |
se_34034498 | stackoverflow | MOBILE_DEVELOPMENT | Best way for Multiple Screen Support - Android Studio | Best way for Multiple Screen Support - Android Studio
To support multiple screen size, what is the best way to do so ?
in my manifest, i created the
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:resizeable="true"
android:smallScreens="... | https://stackoverflow.com/questions/34034498/best-way-for-multiple-screen-support-android-studio | android, android-screen-support | 1,449,027,634 |
se_75990273 | stackoverflow | MOBILE_DEVELOPMENT | What is the cxx folder under android in react native project | What is the cxx folder under android in react native project
When I build the project for android there is a cxx folder created under android/app/. When I clean the project either through Android Studio or using ./gradlew clean, this folder sometimes causes problems because the references are incorrect because I've ch... | https://stackoverflow.com/questions/75990273/what-is-the-cxx-folder-under-android-in-react-native-project | android, react-native, android-studio, gradle, build | 1,681,248,527 |
se_31657698 | stackoverflow | MOBILE_DEVELOPMENT | Android ListView Adapter - Hide Items | Android ListView Adapter - Hide Items
I have an Android listView which will be filled like this:
final ListView userList = (ListView)root.findViewById(R.id.userList);
UserListAdapter adapter = new UserListAdapter(context, userItemList,
getActivity());
userList.setAdapter(adapter);
And the UserListAdapter looks like t... | https://stackoverflow.com/questions/31657698/android-listview-adapter-hide-items | java, android, android-listview | 1,438,012,355 |
se_68282639 | stackoverflow | MOBILE_DEVELOPMENT | ANR at android.os.Handler.handleCallback: Main thread blocked | ANR at android.os.Handler.handleCallback: Main thread blocked
We are facing an ANR that has no information about what's going on in the app, but happens on 8% of the devices which is a lot. It probably started happening after updating some libraries such as
Advertisement network libraries (applovin mediation with Adm... | https://stackoverflow.com/questions/68282639/anr-at-android-os-handler-handlecallback-main-thread-blocked | java, android, android-anr-dialog | 1,625,646,818 |
se_79930847 | stackoverflow | MOBILE_DEVELOPMENT | PreferenceCompatFragment - Layout messed up when edit text dialog displayed | PreferenceCompatFragment - Layout messed up when edit text dialog displayed
While testing a preferences fragment built with PreferenceFragmentCompat, I've noticed that the appearance of the preference list is messed up, seemingly at random, whenever an edit text dialog is displayed. If I rotate the screen (using defau... | https://stackoverflow.com/questions/79930847/preferencecompatfragment-layout-messed-up-when-edit-text-dialog-displayed | android | 1,776,962,074 |
se_27540695 | stackoverflow | MOBILE_DEVELOPMENT | Why Android Studio is slowing down when editing xml file or changing the design? | Why Android Studio is slowing down when editing xml file or changing the design?
I have a Hp envy notebook with Intel i7 and 8gb ram and 2gb graphics, still sometimes android studio stucks when I am working with xml or design the app. Is there any problem with my laptop or android studio? | https://stackoverflow.com/questions/27540695/why-android-studio-is-slowing-down-when-editing-xml-file-or-changing-the-design | android, performance, android-layout, android-studio | 1,418,885,280 |
se_20857635 | stackoverflow | MOBILE_DEVELOPMENT | java substring raising an exception | java substring raising an exception
So i want to extract few characters from a string and then display it on Textview like this:
Uri uri = Uri.parse("content://sms/inbox");
Cursor crsr = getContentResolver().query(uri, null, null, null, null);
startManagingCursor(crsr);
String[] columns = new String[] { "ad... | https://stackoverflow.com/questions/20857635/java-substring-raising-an-exception | java, android | 1,388,494,081 |
se_79945038 | stackoverflow | MOBILE_DEVELOPMENT | Google Play Billing purchase fails in locally installed Flutter APK but works from Internal Testing | Google Play Billing purchase fails in locally installed Flutter APK but works from Internal Testing
I am using Google Play Billing subscriptions in a Flutter app with the in_app_purchase package.
Issue
Subscriptions work correctly when the app is installed from Google Play Internal Testing.
However, purchases fail whe... | https://stackoverflow.com/questions/79945038/google-play-billing-purchase-fails-in-locally-installed-flutter-apk-but-works-fr | android, flutter, in-app-purchase, google-play-console, google-play-billing | 1,779,432,940 |
se_79946655 | stackoverflow | MOBILE_DEVELOPMENT | Can an Android or iOS device be enrolled in an MDM without the profile showing up in 'VPN & Device Management' or 'Device Administrator Apps'? | Can an Android or iOS device be enrolled in an MDM without the profile showing up in 'VPN & Device Management' or 'Device Administrator Apps'?
Can an Android or iOS device be enrolled in an MDM framework without the management profile showing up in 'VPN & Device Management' (iOS) or 'Device Adminis... | https://stackoverflow.com/questions/79946655/can-an-android-or-ios-device-be-enrolled-in-an-mdm-without-the-profile-showing-u | android, ios, mdm, android-enterprise | 1,779,782,796 |
se_79946235 | stackoverflow | MOBILE_DEVELOPMENT | Is it safe to call NavController navigation functions from a Composable outside NavHost? | Is it safe to call NavController navigation functions from a Composable outside NavHost?
CODE DESCRIPTION
In my code, I use a coordinator that triggers navigation to a screen when a specific condition is met.
I’m wondering whether this structure is safe:
MyAppNavHost()
CoordinatorForceUpdateSheet(navigateToForceUpdate... | https://stackoverflow.com/questions/79946235/is-it-safe-to-call-navcontroller-navigation-functions-from-a-composable-outside | android, android-jetpack-compose, android-jetpack-navigation | 1,779,702,790 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.