This video shows the steps to quickly fix android.os.NetworkOnMainThreadException in your Android Studio Java code. The fix shown is more of a workaround. Ideal fix would be to run all the network related tasks in a separate thread using async methods. However, in this video it shows how one can…
Tag: main
Resolve [UnexpectedTagNameException: Element should have been “select” but was “div”] in Selenium?
In this video will see how to resolve selenium error – Exception in thread “main” org.openqa.selenium. UnexpectedTagNameException: Element should have been “select” but was “div”. 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 Code: Error screenshot:
How to navigate to Home screen (Layout/view) from your Android App programmatically using intent?
In this video it shows how one can navigate directly to the home screen layout from your Android App programmatically. 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 code and other details: package com.programmerworld.homescreenapp;import android.content.Intent;import…
How to insert floating pop-up window layout on top of the main layout in your Android App?
In this video it shows the steps to create a pop-up window floating on top of the main layout of the App. It uses the layout inflater to inflate the pop-up window layout and then uses the popupwindow API to create the pop-up window. In this example it shows a…