• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem uploading images from android device

 
Suzzane Pinto
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1637
6
Android Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By uploading do you mean, you are uploading it to any server?
 
Suzzane Pinto
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1637
6
Android Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could we have a look on your code?
 
Suzzane Pinto
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

image here is the byte[] iam sending
 
Swastik Dey
Rancher
Posts: 1637
6
Android Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
from mobile it gives datatruncation exception....from avd it gets uploaded sucessfully
 
thomas brian
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't do facebook, but photobucket is working fine on my mopho. Have upload status bar. Try a reboot....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic