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: layout
How to record video of your App running in emulator or device from Android Studio?
In this video it shows the steps to record the video of the App screen/ layout running on emulator or any device paired/ connected to Android Studio. It shows 2 options to record the video:1. Recording option from logcat option2. Extended Controls option By default, the videos are recorded in…
How to use YouTube IFrame Javascript API to play YT videos embedded in your Android App?
In this video it shows the steps to implement YouTube IFRAME API to play the YouTube videos in your Android App. In this video uses the sample Java Script HTML code from the google developer page: https://developers.google.com/youtube/iframe_api_reference I hope you like this video. For any questions, suggestions or appreciation please…
How to get the Text of the Button pressed/ clicked in your Android App?
In this video it shows the code to fetch the text of button which is clicked in your Android App. It shows how one can type cast the View to Button variable type and fetch the respective text from it in your Android App. I hope you like this video….
How to import image as asset and show it in ImageView (as static image) in your Android App?
In this video it shows the steps to import an image as an asset in Android Studio environment and then display it on an image view in your Android App. I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or email at:…
How to RequestLocationUpdates if LocationServices.getFusedLocationProviderClient.getLastLocation always return null value in your Android App?
This video shows the steps to implement request location updates APIs for enforcing the App and Android device to get the updated location information. This is particularly useful when the App is trying to access the last location from the getFusedLocationProviderClient library. If the getLastLocation API is returning NULL then…
How to set ToolTipText over any widget’s view (example WebView, TextView) of your Android app?
In this video it shows the steps to set tool tip text over a widget. In this it shows the steps with WebView and TextView but same can be done for other widgets. It uses setTooltipText API to set the desired text for the Tool tip. I hope you like…
How to restrict screenshots of your App’s layout from your Android app?
In this video it shows the code to restrict capturing the screenshots or recording the App’s layout using Android’s in-built recording functionality. Steps to pair your device over wifi is shown in below link:https://programmerworld.co/android/how-to-wirelessly-connect-over-wifi-physical-phone-in-android-studio-for-debugging-your-apps-code/ I hope you like this video. For any questions, suggestions or appreciation please contact us at:…
How to get Bitmap from View (of a widget) from layout in your Android App? – Android 13 API 33
In this video it shows the steps to convert the view of any widget (or layout) to Bitmap form in your Android App. This Bitmap is later used to display the image form in an imageView. I hope you like this video. For any questions, suggestions or appreciation please contact…
How to scroll RecyclerView (Page up and down) programmatically from your Android App?
In this video it shows how to use ScrollBy API of RecyclerView to scroll the pages in recycler view programmatically from your Android App’s code. To build the recycler view it re-uses the part of code previously published in our below page:https://programmerworld.co/android/how-to-show-images-in-recycler-view-in-your-android-app/ I hope you like this video. For any…