In this video it shows how one can make his/ her paint or drawing android app. In this it creates a free hand drawing/ sketching App. It uses onTouchEvent to get the X and Y points of user’s touch movement on the screen. Then it draws those lines on the…
Tag: OS
How to create your own snipping tool Android App to take part screenshot using onTouchEvent?
In this video it shows how one can capture the touch points of the user on the phone screen and use it to take snippet of the screen as image. For screenshot it uses part of the code shown in the below page:https://programmerworld.co/android/how-to-take-screenshot-from-your-android-11-app/ However, it modifies the code to show…
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 update or edit an existing contact in your phone from your App? – Android Studio code
In this video it shows the implementation of the app to update an existing contact in your phone. It uses ContentProviderOperation and newUpdate method to update any existing contact after searching it based on the display name. I hope you like this video. For any questions, suggestions or appreciation please…
How to add a new contact in phone using intent from your Android App?
In this video it shows steps to add new contacts in your phone using the intent type ContactsContract.RawContacts.CONTENT_TYPE. In this video the major part of the code is taken from the below page of Android developers:https://developer.android.com/training/contacts-provider/modify-data#InsertContact However, in this video it shows the above code in action. I hope you…
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 SSID of the Wifi using WifiManager.getConnectionInfo API in your Android App? – For SDK 29 (Android 10)
This video shows the code to get SSID of the wifi in your Android App using the WifiManager.getConnectionInfo API. 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: package com.programmerworld.getssidofwifi;import androidx.appcompat.app.AppCompatActivity;import androidx.core.app.ActivityCompat;import android.Manifest;import android.content.pm.PackageManager;import android.net.wifi.SupplicantState;import…
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 unique Android ID of your phone/ device in your Android App?
How to uniquely identify (get Android ID) your Android phone from your Android App? In this video it shows the steps to implement the code in which the unique Android ID of the phone or device is fetched. The Android ID is unique to each device and the value is…
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,…