Category "android"

Android firebase dynamic link opens browser before launching the app

I've been using firebase dynamic links for my app and recently encountered the issue where when clicking on the link, instead of opening a choice view for what

How to save the selection of a spinner in a dialog box

I have a dialog box with a spinner in it. So far, I have managed to code the spinner so that it saves the last known selection whenever I open up the dialog box

Is it possible to get a .obb file from an APK file in windows? If so, how?

I'm trying to get the sprites and images from a game and followed a guide here to decompile an APK into its components and source code, but it did not fit my ne

Cmake : Building .dylib to test Android JUnit tests

I am working on Android native project using C++ code built using CMake. Currently my app is running fine and native lib(.so) is successfully loaded using Syste

Problem : java.lang.NullPointerException: Argument must not be null

I have a problem in this line : public class ShowAllAdapter extends RecyclerView.Adapter<ShowAllAdapter.ViewHolder> { and in this line : Glide.with(conte

How do we open google map from a button inside onBindViewHolder? [duplicate]

I would like to open google map on button click. The code below works but when I went back to the app, it throws FATAL EXCEPTION. The button i

remove background from Bottomsheet android studio

I have created bottomsheet dialog which work great when it is in portait mode but it shows white backgrund when screen in landscape mode attaching the error ima

How can I set the background colour of views according to theme?

How can I set the background colour of views according to theme? For example, in light theme a background colour of a view can be a light shade of gray, but in

Google.Drive.Api Oauth 2 Credientials in Xamarin android application

I am trying to read a file from google drive using my xamarin android application using google.drive.api, the latter requests Google Oauth2 ID credentials for A

What happens to old app data written in another language when you release a new version of the App written in Flutter?

So I have my app released which was written in another older framework (non flutter). I've since rewritten the app from scratch in Flutter. The app, while func

Android Manifest error after creating a Flutter Application

Everytime i create a flutter application using Android Studio, i always have errors/red lines in the Android Manifest file. Any ideas why this keeps happening?

Android 12 Bluetooth Permissions

I'm trying to connect to a device using BLE, but I'm getting an error on Android 12. I've tried a lot of different methods, but I couldn't find any solution. Ho

Hilt Instrumentation Fragment tests failing - Unable to resolve activity for: Intent

I refactored from Dagger2 to Hilt. Everything is fine except my Fragment Instrumentation tests. They are failing with this error: java.lang.RuntimeException: Un

SELinux blocks execution of native executable on Android

I am trying to run my own native executable. The code looks like this: String[] command = {"/data/user/0/org.smowsoft.systeminformation.nativelib.test/files/smo

StorageException has occurred. User is not authenticated

The error is risen when I try to upload to the storage. I've already implemented authentication in my app, and am having no problem with creating a user and aut

Barcode Scanner - (Data Wedge) TC26 device reads data twice in EditText

I am working on a barcode scanner using DataWedge API's for TC26 device. I can see sometimes the value in EditTextBox the value is shown twice randomly. For exa

How to show 'NEW' tag after updating category recyclerView

How can I show NEW tag after updating category from database. Like this image Only after if my category get Updated and show for 24 hrs. This is my Adapter of

Sorting ArrayList<> based on Lattitude and Longitude in Android

I Have a requirement that has ArrayList that contains Latitude and Longitude (randomly).Is there any way so that I can get this list in a optimized way. Google

How to transfer external pages in Web View (Android Studio) to Chrome

I wrote a simple program and used webview. My problem is that links to pages that do not follow the https://irunisenter.com rule also open in the program. It's

Cant create an alarm in Xamerin Android C#

Copied my teacher's simplified code in order to see if the code i wrote was wrong or somthing yet even her's isnt working. Here is it: private void BtnAlarm_Cli