Description: Android and Js interactive demo instance, to interact with the JavaScript example, access to the components of the browser.// WebView is a simple browser// android browser source code exists in the linux/android/package/apps/Browser// inside all operations are expanded around the WebView/the/the WebSettings almost all settings of the browser js call android server-side interface in the class DemoJavaScriptInterface class* android as the DemoJavaScriptInterface class client interface js call* call specific methods defined in DemoJavaScriptInterface:* For example, in this instance clickOnAndroid inherited WebChromeClient of class* this three methods of the class, respectively, using the Android built-in controls rewrite Js corresponding dialog box, that is handled js dialog box is rewritten.
To Search:
File list (Check if you may need any files):
Androidjs\AndroidJsTest\.classpath
.........\.............\.project
.........\.............\AndroidManifest.xml
.........\.............\assets\android_normal.png
.........\.............\......\android_waving.png
.........\.............\......\index.css
.........\.............\......\index.html
.........\.............\......\index.js
.........\.............\......\index2.html
.........\.............\bin\AndroidJsTest.apk
.........\.............\...\classes.dex
.........\.............\...\.om\renren\js\PhoneTest$DemoJavaScriptInterface$1.class
.........\.............\...\...\......\..\PhoneTest$DemoJavaScriptInterface.class
.........\.............\...\...\......\..\PhoneTest$DemoWebViewClient.class
.........\.............\...\...\......\..\PhoneTest$MyWebChromeClient$1.class
.........\.............\...\...\......\..\PhoneTest$MyWebChromeClient.class
.........\.............\...\...\......\..\PhoneTest.class
.........\.............\...\...\......\..\R$attr.class
.........\.............\...\...\......\..\R$drawable.class
.........\.............\...\...\......\..\R$id.class
.........\.............\...\...\......\..\R$layout.class
.........\.............\...\...\......\..\R$string.class
.........\.............\...\...\......\..\R.class
.........\.............\...\resources.ap_
.........\.............\default.properties
.........\.............\gen\com\renren\js\R.java
.........\.............\proguard.cfg
.........\.............\res\drawable-hdpi\icon.png
.........\.............\...\.........ldpi\icon.png
.........\.............\...\.........mdpi\icon.png
.........\.............\...\layout\main.xml
.........\.............\...\values\strings.xml
.........\.............\src\com\renren\js\PhoneTest.java
.........\.............\bin\com\renren\js
.........\.............\gen\com\renren\js
.........\.............\src\com\renren\js
.........\.............\bin\com\renren
.........\.............\gen\com\renren
.........\.............\src\com\renren
.........\.............\bin\com
.........\.............\gen\com
.........\.............\res\drawable-hdpi
.........\.............\...\drawable-ldpi
.........\.............\...\drawable-mdpi
.........\.............\...\layout
.........\.............\...\values
.........\.............\src\com
.........\.............\assets
.........\.............\bin
.........\.............\gen
.........\.............\res
.........\.............\src
.........\AndroidJsTest
Androidjs