This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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: 18276
56
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