BlackBerryForums.com : Your Number One BlackBerry Community      

»Sponsored Links




Closed Thread
 
LinkBack Thread Tools
  (#1 (permalink)) Old
dennis_boerger Offline
Knows Where the Search Button Is
 
Posts: 33
Join Date: Jan 2007
Location: Münster, Germany
Model: 8700
Default How to response on a HTTP Push? - 03-05-2007, 11:52 AM

I am able to push data on a blackberry device by following the JDE example (I made it more simple than in the example).

PUSH-APPLICATION-SIDE
------------------------
I establish a connection (HttpURLConnection) and send the data to http://...../push?DESTINATION...

BB-SIDE
--------
The BB receives the Push and the data I send. Now I would like that the BB can response to that connection (StreamConnection). How is this possible? Has anyone a SIMPLE example?

What I tried: get an OutputStream (BB side) from the StreamConncetion and send data over that outputstream output.write(...). This didn't work when I waited with inpu.read on the "other side".
   
Sponsored Links
Please Login or Register to Remove these Advertisements!

  (#2 (permalink)) Old
egalexe Offline
Knows Where the Search Button Is
 
Posts: 47
Join Date: Feb 2007
Model: 9000
Carrier: SFR
Default 03-05-2007, 02:17 PM

Socket connection is not "simple". If you go that way with a Blackberry you have to be sure you have the good data plan, there is some modification to do on url and there is some configuration issues.
If you want a simple connection, implement an http connection on the BB side too.
   
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On






Copyright © 2004-2008 BlackBerryNews.com, BlackBerryFAQ.com, BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of Research In Motion Limited.
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.1