This video shows the steps to open the device explorer window in the new UI of Android Studio HedgeHog (2023.1.1). The device explorer window can be used to access and even place the files in the device’s folders, such as in download folder. I hope you like this video. For…
Tag: manager
How to get list and count of files of Download folder from your Android App? – API 33
In this video it shows how one can get all the files available in the Download folder of your phone. It shows the steps to fetch the list of files for API-33 in Android Studio. I hope you like this video. For any questions, suggestions or appreciation please contact us…
How to fix “No emulators are currently running. To launch an emulator, use the Device Manager or run your app while targeting a virtual device.” error in Android Studio?
The below error appears when the previous process of the emulator is not closed properly in the system: No emulators are currently running. To launch an emulator, use the Device Manager or run your app while targeting a virtual device. To solve the problem, one has to kill the below…
How to implement WorkManager to run background process (isWifiEnabled) in your Android App?
This video shows steps to implement work manager API to run certain background tasks for your Android App. In this example it checks whether is Wifi is enabled or not and displays it in a toast message. However, other functionality can also be easily implemented in the doWork() method of…
Difference between finish() and finishAndRemoveTask() in Android App code.
In this video it shows the difference between the two APIs in Android – finish() vs finishAndRemoveTask(). finish() is basically to minimize the App’s view so that the user cannot see the App’s layout anymore. It is similar to pressing back button from App’s home page to go back to…
How to import Image Asset and use it as display icon of your Android App?
In this video it shows the steps to import an image as an asset in your Android Studio environment of your App. Further it shows how one can use the imported image as the display icon of the App. It modifies both – round icon and normal icon – options…
How to Turn ON location services (GPS) without navigating to settings page from your Android App?
In this video it shows how can the user of your App turn ON the location services (GPS) of the phone/ device without navigating to the settings page. It uses google play location services libraries for the same. Following library needs to be implemented in the gradle file for the…
How to detect GPS is ON or OFF (enabled or disabled) from your Android App?
In this video it shows how to check whether the GPS (location service) on the phone/ device is ON or OFF from your Android App. To do this, in the code it uses “isProviderEnabled” API on the location manager to check whether the service is ON. I hope you like…
How to get current system volume level (Music, Alarm, Voice Calls) and set it on seekbar in your Android App?
This video shows the steps to access the volume level of different stream types of your phone and set it on seekbar in your Android App. It also uses textview to display the volume levels in integer form. For setting the volumes from your App, please refer to the below…