This short video shows how one can use setTextColor option to set the color of the text either in the edit text (plain text) of textview widget of the Android App. I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or email…
Tag: android
How to control the size of the text using the seekbar in the floating window in your Android App?
In this video it shows how one can implement a pop-up floating window and control certain elements, such as text size, using the seekbar. It uses the progress attribute of the seekbar to set the respective size of the text in the text view. I hope you like this video….
How to detect the vibration or shaking of the phone in your Android App? – Android 12 | API Level 31
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…
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 get Latitude and longitude coordinates from the text address in your Android App without maps layout using Geocoder API?
This video shows the steps to get latitude and longitude coordinates from the text address. It uses Geocoder APIs to get the address list. In this video it just fetches the 1st most probable address matching the text string. However, for more advanced location search one can filter the addresses…
How to customize the display icon of your Android App?
In this short video it shows how one can customize the display icon of his/her Android App. Based on the image selected, one will see that image on the icon of the installed App in their Android phone’s screen. I hope you like this video. For any questions, suggestions or…
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 your own custom Piano Android App? – using SoundPool API
This video shows the steps to create your own custom Piano Androind App using the SoundPool API in Android Studio. It uses a very simple layout of 7 buttons which it associates to the 7 notes of music from ‘a’ to ‘g’ using the soundID from the SoundPool.load() method. In…
How to take screenshot from your Android 11 App?
This video shows the steps to develop an Android 11 (API 30) App to take screenshot of your phone. It uses a very simple concept of going to the rootView from any view to get the complete screenshot. It shows 2 approaches: App’s button view and the window view to…
How to add watermark in your PDF file from your Android App?
In this video it shows the steps to add the watermark in your PDF file. It uses PdfStamper object to put the watermark (stamp) as an over content on your PDF pages. In this video it re-uses the create PDF method code from our below page: It further develops the…