This video shows the steps to integrate Google’s Generative AI’s PaLM API from MakerSuite in your Android App. It uses the cURL command to integrate it. 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…
Tag: android
How to save bitmap to an image file in Download folder from your Android App? Android 14 | API level 34
In this video it shows the steps to save a bitmap to image file in download folder from your Android App programmatically. It demonstrates this for Android 14 | API level 34. In this video it refers to the code from my below pages of posted earlier:https://programmerworld.co/android/how-to-fix-the-error-only-mutable-bitmaps-may-be-reconfigured-convert-immutable-bitmap-to-a-mutable-bitmap-in-android-app/https://programmerworld.co/android/how-to-create-and-save-an-image-file-in-download-folder-from-your-android-app-android-13-api-33/ I hope you…
How to fix android.os.NetworkOnMainThreadException Error by creating new Thread in your Android Studio Code?
In this video it shows the fix for android.os.NetworkOnMainThreadException error. It creates a new thread in the Android code to fix this error. 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 fix the error “only mutable bitmaps may be reconfigured” – convert immutable bitmap to a mutable bitmap in Android App?
This video shows the steps to convert an immutable bitmap image to mutable bitmap image in Android App code. It uses below 2 approaches to do the conversion:– Bitmap.createScaledBitmap API– bitmap.copy API I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or…
How to generate images using Open AI ChatGPT Dalle RestAPIs in your Android App?
This video shows the steps to use Open AI ChatGPT Dall-e RestAPIs to generate the images as per the prompt by the user of your Android App. It refers to the curl commands provided in the below URLs:https://openai.com/blog/dall-e-api-now-available-in-public-betahttps://platform.openai.com/docs/api-reference/images/create I hope you like this video. For any questions, suggestions or appreciation…
How to programmatically uninstall any other app on your device from your Android App?
In this video it shows the steps to uninstall an Android App programmatically from your Android App using the intent. In this demo it refers to the below webpage for getting the list of the package names of Apps installed on your device – https://programmerworld.co/android/how-to-get-the-list-of-all-the-apps-installed-in-your-android-phone-android-12-api-level-31/ I hope you like this…
How to play YouTube videos in background in pip (Picture in picture) mode of your Android App?
In this video it shows the steps to build your own Android App in which you can run the YouTube video in background in picture-in-picture (PIP) mode. This will enable the user to do other tasks in the phone while listening to the YouTube video in parallel. In this demo,…
How to easily create your AI (ChatGPT) based virtual voice assistant Android App?
In this video it shows the steps to build your own AI (ChatGPT) based voice assistant Android App. In this demo it refers the code from programmer world’s below 3 pages:https://programmerworld.co/android/how-to-integrate-open-ai-chat-gpt-model-gpt-3-5-turbo-in-your-android-app/https://programmerworld.co/android/how-to-convert-text-to-speech-in-your-android-app-complete-source-code/https://programmerworld.co/android/how-to-create-a-personal-voice-assistant-android-app-to-create-a-text-file-complete-source-code/ Some of the questions prompted for AI/ ChatGPT tool demo were:– Who won the last football World Cup?– How…
How to record video of your App running in emulator or device from Android Studio?
In this video it shows the steps to record the video of the App screen/ layout running on emulator or any device paired/ connected to Android Studio. It shows 2 options to record the video:1. Recording option from logcat option2. Extended Controls option By default, the videos are recorded in…
How to set the build variant – Debug or Release – in Android Studio? – version Giraffe | 2022.3.1
Set Build Variant:1. Debug2. Release 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 Details: Screenshots: Build APK files at: