In this video, it shows how to open a jpeg file from download folder and convert it into Bitmap in your Android App. It then uses ImageView to display the image within the App layout. It uses StorageManager to access the internal storage volume. And then access the jpeg file…
Tag: device
How to set EditText for always Capital letter (upper case) input in your Android App?
This video shows the steps to have the inputs in edit text displayed always in capital letter (upper case) in your Android App. Irrespective of the case of the letters entered (lower or upper case), the input letters will always appear in capital letter in the EditText widget in your…
How to create 2 launcher activities (app icon) using 1 apk installer for your Android App? – Android Studio tutorial – API 32 | Android 12
In this video it shows how one can create two launcher icons for specific activities of their Android App. It creates two activities for demo purpose and connect to different layouts which can be loaded during the onCreate method. Then, in manifest file, it creates multiple activities tags as launcher…
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 use onBackPressed method to quickly navigate to other layouts in your Android App?
In this video it shows the steps to use the onBackPressed override method to customize the functionality of back button of the Android phone. In this method one can navigate to the desired layout and page when back button is pressed using setContentView API. I hope you like this video….
How to delay (wait for) the execution of methods by certain duration/ time in your Android App?
In this short video it shows how one can delay the execution of certain methods in your Android App. It creates a new runnable and calls the runnable after the specified delay using the handler object. Executing the method in another runnable ensure that the main thread is not impacted…
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…
How to make constraint layout scrollable by using ScrollView and HorizontalScrollView in your Android App?
In this video it shows the steps to make the constraint layout scrollable in both vertical and horizontal direction by adding ScrollView and HorizontalScrollView in your App’s constraint layout design respectively. In this App it implements certain widgets in extreme bottom and right position in the layout to show the…
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 navigate to Home screen (Layout/view) from your Android App programmatically using intent?
In this video it shows how one can navigate directly to the home screen layout from your Android App programmatically. I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or email at: programmerworld1990@gmail.com Complete source code and other details: package com.programmerworld.homescreenapp;import android.content.Intent;import…