BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 03-11-2010, 11:46 PM   #1 (permalink)
New Member
Join Date: Mar 2010
Model: 8100
Carrier: Airtel
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Http Connection

Please Login to Remove!

Hi All, I am new to Blackberry Devlopment. i am developing an application in J2me which establishes connection with the remote server and sends data as an XML over internet. I tried to establish connect both ways by appending ;deviceside=false and also by appending ;deviceside=true to the URL. By second option it works well on simulator but on real device it do not establish connection. kindly help me, its urgent.....

Thanks in advance
Old 03-12-2010, 12:34 AM   #2 (permalink)
Knows Where the Search Button Is
Join Date: Mar 2010
Model: N/A
Carrier: Fledge
Posts: 43
Post Thanks: 0
Thanked 0 Times in 0 Posts


There is a very good sample networking application that attempts to use BES, BIS, TCP, and WAP2 connection methods all in one class. You can check it out at and download the source for chapter 7.

I also highly recommend that book.
Old 03-12-2010, 07:55 AM   #3 (permalink)
BlackBerry Extraordinaire
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts

";deviceside=true" will require APN information, either set in the device TCP parameters or embedded in the URL. These APN parameters are carrier-specific.

See this KB article:

Livelink - Redirection
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-2014
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.