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: operating
How to get Bitmap from View (of a widget) from layout in your Android App? – Android 13 API 33
In this video it shows the steps to convert the view of any widget (or layout) to Bitmap form in your Android App. This Bitmap is later used to display the image form in an imageView. I hope you like this video. For any questions, suggestions or appreciation please contact…
How to scroll RecyclerView (Page up and down) programmatically from your Android App?
In this video it shows how to use ScrollBy API of RecyclerView to scroll the pages in recycler view programmatically from your Android App’s code. To build the recycler view it re-uses the part of code previously published in our below page:https://programmerworld.co/android/how-to-show-images-in-recycler-view-in-your-android-app/ I hope you like this video. For any…
How to print RecyclerView content in a PDF file from your Android App? – Android 13 | API 33
In this video it shows steps to print the content of the recycler view content (images) in a PDF file page. In this the Android App is developed in Android studio for Android 13 API 33 version. It re-uses the recycler view part of code from my previously published video….
How to compress and reduce the size (resolution) of image file from your Android App? – Android 13 API 33
This video shows the steps to compress the image size and save it as another file in the download folder from 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: programmerworld1990@gmail.com Complete source code and other…
How to resize/ set the size of bitmap image using createScaledBitmap in your Android App?
In this video it shows how one can use createScaledBitmap method of Bitmap to resize or set the size of any image in the Bitmap. In this demo it uses ImageView widget to display the raw (unscaled) and resized images. I hope you like this video. For any questions, suggestions…
How to share bitmap image over Telegram, WhatsApp, google photos, etc. from your Android App?
This video shows the steps to share an image over other applications such as Telegram, WhatsApp, google photos, etc. directly from your Android App. In this video it shares the image in bitmap form (as an image) and not as a file. To share the complete files one can refer…
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…
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…
Show string array in Recycler View of your app – Android Studio Tutorial
In this video it shows steps to display a list of strings (array) in the recycler view of your Android App. It shows the steps to create the recycler view adapter class and use it to set the adapter value of the recycler view. It refers to below page from…