I am making an app in which i have to use javascript in android .Can anyone tell me how to use javascript in android , i mean to say will it be used in java class or any other means.Any help will be appreciated. Thanks..
Asked
Active
Viewed 129 times
3 Answers
0
Checkout this link for a few tips. http://techdroid.kbeanie.com/2010/10/android-webview-javascript-and-css.html
It depends on your application whether you want to use pure JS code, or you would have to have a Java-JS bridge.

Kumar Bibek
- 9,016
- 2
- 39
- 68
0
This previous poster figured out how to call JS from his android app:
Android Calling JavaScript functions in WebView
Here's a post regarding calling your android app from your JS:
0
Use PhoneGap and you can just develop JavaScript and not worry about Java. The PhoneGap framework will take care of the necessary JavaScript to Android Java bridging.

Paul Beusterien
- 27,542
- 6
- 83
- 139