In this video it shows the code to check exit confirmation on clicking back button in Android App. Basically, for this implementation it follows below two steps: 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…
Tag: back
How to check for exit confirmation on pressing Home and Back button in Android App?
It is not possible for Home button click. Android doesn’t allow to override home button click methods. This is to avoid any hijacking of home button click which will avoid user to return to main home page of Android OS. However, for back button this functionality can be implemented. In…
How to live stream video from camera using the new createCaptureSession API in your Android App? – API 34
In this video it shows the steps to create live streaming video from the phone’s camera on the Texture View widget of your Android App. It uses the new CameraDevice.createCaptureSession(sessionConfiguration) API. The previous versions of this API are deprecated from API version 30 onwards. I hope you like this video….
How to handle browser navigations (Forward/Backward Buttons, close the browser) in Selenium?
In this video will see how to handle different browser window navigations such as how to click on browser backward button, browser forward button, how to maximize/minimize the browser window, How to open the URL, how to navigate to some other url etc. I hope you like this video. For…
How to use onBackPressed method to quickly navigate to other layouts in your Android App?
In this video it shows the steps to use the onBackPressed override method to customize the functionality of back button of the Android phone. In this method one can navigate to the desired layout and page when back button is pressed using setContentView API. I hope you like this video….
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…