Alibabacloud.com offers a wide variety of articles about how to upload pictures from camera to shutterfly, easily find your how to upload pictures from camera to shutterfly information here online.
Shortly before, the micro-letter disclosed some interfaces, including a uploadimage interface for uploading images, and generally used with chooseimage interfaces. First call the Chooseimage interface lets the user select one or more pictures, the user selects after the micro-letter will return the selected picture's ID, then the picture ID passes to the Uploadimage interface to upload the picture.
A recen
call the camera in the web to implement the photo upload
Gao Yini two times development
in some public-sector offices, such as banks, passport-handling centers, taxes, and so on, we might notice a machine on our desk. The Office uses it to take a variety of documents, documents, forms, and sometimes photographs of people's faces.
The name of the instrument is Gao Yini. As you would guess, the nature of
activity//android.intent.action.pickIntent.setaction (Intent.action_pick);Set type and dataIntent.setdataandtype (MediaStore.Images.Media.EXTERNAL_CONTENT_URI,"image/*");Open the system's albumStartactivityforresult (Intent, photo_compile);}});Turn on the system cameraCamera_button.setonclicklistener (New View.onclicklistener () {public void OnClick (View v) {Set the name of the pictureImageName = "/" + getstringtoday () + ". jpg";Set the intent to invoke the system
=NewIntent ();//Set Value activity//Android.intent.action.PICKIntent.setaction (Intent.action_pick);//Set type and dataIntent.setdataandtype (MediaStore.Images.Media.EXTERNAL_CONTENT_URI,"image/*");//Open the system's albumStartactivityforresult (Intent, photo_compile); } });//Turn on the system camera Camera_button.setonclicklistener (NewView.onclicklistener () {PublicvoidOnClick (View v) {//Set the name of the picture ImageName ="/"+ getstringtoday
file upload image, call api:Note: Some Android phones can only call local albums, the camera can not call or only call the camera, cannot call album.3) This method is a method on the net, does the compatibility, IE6 above all can run normally.2. Second method: MUI1) Content Link: http://www.bcty365.com/content-146-3648-1.html2) You need to change the ID name of
Get close to making a small system of uploading pictures
But the uploader on the size of the picture is not too much concept, do not know the original camera 4000*3800 the solution like the Web page display has a problem, upload the image to others on the page to see, and a lot of
So want to ask, there is no class can do the following steps ...
1. Receive J
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.