找回密码
 立即注册
theJavaScript调用Android | android开发 2022-11-05 35 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
自定义webview中的网页“摄影”按钮调用系统相机摄影的API接口MyBrowserAPI.CapturePhoto(filename),在网页JavaScript中调用今后回来寄存相片的完整路径名,默许将相片寄存在系统SD卡的根目录,包括整个工程中需求增加的每个重要代码和JavaScript网页代码及详细描述。实测从Android2.1-4.22版虚拟机与真机均可正常使用。

(Customize the web page "Photography" button in webview to call the system camera photography API interface MyBrowserAPI CapturePhoto (filename), which calls the full pathname of the future returned photos in the web page JavaScript, tacitly allows the photos to be stored in the root directory of the system SD card, including every important code and JavaScript web page code and detailed description that needs to be added in the whole project. It is measured that the virtual machine and real machine of Android version 2.1-4.22 can be used normally.)

[下载]11582781625.rar




上一篇:SimpleTab
下一篇:Wrox.Professional.NFC.Application.Development.for.Android