How can I call Android JavaScript functions in WebView?

What is the best way to create web app in android?

  • Whats the best way to create a web app in Android? I want to use all the native functions of android. I also want to implement the sliding menu API in action bar. Link: https://github.com/jfeinstein10/SlidingMenu. One way is using android webView and the other way is PhoneGap. Which one is better? WebView is native to android so I can easily use action bar and implement sliding menu but is it possible in PhoneGap? Which one is easier and more customizable?

  • Answer:

    I think using cordova (phonegap) is the best approach since there are plugins available for most of the features and you can easily port it to other platforms.

Prabhu Swaminathan at Quora Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.