aspose file tools*
The moose likes Android and the fly likes problem uploading images from android device Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "problem uploading images from android device" Watch "problem uploading images from android device" New topic
Author

problem uploading images from android device

Suzzane Pinto
Ranch Hand

Joined: Feb 10, 2012
Posts: 214
hi..i am trying to upload some images from android mobile device....few images are sucessfuly uploaded while some are not getting uploaded...
when i pushed those unsent images to AVD...the images get uploaded succesfuly...what might be the problem???

i have no clue.
any idea would be appreciated

Swastik Dey
Rancher

Joined: Jan 08, 2009
Posts: 1479
    
    6

By uploading do you mean, you are uploading it to any server?


Swastik
Suzzane Pinto
Ranch Hand

Joined: Feb 10, 2012
Posts: 214
yes...i am not getting whether it is some size issue...dont know....but through the same code iam able to upload image from AVD

HELP NEEDED
Swastik Dey
Rancher

Joined: Jan 08, 2009
Posts: 1479
    
    6

Could we have a look on your code?
Suzzane Pinto
Ranch Hand

Joined: Feb 10, 2012
Posts: 214

image here is the byte[] iam sending
Swastik Dey
Rancher

Joined: Jan 08, 2009
Posts: 1479
    
    6

Nothing looks wrong in the reading part, do you get any exception for unsent images? Try to write the steps into log, may be that helps.
Suzzane Pinto
Ranch Hand

Joined: Feb 10, 2012
Posts: 214
from mobile it gives datatruncation exception....from avd it gets uploaded sucessfully
thomas brian
Greenhorn

Joined: Apr 19, 2012
Posts: 16
I don't do facebook, but photobucket is working fine on my mopho. Have upload status bar. Try a reboot....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem uploading images from android device