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…
Tag: OS
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 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 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…
How to download a file from FTP server in your Android App?
In this video it shows the code to download a JPG file from FTP server and then display it over an ImageView in your Android App. It uses following dependency in the code:https://mvnrepository.com/artifact/commons-net/commons-net/3.10.0 I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/…
How to delete a file from FTP server from your Android App Java code?
In this video it shows the code to delete a file over FTP server from your Android App’s Java code. 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: GitHub: https://github.com/programmerworld1990/deletefromftpMaven Dependency:…
How to convert an image file to bytes array in your Android App?
This video shows the code to convert an image file content to byte array in your Android App’s Java code. 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 create AR (Augmented Reality) Android app by superimposing your own 3D model image on camera view?
This video shows the steps to create AR (Augmented Reality) Android app by superimposing your own 3D model image on camera view. In this video it shows the below steps: 1 Create GLTF file2 Put the file in your GitHub public repo3 Update the Android code The Android code in…