开发者

BlackBerry Dev - Downloading an image from online and displaying

开发者 https://www.devze.com 2023-02-09 07:53 出处:网络
So, I\'ve been through the BlackBerry开发者_运维技巧 API, and the online documentation, but I\'m having an issue with connecting and getting it to display. I\'ve uploaded the image to the Apache serve

So, I've been through the BlackBerry开发者_运维技巧 API, and the online documentation, but I'm having an issue with connecting and getting it to display. I've uploaded the image to the Apache server, and I can access it through localhost, but I can't get it to display to the screen.

I am developing in Eclipse workspace, in a windows vm.


  1. you have to create http connection to interact with server
  2. the server will send u data in bytes
  3. convert this to encoded image / bitmap image and display on screen

try these:

RIM's HttpConnection documentation.

StackOverflow questions:

  • BlackBerry app unable to establish Http Connection with server
  • post and get data via webservice
  • For converting a byte array to a bitmap: Display static Google Map image in BlackBerry 5.0
0

精彩评论

暂无评论...
验证码 换一张
取 消