This video shows the steps to read an image file from the download folder of the android device. Then convert it into a Blob type, basically a bytes array. Then it encodes it into string type using Base64 character encoding. And it decodes it back. It displays both encoded and…
Tag: android
How to capture video using camera and save it in download folder from your Android App? API 34 | Android 14
This video shows the steps to capture the video from your phone’s camera and then save the video in the download folder of 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…
How to access and read Gmail (inbox) programmatically in your Android App? – complete Source code
In this video it shows the steps to read the Gmail’s inbox programmatically in your Android App. It uses Java libraries to implement this. 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…
Fix “packagingOptions(Packaging.() -> Unit): Unit’ is deprecated. Renamed to packaging” error in Android Studio Gradle file.
In this video it shows the steps to add packagingOptions block in the gradle file in Android Studio. On adding the packagingOptions block it gives the deprecated unit error. This can be fixed by using packaging block instead of packagingOptions block. Also, use resources.excludes.add instead of exclude option. I hope…
How to access HDMI input in your Android TV App?
In this video it shows the steps to access the HDMI input in your Android App. It uses VideoView to show the content of the input channel by converting it to the respective uri. For the complete list of input types, such as TYPE_DVI, TYPE_HDMI, or TYPE_VGA, please refer to:…
How to load a file from external storage to InputStream in your Android App?
This video shows the steps to fetch a file from download folder and convert it into an InputStream 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: programmerworld1990@gmail.com Complete source code and other details:
How to put a file in the download folder of Android studio emulator – AVD?
AVD = Android Virtual Device This video shows the steps to put any file in the download folder of your Emulator/ Android Virtual device running in Android Studio. This same concept can be user to put the file in any other folder or read files from any other folder. I…
How to read an image file from Download folder and show it as bitmap in ImageView of your Android App?
This video shows the steps to read an image file from the download folder and then show it as bitmap in imageView widget of your Android App’s layout. 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…
How to fix Java error “Could not find tools.jar. Please check that C:\Program Files\Java\jre-1.8 contains a valid JDK installation.”?
This video shows the steps to fix the Java Error: “Could not find tools.jar. Please check that C:\Program Files\Java\jre-1.8 contains a valid JDK installation.” 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 details/ steps: Error Window:…
How to run Google’s AI PaLM APIs in your Android App using Java dependencies?
This video shows the steps to use PaLM APIs in your Android App’s Java code. It refers to the steps mentioned at https://developers.generativeai.google/tutorials/text_java_quickstart 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:…