Scenario: I made an app that switches programmatically Theme between light and dark mode.It's based on fragment and I set every views via XML calling "?attr/myt
I want to delete all from my table and reset autoincrement primary key. I do this : @Query("delete from sqlite_sequence where name='bin';") void delete(); @
Iam using Firestore 24.0.2, and it was working well, but now i surprised that it is not working, and the app crash when opening MainActivity after Splash Activi
i have currency code (e.g. USD,INR,etc...). I want to get symbols of only one letter of those codes (e.g $,₹, etc). i have tried to find many solutions li
I am developing React Native App using Expo (not ejected) and Android Studio official AVD. I am on Windows. There is shortcut CTRL-M what opens Expo's (React
I'm not sure what's going on here, I pulled my recently updated repo and every time I open the app to debug it on an emulator I get E/FirebaseInstanceId: Token
I am looking to add a parameterized test to an existing test suite that uses the Robolectric test framework, like so: @RunWith(RobolectricTestRunner.class) publ
I have 2 fragment pages. The first of these pages is the page where the user is given options. The other page is the page that is displayed according to the opt
I recently update my Android Studio to version 3.0.1 and I started a new project with a blank activity. As soon as the gradle sync starts(as soon as I open the
I am trying to use the realtime database for the first time. The set value function is not working for me. I already updated the writing rules in the following
C:\Android\sdk\bin>sdkmanager Error: Could not determine SDK root. Error: Either specify it explicitly with --sdk_root= or move this package into its expecte
In some devices, ex Google Pixel 3 XL, button Install disappear, although they use same google play account and open a same internal app. Does anyone have a s
I have created a APP using Kivy and Google API and it working on my computer, but after having compiled with buildozer, by open on my phone, it crashed systemat
How do you use DiffCallback to load a newList in RecyclerView when DiffUtil ItemCallback is being used. I would like to give the user the option to return diff
how to make an autofill app like dashlane, or lastpass on android studio. I want to make an autofill app, example facebook, It can autofill my login credentials
I'm trying to customize Android 10 AOSP Settings app (com.android.settings) using a Runtime Resource Overlay (RRO). When using a RRO, I can successfully customi
I have a Login screen and upon success login, it finishes and shows another page that has information about the user. I read about this post and also this post.
hello friends, i want receive update user location and show in text view only once and remove update location when it received. i must use foreground service f
I want to share text in my CardView using share Intent using kotlin but there is a problem with last line in the code in kotlin the code val shareIntent = I
After updating my app to AndroidX I noticed startActivityForResult() is depreciated. I looked through the documentation and found some good explanations, but I