In this video it shows the code to detect any kind of rotation movement on touch screen. And then it rotates the Android App layout respectively to Portrait and Landscape orientation. I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or email…
Tag: app
How to do image recognition/ classification using Google’s Gemini (gen AI) APIs in your Android App?
In this video it shows the steps to develop your image recognition/ classification Android App using Google’s Artificial Intelligence (Gen AI) Gemini Tool. To generate API Key – https://aistudio.google.com/app/apikeyTo run Gemini App in browser – https://gemini.google.com/appWebpage referred in this demonstration: https://programmerworld.co/android/how-to-integrate-googles-gemini-ai-in-android-app-java-code/ I hope you like this video. For any questions,…
How to display or print fixed number of decimal points of float data in textView of Android App?
In this video it shows how to limit the number of decimal points of a float or decimal while printing it on a textView widget of Android App. It basically uses below line of code to limit the decimal places. I hope you like this video. For any questions, suggestions…
How to hide the Android App icon in home screen and start the hidden Apps?
This demo shows the setting to hide the App Icon from your Android device’s home screen. If the App is “force Stop” and killed from the task list (task manager), then the only way to re-start the App will be reinstall it from the APK file initially used to install…
How to check exit confirmation on clicking back button in Android App?
In this video it shows the code to check exit confirmation on clicking back button in Android App. Basically, for this implementation it follows below two steps: 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…
How to check for exit confirmation on pressing Home and Back button in Android App?
It is not possible for Home button click. Android doesn’t allow to override home button click methods. This is to avoid any hijacking of home button click which will avoid user to return to main home page of Android OS. However, for back button this functionality can be implemented. In…
How to display splash screen for fixed duration at the start of your Android App?
In this implementation it shows how to display the splash screen for a fixed duration at the start of your Android App. Steps involves: 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 place a widget in center of a constraint layout of your Android App?
Place the widget at the Center of your Android App 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 Screenshots:
How to play HLS (HTTPs live stream) videos on your Android TV App?
In this video it shows the steps to develop your Android TV App to play HLS (HTTPs live stream) videos. It uses sample HLS video available at: https://ottverse.com/free-hls-m3u8-test-urls/ During the development of this App, below error was observed in debugging. “No suitable media source factory found for content type: 2”…
How to add custom text over a Bitmap image from your Android App?
In this video it shows the steps to add text over an existing image by reading it in Bitmap format. It creates a Canvas using the Bitmap and then calls drawText option to edit the bitmap file. I hope you like this video. For any questions, suggestions or appreciation please…