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….
Tag: app
How to create Microsoft Word Document (.docx) File from your Android App?
This video shows the steps to develop a method to create the Word Document File in your Android App. This uses the apache poi library for the same. It takes the content of the file as an input from the user from the EditText (Plain text) widget. It then creates…
How to select colors with the Palette API in your Android App?
This video shows the steps to implement the palette library (provided by Android) in your gradle file (App level gradle file). It further shows how one can easily use this API in the Java code to get certain colors from the Image considered in this video for demonstration. This video…
How to check a Palindrome word in your iOS App? – swift code using Xcode
This video shows the steps to create an iOS App in which one can check whether the provided word is a Palindrome or not. It uses a text field to get the input from the user to check whether a word is Palindrome or not. It invokes the method (function)…
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…
How to implement Biometric authentication in your Android App? – complete source code
This video shows the steps to implement the Biometric authentication in your Android App. It uses the androidx.biometric implementation in the App’s gradle file for the same. For Biometric authentication, it uses AuthenticationCallback from BiomentricPrompt class from the implemented Biometric libraries in the App’s code. To interpret the results, it…