Should webapp call photos, cameras and albums with cordova or JS?

next week the company arranges to make an APP (pure H5 webapp), has no experience of APP before, it"s a bit of a panic. There are several main problems

1. Voice, camera and photo albums are mentioned in the prototype. What should I use if I call these functions? On the Internet, it is said to use JS, some say cordova, and some iCloud

.

how does 2.webapp debug in general? is there any recommendation for debugging tools? It"s too troublesome to debug every time you turn on the phone

3. Is there anything you need to pay attention to when you do webapp for the first time? the layout is written in the same way as the wap mobile, right?


if you haven't done it, you are advised to use H5BUILDER made by Chinese people, so that you can solve the problem.
is written exactly the same way, because CSS,JS, is an enhanced version of Webview

http://www.dcloud.io/


Pure h5, only consider cordova.

  1. use the cordova plug-in to process voice, camera, and photo albums.
  2. debugging uses the chrome remote connection machine to debug. If it is a part that has nothing to do with the plug-in, you can debug it in the browser without a device.
  3. the layout is basically the same as the browser, after all, it is the browser kernel.
Menu