Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sending images from the server to the phone

 
Juwonlo Ibigbami
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Mobile ranchers
1. Please i am developing an application that connect to the web(server), please can anyone tell me how to transfer images to the mobile phone application from the server.
2. can images goes into the recordstore?, how?

Thaks in advance

Juwonlo
SCJP 5.0
 
Rajesh Gopu
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
open a httpconnection with the server
get the byte stream of the image save the same bytestream in file or in a recordstore.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18152
52
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Rajesh gg ",

We don't have many rules at the JavaRanch, but we do insist on people using their real name. For more info, please read this page: http://www.javaranch.com/name.jsp

Thanks for your contribution, though!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic