As shown in this video, the main difference are: Set: List: 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: With Duplicate entry of “Tokyo” Without any duplicate entry:
Tag: find
How to get list and count of files of Download folder from your Android App? – API 33
In this video it shows how one can get all the files available in the Download folder of your phone. It shows the steps to fetch the list of files for API-33 in Android Studio. I hope you like this video. For any questions, suggestions or appreciation please contact us…
How to create your own custom browser Android App? – Android Studio code
In this video it shows simple steps of how to create your own custom browser App in Android. It uses WebView to create the web browser layout and then registers it as web client in your App. It further uses loadUrl method to load the url in the webview making…
How to enable “Allow all the time” location permission option for your Android App?
This video shows how one can use the ACCESS_BACKGROUND_LOCATION permission option in the App’s manifest file to enable the “Allow all the time” location service for your App. This privilege is required if your App runs in background and still needs location services for its functionality. Android OS, however, is…
How to get make, model, brand, etc. of the phone/ device in your Android App?
In this video it shows how to get the details of the phone such as Model, Manufacturer, Device name, etc. using the Build object in the code. The details of the phone from the Build is available to any app so it can easily be accessed to fetch the details…
How to get alphabets from string (includes special characters, spaces) in Android App using regex?
How to extract or filter out only alphabets from an alphanumeric string (including special characters and spaces) in your Android App using regular expression (regex)? In this video it shows how one can use regular expressions to filter or extract only the alphabets from a string which contains special characters,…
How to customize the date and time in any format using the calendar API in your Android App?
In this video it shows how one can customize the date and time to any format. It uses the calendar API to pull or extract the elements of date and time such as Days, Month, Year and Hours, Minute and Seconds. It takes the instance from the calendar to capture…
How to extract integers from alphanumeric string in your Android App?
In this video it shows how one can extract or filter all the digits (integers) from any alphanumeric string/ texts. It uses replaceAll method of the string to replace any non-numeric character with null (that is delete the non-numeric characters). In demo it shows how from our email ID –…
How to Turn ON location services (GPS) without navigating to settings page from your Android App?
In this video it shows how can the user of your App turn ON the location services (GPS) of the phone/ device without navigating to the settings page. It uses google play location services libraries for the same. Following library needs to be implemented in the gradle file for the…
How to detect GPS is ON or OFF (enabled or disabled) from your Android App?
In this video it shows how to check whether the GPS (location service) on the phone/ device is ON or OFF from your Android App. To do this, in the code it uses “isProviderEnabled” API on the location manager to check whether the service is ON. I hope you like…