In this video it shows the steps to build your own Android App in which you can run the YouTube video in background in picture-in-picture (PIP) mode. This will enable the user to do other tasks in the phone while listening to the YouTube video in parallel. In this demo,…
Tag: background
How to implement WorkManager to run background process (isWifiEnabled) in your Android App?
This video shows steps to implement work manager API to run certain background tasks for your Android App. In this example it checks whether is Wifi is enabled or not and displays it in a toast message. However, other functionality can also be easily implemented in the doWork() method of…
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 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…
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…