how to Open New class from javascript page using android phonegap
-
09-12-2019 - |
Question
I'm using phonegap
and i cant extend it to activity for the class intiating so i need to extend it to droidgap
only but i want one button should keep in the page to move on to next class where i can extend activity
and perform layout and other properties .
Here either i need to call from native javascript
function or need to call intent for the next class in java android
file only .
If any one knows this issue please answer.
Solution
Your First class extending DroidGap, will navigate to index.html page Then from JavaScript you can call another class & perform anything by creating an android plugin like given in the phonegap wiki
Let me know if you have other doubts.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow