12-01-2010, 12:26 AM
Join Date: Dec 2010
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | HttpConnection using apn url parameter
Please Login to Remove!
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) ?