This video shows the steps to quickly fix android.os.NetworkOnMainThreadException in your Android Studio Java code. The fix shown is more of a workaround. Ideal fix would be to run all the network related tasks in a separate thread using async methods. However, in this video it shows how one can…
Tag: tasks
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 show progress bar/ image while waiting for a function (INET/ IP address of a website) to finish in your Android App? – using java.util.concurrent
How to wait for a task/ method to finish before moving ahead in the main thread of your Android App? In this vidoe it shows how to display a wait bar or a progress bar (indeterminate mode) while waiting for a function or method to complete its execution in the…