Category "android"

Android studio Gradle Tab

I've started to work on an android project that has many Gradle tasks. After cloning the project from git, there is no Gradle tab in Android Studio!

React-Native: How to open google play store from react native app?

I am trying to find a way how to open the google play store with my application when the user is pressing a button inside of the react-native application. Is th

How to build expo apk using eas build

After updating expo it no longer supports building apk files using expo build:android -t apk and instead advices to using eas builds using the command eas build

Android display item inside dropdown list

I have a TextInputLayout with style ExposedDropdownMenu. this TextInputLayout contains an AutoCompleteTextView. I can add a list item inside this AutoCompleteTe

Remove BottomNavigationView labels

Google released new support library v25 with BottomNavigationView is there any way to remove items labels ?

How to use camera2 with detect barcode

Camera is now deprecated and the recommend is to use camera2, can some one guide me to have any idea how to use camera2 with detect barcode

Share PDF using intent in android not working in Android 12

Am not able to share PDF using intent only in android 12 but its working fine below version. Am downloading file and taking file Uri from download folder. Downl

In Android Navigation Architecture, how can I check if current Fragment is the last one?

I need to display custom AlertDialog, but only when there are no more fragments after calling NavController.navigateUp(). My current code does something similar

How to make this profile picture moving with Collapsing Toolbar Layout in Android

I want to make a layout like this. But I did not know how to make profile picture moving with CollapsingToolbarLayout. I need help. Like the above picture

How do you emulate a game pad input to an Android device?

So I'm trying to create an application that can emulate a gamepad on device, kinda like how vjoy programs work for windows with a HID input emulator, but I can'

Full screen notifications unwantedly triggering keyguard

I'm making an app that shows full-screen notifications when the device is locked. Expected behavior: when a notification is launched, the activity shows over th

Retrofit call in Kotlin Coroutines viewModelScope

Recently I've updated my ViewModel to use new viewModelScope. From its implementation, I see that Dispatchers.Main.immediate is set as the default CoroutineDisp

Retrofit call in Kotlin Coroutines viewModelScope

Recently I've updated my ViewModel to use new viewModelScope. From its implementation, I see that Dispatchers.Main.immediate is set as the default CoroutineDisp

Trying to get a child key value from a json object saved in an map-variable in sketchware

i have the following json as a get response: { "global": { "name": "Lz Cha0S", "uid": xxx, "platform": "X1", "level": 521,

Howto getExtras from a local broadcast Intent in react-native

in my React-Native opened project, I want to receive the data (extra text) sent by another local service app named "scanservice" on its intent output (broadcast

Data class metadata is removed with proguard / R8 for Kotlin 1.6.0

I have a package with some data classes and I'm trying to access the constructor at runtime using Kotlin reflection clazz.primaryConstructor, Everything is work

Implement GestureDetector.OnDoubleTapListener properly on custom view

I have a CustomAutoCompleteTextView and I want to be able to call showDropDown(); when the user double-tap on it. As the title says implements GestureDetector

Facebook ads for kotlin

i am trying to show facebook ads on my android app written in kotlin but everytime i try to add code it shows errors, i searched everywhere but could not find a

Android giving Unknown constant tag 85 in class file

I was working in the android studio all thing were fine until it gives me a sudden error which I have no idea how to fix it. A problem occurred evaluating pro

Android 12: Redirect to Alarms & Reminders settings not working

I want to show snackbar to user, if he has Alarms & Reminders turned off in my App (since Android 12 its mandatory to have this settings enabled in order to