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: environment
How to import image as asset and show it in ImageView (as static image) in your Android App?
In this video it shows the steps to import an image as an asset in Android Studio environment and then display it on an image view in your Android App. I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or email at:…
Android Studio – Fix the error “Could not resolve com.android.tools.build:gradle:7.4.0”?
In this video it shows the steps to fix the gradle error in Android studio. Actual issue is with Java version mismatch as explained in the below line of error: To resolve this issue, it changes the Gradle JDK for build in the settings of Android Studio. I hope you…
Enable google playstore in Emulator/ AVD (Android Virtual Device) in Android Studio
In this video it shows steps to enable google play store option in your Emulator/ Android virtual device in Android Studio. Google play store would be required to download and install other Apps in the Emulator. I hope you like this video. For any questions, suggestions or appreciation please contact…
How to create Assets directory in your Android Studio environment?
In this video, it shows how to create assets folder in your Android Studio environment. Assets folder can be used to keep assets, such as image files, which can be used in the App development using the getAssets method. I hope you like this video. For any questions, suggestions or…
How to install flutter (SDK) in your Windows OS and use it in Android Studio IDE?
Flutter is a tools to create and develop Apps for different platforms, such as Android, iOS, Windows, etc., using the same code base. Flutter supports many IDEs and editors such as Eclipse, Visual Studio, EMACs and Android Studio. In this page we will see how to install flutter (SDK) for…
How to install flutter (plugin) in your Android studio development environment?
Flutter can be used to develop Apps for different platforms, such as Android, iOS, Windows, etc., using same code base. Flutter supports many IDEs and editors such as Eclipse, Visual Studio, EMACs and Android Studio. In this page we will see how to add flutter as a plugin in your…
How to connect to the Oracle database using JDBC driver from your Android App? – Android Studio Example
In this page it shows the steps to develop the Android App code to connect to the Oracle database. It briefly shows the steps to install and setup the Oracle database on your machine initially. Then it takes through the steps of how to include the jdbc JAR file in…
How to import external Jar files as libraries in Android Studio Environment?
In this video it shows the steps to include the external Jar files in your Android Studio as libraries. It shows how the gradle file gets updated by adding the Jar files in the Android Studio environment. I hope you like this video. For any questions, suggestions or appreciation please…
How to setup and run your first python program in Windows OS?
In this video it shows a very simple way to setup the python environment. It also shows how to write a simple python program and run it in the environment. The complete steps can be done in 5 – 10 mins. I hope you like this video. For any questions,…