How to wait for a task/ method to finish before moving ahead in the main thread of your Android App? In this vidoe it shows how to display a wait bar or a progress bar (indeterminate mode) while waiting for a function or method to complete its execution in the…
Tag: smartphone
How to get Date and Time from online servers in your Android App?
In this video, it shows how one can fetch date and time from an online server in your Android App. Fetching or synchronizingtime from an online server may give more accurate results in case the system’s (OS) date and time is manipulated by some other Apps. In this tutorial it…
How to get current system volume level (Music, Alarm, Voice Calls) and set it on seekbar in your Android App?
This video shows the steps to access the volume level of different stream types of your phone and set it on seekbar in your Android App. It also uses textview to display the volume levels in integer form. For setting the volumes from your App, please refer to the below…
How to send email using gmail SMTP server directly from your Android App?
In this page, it shows the steps to create method to send email directly from your Android App without using the mail clients (such as gmail client or outlook App). This code uses gmail smtp server to send the email. I hope you like this video. For any questions, suggestions…
How to read texts from an image (OCR) using google vision library in your Android App?
This video shows the steps to implement the google vision library to read or detect the texts and strings from an image, like an OCR (Optical Character Recognition). It demonstrates the functionality using different fonts and text sizes in the different images. I hope you like this video. For any…
How to access public files from the external directories, such as download or Image/ Picture folder, in your Android App? – Android 12 | API 31
This video shows the steps to enable your App to access the files outside of your App’s data folder. Using these methods one can access the files available in external public directories which can be easily accessed by all the Apps. In this video it shows two ways to get…
How to set text color in the edit text or text view widget in your Android App?
This short video shows how one can use setTextColor option to set the color of the text either in the edit text (plain text) of textview widget of the Android App. I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or email…
How to detect the vibration or shaking of the phone in your Android App? – Android 12 | API Level 31
In this video it shows how one can detect the vibration or the shake of the phone using accelerometer sensor. 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 Source code: package com.programmerworld.detectvibrationshaking;import androidx.appcompat.app.AppCompatActivity;import android.hardware.Sensor;import android.hardware.SensorEvent;import android.hardware.SensorEventListener;import android.hardware.SensorManager;import…
How to get the list of all the Apps installed in your Android phone? – Android 12 | API Level 31
In this video it shows how to get the list of all the apps installed in your Android phone in the latest version of API level 31. From API level 30 onwards, it has introduced restrictions to get the list of all the apps by default. For Apps, such as…
How to customize the display icon of your Android App?
In this short video it shows how one can customize the display icon of his/her Android App. Based on the image selected, one will see that image on the icon of the installed App in their Android phone’s screen. I hope you like this video. For any questions, suggestions or…