HTML5 Plus photo or album Select image upload

Source: Internet
Author: User
Tags nativeui

use the HTML plus camera, Galleryio, storage, and uploader to take photos of your mobile app or upload images from your albums. Camera Module Management device cameras, can be used to take pictures, camera operation, through the Plus.camera to get camera management objects. Gallery Module Management System album, to support the selection of pictures or video files from the album, save pictures or video files to albums and other features. Get album management objects through Plus.gallery. The IO module manages the local file system for directory browsing of file systems, reading of files, writing of files, and so on. File System Management objects can be obtained through Plus.io. The storage module manages the application of local data stores, which are used to store and read data. The difference between the application local data and Localstorage, Sessionstorage is that the data valid domain is different, the former can cross-domain operation within the application, the data storage period is persistent, and there is no capacity limit. Get app local data management objects with Plus.storage. The uploader module manages network upload tasks for uploading various files from the local to the server and supporting cross-domain access operations. Upload Management objects can be obtained through Plus.uploader. Uploader uploads the data using the Post method of HTTP, the data format conforms to the Multipart/form-data specification, which is the rfc1867 (form-based File Upload in HTML) protocol.

<!doctype html>




HTML5 Plus photo or album Select image upload

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.