文件名称:Androidjs
介绍说明--下载内容来自于网络,使用问题请自行百度
Android与Js交互的演示实例,与Javascr ipt交互的例子,获得浏览器组件。
//WebView就是一个简单的浏览器
//android浏览器源码存在于LINUX/android/package/apps/Browser中
//里面的所有操作都是围绕WebView来展开的
//WebSettings 几乎浏览器的所有设置都在该类中进行
DemoJavascr iptInterface类为js调用android服务器端提供接口
* android 作为DemoJavascr iptInterface类的客户端接口被js调用
* 调用的具体方法在DemoJavascr iptInterface中定义:
* 例如该实例中的clickOnAndroid
继承WebChromeClient类
* 在这个类的3个方法中,分别使用Android的内置控件重写了Js中对应的对话框,就是说对js中的对话框做处理了,就是重写了。-Android and Js interactive demo instance, to interact with the Javascr ipt 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 DemoJavascr iptInterface class* android as the DemoJavascr iptInterface class client interface js call* call specific methods defined in DemoJavascr iptInterface:* 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.
//WebView就是一个简单的浏览器
//android浏览器源码存在于LINUX/android/package/apps/Browser中
//里面的所有操作都是围绕WebView来展开的
//WebSettings 几乎浏览器的所有设置都在该类中进行
DemoJavascr iptInterface类为js调用android服务器端提供接口
* android 作为DemoJavascr iptInterface类的客户端接口被js调用
* 调用的具体方法在DemoJavascr iptInterface中定义:
* 例如该实例中的clickOnAndroid
继承WebChromeClient类
* 在这个类的3个方法中,分别使用Android的内置控件重写了Js中对应的对话框,就是说对js中的对话框做处理了,就是重写了。-Android and Js interactive demo instance, to interact with the Javascr ipt 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 DemoJavascr iptInterface class* android as the DemoJavascr iptInterface class client interface js call* call specific methods defined in DemoJavascr iptInterface:* 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.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Androidjs/AndroidJsTest/.classpath
Androidjs/AndroidJsTest/.project
Androidjs/AndroidJsTest/AndroidManifest.xml
Androidjs/AndroidJsTest/assets/android_normal.png
Androidjs/AndroidJsTest/assets/android_waving.png
Androidjs/AndroidJsTest/assets/index.css
Androidjs/AndroidJsTest/assets/index.html
Androidjs/AndroidJsTest/assets/index.js
Androidjs/AndroidJsTest/assets/index2.html
Androidjs/AndroidJsTest/bin/AndroidJsTest.apk
Androidjs/AndroidJsTest/bin/classes.dex
Androidjs/AndroidJsTest/bin/com/renren/js/PhoneTest$DemoJavaScriptInterface$1.class
Androidjs/AndroidJsTest/bin/com/renren/js/PhoneTest$DemoJavaScriptInterface.class
Androidjs/AndroidJsTest/bin/com/renren/js/PhoneTest$DemoWebViewClient.class
Androidjs/AndroidJsTest/bin/com/renren/js/PhoneTest$MyWebChromeClient$1.class
Androidjs/AndroidJsTest/bin/com/renren/js/PhoneTest$MyWebChromeClient.class
Androidjs/AndroidJsTest/bin/com/renren/js/PhoneTest.class
Androidjs/AndroidJsTest/bin/com/renren/js/R$attr.class
Androidjs/AndroidJsTest/bin/com/renren/js/R$drawable.class
Androidjs/AndroidJsTest/bin/com/renren/js/R$id.class
Androidjs/AndroidJsTest/bin/com/renren/js/R$layout.class
Androidjs/AndroidJsTest/bin/com/renren/js/R$string.class
Androidjs/AndroidJsTest/bin/com/renren/js/R.class
Androidjs/AndroidJsTest/bin/resources.ap_
Androidjs/AndroidJsTest/default.properties
Androidjs/AndroidJsTest/gen/com/renren/js/R.java
Androidjs/AndroidJsTest/proguard.cfg
Androidjs/AndroidJsTest/res/drawable-hdpi/icon.png
Androidjs/AndroidJsTest/res/drawable-ldpi/icon.png
Androidjs/AndroidJsTest/res/drawable-mdpi/icon.png
Androidjs/AndroidJsTest/res/layout/main.xml
Androidjs/AndroidJsTest/res/values/strings.xml
Androidjs/AndroidJsTest/src/com/renren/js/PhoneTest.java
Androidjs/AndroidJsTest/bin/com/renren/js
Androidjs/AndroidJsTest/gen/com/renren/js
Androidjs/AndroidJsTest/src/com/renren/js
Androidjs/AndroidJsTest/bin/com/renren
Androidjs/AndroidJsTest/gen/com/renren
Androidjs/AndroidJsTest/src/com/renren
Androidjs/AndroidJsTest/bin/com
Androidjs/AndroidJsTest/gen/com
Androidjs/AndroidJsTest/res/drawable-hdpi
Androidjs/AndroidJsTest/res/drawable-ldpi
Androidjs/AndroidJsTest/res/drawable-mdpi
Androidjs/AndroidJsTest/res/layout
Androidjs/AndroidJsTest/res/values
Androidjs/AndroidJsTest/src/com
Androidjs/AndroidJsTest/assets
Androidjs/AndroidJsTest/bin
Androidjs/AndroidJsTest/gen
Androidjs/AndroidJsTest/res
Androidjs/AndroidJsTest/src
Androidjs/AndroidJsTest
Androidjs
Androidjs/AndroidJsTest/.project
Androidjs/AndroidJsTest/AndroidManifest.xml
Androidjs/AndroidJsTest/assets/android_normal.png
Androidjs/AndroidJsTest/assets/android_waving.png
Androidjs/AndroidJsTest/assets/index.css
Androidjs/AndroidJsTest/assets/index.html
Androidjs/AndroidJsTest/assets/index.js
Androidjs/AndroidJsTest/assets/index2.html
Androidjs/AndroidJsTest/bin/AndroidJsTest.apk
Androidjs/AndroidJsTest/bin/classes.dex
Androidjs/AndroidJsTest/bin/com/renren/js/PhoneTest$DemoJavaScriptInterface$1.class
Androidjs/AndroidJsTest/bin/com/renren/js/PhoneTest$DemoJavaScriptInterface.class
Androidjs/AndroidJsTest/bin/com/renren/js/PhoneTest$DemoWebViewClient.class
Androidjs/AndroidJsTest/bin/com/renren/js/PhoneTest$MyWebChromeClient$1.class
Androidjs/AndroidJsTest/bin/com/renren/js/PhoneTest$MyWebChromeClient.class
Androidjs/AndroidJsTest/bin/com/renren/js/PhoneTest.class
Androidjs/AndroidJsTest/bin/com/renren/js/R$attr.class
Androidjs/AndroidJsTest/bin/com/renren/js/R$drawable.class
Androidjs/AndroidJsTest/bin/com/renren/js/R$id.class
Androidjs/AndroidJsTest/bin/com/renren/js/R$layout.class
Androidjs/AndroidJsTest/bin/com/renren/js/R$string.class
Androidjs/AndroidJsTest/bin/com/renren/js/R.class
Androidjs/AndroidJsTest/bin/resources.ap_
Androidjs/AndroidJsTest/default.properties
Androidjs/AndroidJsTest/gen/com/renren/js/R.java
Androidjs/AndroidJsTest/proguard.cfg
Androidjs/AndroidJsTest/res/drawable-hdpi/icon.png
Androidjs/AndroidJsTest/res/drawable-ldpi/icon.png
Androidjs/AndroidJsTest/res/drawable-mdpi/icon.png
Androidjs/AndroidJsTest/res/layout/main.xml
Androidjs/AndroidJsTest/res/values/strings.xml
Androidjs/AndroidJsTest/src/com/renren/js/PhoneTest.java
Androidjs/AndroidJsTest/bin/com/renren/js
Androidjs/AndroidJsTest/gen/com/renren/js
Androidjs/AndroidJsTest/src/com/renren/js
Androidjs/AndroidJsTest/bin/com/renren
Androidjs/AndroidJsTest/gen/com/renren
Androidjs/AndroidJsTest/src/com/renren
Androidjs/AndroidJsTest/bin/com
Androidjs/AndroidJsTest/gen/com
Androidjs/AndroidJsTest/res/drawable-hdpi
Androidjs/AndroidJsTest/res/drawable-ldpi
Androidjs/AndroidJsTest/res/drawable-mdpi
Androidjs/AndroidJsTest/res/layout
Androidjs/AndroidJsTest/res/values
Androidjs/AndroidJsTest/src/com
Androidjs/AndroidJsTest/assets
Androidjs/AndroidJsTest/bin
Androidjs/AndroidJsTest/gen
Androidjs/AndroidJsTest/res
Androidjs/AndroidJsTest/src
Androidjs/AndroidJsTest
Androidjs
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.