最近做的一个项目中,有这样一个要求,在浏览器中调用系统的拍照功能或者选择文件,然后将文件上传到服务器,类似修改头像。 简单而言,就是在一个html页面中有这样一段代码 <input class="filePrew" type="file" capture="camera" accept="image ...
分类:
移动开发 时间:
2019-01-21 15:59:59
阅读次数:
426
在做美图欣赏Android应用的时候,其中有涉及到Android应用下载的功能,这个应用本身其实也比较简单,就是通过WebView控制调用相应的WEB页面进行展示。刚开始以为和普通的文件下载实现,只需要一个链接,然后点击就可以实现下载了,可是放到手机上试的时候,点击下载链接一点反应都没有,在普通页面 ...
分类:
移动开发 时间:
2019-01-20 20:00:11
阅读次数:
262
转战小程序 webview H5页面 的转发分享朋友圈功能 先说 小程序分享朋友圈的 功能实现 在小程序内部做分享,尚且需要用画布画出带有二维码的图片,在H5页面上更不用说了,根本就碰不着小程序的自己的api。老老实实画画布吧。 做的过程中发现以下几个问题: 1. IOS白屏打不开webview 页 ...
分类:
微信 时间:
2019-01-19 13:19:42
阅读次数:
454
1.浏览器内核(主要指渲染引擎): webkit 谷歌用的多 Safari 苹果 trident(IE内核) Gecko 火狐用的最多,跨平台 Chromium/Blink 谷歌 移动端 iPhone 和 iPad 等苹果 iOS 平台主要是 WebKit,Android 4.4 之前的 Andro ...
分类:
Web程序 时间:
2019-01-18 23:10:54
阅读次数:
237
Servicification Summary The Chromium codebase now supports many platforms and use cases. In response, we need to migrate the code base to a more modul ...
分类:
其他好文 时间:
2019-01-18 20:13:25
阅读次数:
153
昨日内容回顾 1.增删改查: 增: db.collections.insert({a:1}) // 官方不推荐了 db.collections.insertMany([{a:1},{b:1}]) insertOne({a:1}) 查: db.collections.find({a:1,b:1}) d ...
分类:
Web程序 时间:
2019-01-17 15:57:28
阅读次数:
423
First see get the code for checkout and build instructions. Getting started You can use Visual Studio's built-in debugger or WinDBG to debug Chromium. ...
from kivy.app import App from kivy.uix.widget import Widget from kivy.clock import Clock from jnius import autoclass from android.runnable import run_... ...
分类:
Web程序 时间:
2019-01-12 20:57:59
阅读次数:
840
一:APP概述 <!-- ^ Position is not set to relative / absolute here because of Mozilla --> APP架构:C/S APP类型: web app 介绍: web app就是给web站编译打包加了个app壳,看起来像是一个ap ...
分类:
移动开发 时间:
2019-01-11 14:44:30
阅读次数:
248