Saturday, May 11, 2024
 Popular · Latest · Hot · Upcoming
86
rated 0 times [  89] [ 3]  / answers: 1 / hits: 32569  / 13 Years ago, wed, july 20, 2011, 12:00:00

I am blackberry developer and I don't have any experience in Android programming.



I am trying to create an android application which will have webview/embedded browser. I will load some web page with some javascripts in embedded browser. There will be some buttons on the page which will call javascript functions. Some of these functions require access to native APIs (eg Camera API). Is it possible to call native api's from javascript functions or access to native code of the app ?



Right now this is possible in blackberry platform using Javascript extension. I'm expecting something similar in Android.



Thank you.



Anyone who is looking for the answer, I've found solution based on @dtanders answer.
Check this out:
http://developer.android.com/guide/webapps/webview.html#BindingJavaScript


More From » android

 Answers
7
[#91093] Tuesday, July 19, 2011, 13 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
jaelynncherokeeg

Total Points: 697
Total Questions: 109
Total Answers: 104

Location: France
Member since Thu, Mar 18, 2021
3 Years ago
jaelynncherokeeg questions
Thu, May 27, 21, 00:00, 3 Years ago
Fri, Jan 24, 20, 00:00, 4 Years ago
Thu, Nov 14, 19, 00:00, 5 Years ago
Wed, Sep 18, 19, 00:00, 5 Years ago
;