Since it is not possible to specify the APN for HttpConnection in plain Java ME, are there vendor specific hacks other than BlackBerry OS URL suffixes?
Asked
Active
Viewed 818 times
1
-
are you asking about Blackberry specific hacks? if not, what device are you interested to know about? – gnat Nov 16 '11 at 15:08
-
I'm interested any Java ME device that does not come from RIM – Hans Malherbe Nov 16 '11 at 16:03
1 Answers
0
The only way I know is using a suffix:
"http://somenonexistingurl.fake;apn=<myapn>"
I think it should also work in a J2ME MIDlet running on BB.
As for the other non-bb devices, my guess is no. In J2ME you are not programming to a "phone" but to a "connected limited device" which may not have internet at all.

Mister Smith
- 27,417
- 21
- 110
- 193