Saturday, April 12, 2014

android how to upload images and select multiple images from the album uploads


I want to upload a picture and then upload multiple online and read some code, which has a potential risk if there is no upload multiple images under the guidance of experienced cheese?

Also to achieve select multiple pictures from an album, and then choose a thumbnail tick this to how to achieve it? This point have no idea
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
I have encountered this problem,
Reply:
OOM could be potential pitfalls that you try a custom imageview + checkbox try
Reply:
Themselves to achieve one, without making the details perfect, but the idea is there. http://blog.csdn.net/bloomzy/article/details/9345377
Reply:
The landlord, and that you solve it? I also met this problem!
Reply:
Upload pictures and then upload multiple
------------------------
This is a picture upload, I was doing it just to do a deal with the picture, a little smaller (picture is too large display is easy because when large memory footprint applications to crash), the relevant code, server-side use is 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'];.
}
?>



To achieve select multiple pictures from an album, and then choose a thumbnail tick
----------------------------------------------
I have not done this, but it is estimated to all the features and interface to achieve a little bit myself, approach is to open the photo directory and then load it like the show 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.

No comments:

Post a Comment