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,…
Tag: system
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 enable/ disable the GPS (toggle-ON/ OFF) from Android App by calling intent from AlertDialog?
In this video it shows how one can toggle the GPS settings ON and OFF by calling the respective intent from the Android App. It uses the ACTION_LOCATION_SOURCE_SETTINGS intent to open the respective settings to be toggled by the user. I hope you like this video. For any questions, suggestions…
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…
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 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 insert / put image in an excel file from your Android App?
This video shows the steps to insert images in your excel file. It uses apache implementation and uses HSSFSheet to insert the image at a particular position (anchor) in the sheet. I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or email…
How to create and read a PDF file in your Android 11 App?
This video shows the steps to create and read a PDF file in an Android 11 App. It uses iTextpdf library for reading the PDF file and PdfDocument API from android.graphics.pdf to create the PDF file. It creates and reads from the same PDF file but the concept shown in…
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 get current location of the phone in your iOS App? – Xcode tutorial
This video shows the steps to create your iOS App which can access the current location of your phone. The location coordinates is fetched in locationManager using CLLocation services of the phone. The location coordinates once received is updated in the Map and also updated in the Labels widgets in…