hi guys i want to know how load url cordova in activity by clicking on button ,not loading in mainactivity because when i load in second activity bu button it crashes ,is there a way to do it
First you have to: How do I ask a good question? - Help Center - Stack Overflow
Hello there
I hope that Cordova’s web view is properly initialized in the second activity. Import the correct Cordova libraries and activate Cordova web view in your layout XML and java code.
then onCreate function of the second activity; setup the cordova web view; and load the URL with load url.
Make sure your Android manifest XML contains the correct permissions and configurations.