In this video it shows how one can detect the vibration or the shake of the phone using accelerometer sensor. 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 Source code: package com.programmerworld.detectvibrationshaking;import androidx.appcompat.app.AppCompatActivity;import android.hardware.Sensor;import android.hardware.SensorEvent;import android.hardware.SensorEventListener;import android.hardware.SensorManager;import…
Tag: device
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 insert splash screen at the start of your Android App?
In this video it shows how to create a splash screen (welcome screen) at the start of your Android App. This splash screen is displayed while your App takes time to load on the mobile. The splash screen can be used to display company’s (App’s) logo or certain information which…
How to get IMEI (International Mobile Equipment Identity) number of your phone programmatically in your Android App?
In this video it shows how to get the unique IMEI (International Mobile Equipment Identity) number of your phone (Sim slot) in your Android App programmatically. It uses the TelephonyManager API to get the IMEI of the respective sim slot of the phone. I hope you liked this video, for…
How to check internet connection from your Android App?
In this video is shows the steps to check whether the internet is available or accessible from your phone or not. For check the internet accessibility, in this App it uses the Inet API to fetch the IP address of any website or server. In this video it tries to…
How to switch Torch or Flash Light on and off from your Android App? – complete source code
This video shows the steps to develop your Android App to control the Torch or Flash Light of the cameras of your Phone. In this tutorial it considers both back camera (camera ID = 0) and front camera (camera ID = 1) while toggling the flash light. It uses a…
Welcome to Programmer World!
Welcome to Programmer World Page! In these webpages one can learn all about Android Apps Development, Selenium Testing and MATLAB coding/ Simulink Modeling. One can read my blogs here, see the code snippets or just view some nice videos about application development on my YouTube channel. https://www.youtube.com/c/programmerworld All my blogs…