This video shows the steps to have the inputs in edit text displayed always in capital letter (upper case) in your Android App. Irrespective of the case of the letters entered (lower or upper case), the input letters will always appear in capital letter in the EditText widget in your…
Tag: smart
How to get Latitude and longitude coordinates from the text address in your Android App without maps layout using Geocoder API?
This video shows the steps to get latitude and longitude coordinates from the text address. It uses Geocoder APIs to get the address list. In this video it just fetches the 1st most probable address matching the text string. However, for more advanced location search one can filter the addresses…
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…
How to customize long press app icon item list (ShortcutManager menu dialog) for your Android App?
In this video it shows how one can customize the long press menu item list for the Android App. When a user presses the icon of any App, Android shows up some of the options. This list of options is called shortcut info list and the dialog is shortcut manager….
How to get current Date and Time in your Android App?
This video shows a simple API to access the current data and time from the phone in your Android App. It uses Calendar.getInstance().getTime() API to fetch the current date from the Phone. In this tutorial it uses a TextView widget to display the complete string of the Current Date variable….
How to enable vibration or make your phone vibrate from your Android App?
This simple video shows the steps to enable the vibration in your phone. It uses VIBRATOR_SERVICE to make your phone vibrate. It creates required Vibration effect of 1000 milliseconds(1 second) duration which vibrates the phone for default vibration effect. The result of this App is difficult to show in the…
How to get the list of Apps installed on the phone from your Android App? – complete source code
This video shows a simple method to get the list of all the Apps installed on your phone. It uses the Package Manager to get the list of all the packages installed and then extracts the package name from it. It uses list view to display the package names (installed…
How to detect Ambient Light (Bright/Dark or Day/Night) and set the layout background accordingly in your Android App?
This video shows simple steps to create an Android App in which you detect or check the ambient light using the in-built LIGHT sensors of the phone. This sensor returns the value of the ambient light in lux (illuminance) SI units. To demonstrate the Application, it uses a customizable threshold…