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…
Tag: mode
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 set an image in full screen mode in your Android TV App?
This video provides the steps to show an image in full screen model for your Android TV 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: Screenshots:
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 restrict Dual App functionality for your Android App? – Android Studio code
This video shows the code to restrict the dual app functionality for your Android App. It seems that dual apps is an OS level functionality and most of the phone OEMs provide this functionality. There seems to be no direct API to restrict it. However, it can be done from…
How to implement picture-in-picture mode for your Android App?
In this video it shows the steps to implement the picture-in-picture mode for your Android App in very simple steps. It shows that how just updating the Manifest file and implementing a method in Java file is sufficient steps to have the picture-in-picture mode enabled for your Android App. It…