In this video it shows the code to hide the soft input method (key-board defined in Android OS) when any of the input widget, such as Edit Text (Plain Text) is clicked in the Android App. I hope you like this video. For any questions, suggestions or appreciation please contact…
Tag: app
How to download an image file from AWS S3 using signed URL in your Android App?
In this video it shows the steps for downloading an image file from AWS (Amazon Web Services) S3 (Amazon Simple Storage Service) in your Android App. It uses the signed URL of the file which is valid for a limited period (max 12 hours). In this demo the signed URL…
How to view and download an image file from a URL using DownloadManager in your Android App?
In this video it shows how one can use download manager to download an image file (or any other file type) from internet using the URL. It also shows how to use input stream from the URL to create the respective Bitmap from the image and then display it on…
How to fix android.os.NetworkOnMainThreadException by defining StrictMode.ThreadPolicy in your Android Studio code?
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…
How to auto fit (auto scale or Zoom) an image in webView of your Android App? – Android Studio code
This video shows the steps to auto fit/ auto scale an image file in the WebView widget of your Android App. It uses below attributes in the settings of the WebView object to enable the auto-scaling:webView.getSettings().setLoadWithOverviewMode(true);webView.getSettings().setUseWideViewPort(true); For testing purpose, it uses below image from the testing page of programmer world…
How to download an image file from internet and display in UIAxes using MATLAB script in App Designer?
In this video it shows the steps to download an image file from the internet (https URL) and save it in the local PNG file. In this video it uses sample images from the below webpage:https://programmerworld.co/android/how-to-create-a-gif-from-jpeg-images-in-your-android-app-android-studio-complete-code/ And below are the respective images’ URLs:https://i0.wp.com/programmerworld.co/wp-content/uploads/2022/11/images.jpeg?w=452&ssl=1https://i0.wp.com/programmerworld.co/wp-content/uploads/2022/11/images1.jpeg?w=679&ssl=1 It uses WEBREAD command to read the…
How to build a simple video streaming Android TV App using WebView in Android Studio?
In this video it shows the steps to build a very simple video streaming Android TV App using WebView. It uses a sample video hosted on my website: programmerworld.co for the demonstration purpose. I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/…
How to modulate the speech by setting pitch & rate in TextToSpeech using SeekBars in your Android App?
In this video it shows steps to modulate the sound of Text to Speech API by setting the pitch and speech rate using the seek bar in 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…
Difference between List vs Set in Java code of your Android App?
As shown in this video, the main difference are: Set: List: 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: With Duplicate entry of “Tokyo” Without any duplicate entry:
How to rotate the picture in ImageView of your Android app?
This video shows the steps to rotate the pictures in the image view of your Android App. It uses the SetRotation property of the ImageView to rotate the image. 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…