BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 12-01-2010, 01:26 AM   #1 (permalink)
New Member
 
Join Date: Dec 2010
Model: 9520
PIN: N/A
Carrier: Vodacom
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default HttpConnection using apn url parameter

Please Login to Remove!

Hi All

I need to create a http connection and specify a APN with username and password.

I cannot use BIS or MDS and I need to load images and text.

The code I use is :

hpc = (HttpConnection) Connector.open(url + ":8080;deviceside=true;apn=internet;tunnelauthuser name=username;tunnelauthpassword=password;")

This works on the simulator but not on the device.

I see there is a lot of Threads on this topic but no solutions.

Is this possible use a HttpConnection (Not StreamConnection or Socket connection) ?
How?

Please help.
Offline  
Old 12-01-2010, 08:52 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default Re: HttpConnection using apn url parameter

These APN parameters are carrier-specific - are these the correct parameters for *your* carrier?
Offline  
Old 12-01-2010, 09:03 AM   #3 (permalink)
New Member
 
Join Date: Dec 2010
Model: 9520
PIN: N/A
Carrier: Vodacom
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: HttpConnection using apn url parameter

Thanks for your Reply

Yes they are, I have tested this by changing the APN setting on the device and removing the parameters and it works.
Offline  
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

Similar Threads for: HttpConnection using apn url parameter
Thread Thread Starter Forum Replies Last Post
BlackBerry Internet - MSN/chat/web/telnet/TCPIP - No BES! Mark Rejhon BlackBerry Network 517 08-05-2014 09:34 PM
berry411 Wont work aka General 8300 Series Discussion - Curve 2 10-14-2008 09:41 PM
Http Connection : Java.io.IOEception : Invalid URL Parameter satyam Developer Forum 2 07-11-2008 04:05 AM
Invalid URL parameter error kronbbgal Developer Forum 0 05-29-2008 01:45 PM

10 Plastic Shopping Bags w/ Vintage Rainbow Apple Logo
$5.0
10 Plastic Shopping Bags w/ Vintage Rainbow Apple Logo picture2 Vintage Antique Letterpress Printer Block - Metal - Wood - Printing - Apple
$12.95
2 Vintage Antique Letterpress Printer Block - Metal - Wood - Printing - Apple pictureVintage Apple Darlin's Weekly Memo Note Pad 52 Sheets SEALED 1970's
$9.5
Vintage Apple Darlin's Weekly Memo Note Pad 52 Sheets SEALED 1970's pictureVintage Simmons Howe 4 Quart Sausage Stuffer Apple Wine Lard Press 4 QT
$119.99
Vintage Simmons Howe 4 Quart Sausage Stuffer Apple Wine Lard Press 4 QT pictureVintage Letterpress Print Type Ornament "An Apple A Day Bugs The A.M.A." Adcut
$12.5
Vintage Letterpress Print Type Ornament






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.