Monday, January 11, 2016

android how to upload pictures and to select upload multiple pictures from album




            


I want to upload pictures, then upload multiple online and read some code, which have potential risks to upload multiple pictures if there is no experience under the guidance of cheese?

Also to achieve select multiple images from an album, and then select a thumbnail tick this should be how to achieve it? This point have no idea
Reply:
I have encountered this problem,
Reply:
OOM could be potential pitfalls that you try a custom imageview + checkbox try
Reply:
Implement own one, without making the details of the perfect, but the idea is there. http://blog.csdn.net/bloomzy/article/details/9345377
Reply:
The landlord, and that you solved? I now also encountered such a problem!
Reply:
To upload pictures, then upload multiple
------------------------
This is a picture to upload, when I was doing just done a deal with the picture, a little smaller (image is too large when the display is easy because the memory footprint is too large application crash), the relevant code, the server used It is php

& Lt;? Php
$ Target_path = "./company_img/";// receive files directory
$ Target_path = $ target_path basename ($ _FILES ['uploadedfile'] ['name']);.
if (move_uploaded_file ($ _ FILES ['uploadedfile'] ['tmp_name'], $ target_path)) {
echo "The file" basename ($ _FILES ['uploadedfile'] ['name']) "has been uploaded";..
} Else {
echo "There was an error uploading the file, please try again!" $ _FILES ['uploadedfile'] ['error'];.
}
? & Gt;



To achieve select multiple images from an album, and then select a thumbnail tick
----------------------------------------------
I have not done this, but it is estimated that all of the functionality and interface to a little bit of themselves to achieve, the approach is to open the photo directory and then load it like display, it should not be difficult

Reply:
WANTED TO INVITE can customize a relative layout, which has a thumbnail, a "hook." The "hook" hidden by default. When you select a thumbnail, so hook display.
Reply:
Good amount, all learn Babble
Reply:
It has not been resolved. . .

No comments:

Post a Comment