| Reply | « Previous Thread | Next Thread » |
|
I know the functionality for sockets on a 7210 is available through CLDC, but creating a connection without an instance of com.sun.cldc.io.j2me.socket.Protocol is impossible, and I get a "Cannot access class in system package" error, or an IllegalAccessException whenever I try to instantiate it.
Doing it through the Connector class will work if I can enable the environment variable ENABLE_CLDC_PROTOCOLS, but I can't seem to do this on the emulator, and I don't even know if it exists on the phone. Any ideas? Thanks, Mark Steward |
|
but how enable ENABLE_CLDC_PROTOCOLS ???
gicio |
|
err that's what I asked.
|
|
err = ERROR????
gicio |
|
sigh.
Ahh well, everybody's saying that there's only one Nokia phone with support for sockets, so the solution must be to build a server-side HTTP wrapper. |
|
Quote:
And second, just to make things clear. The ENABLE_CLDC_PROTOCOLS flag is a flag for the emulator, so it can know if it should let you run sockets or not. There is no flag like this on the phone. The phone either supports sockets or it doesn't (usual answer: it doesn't). On a 7210 socket functionality is not available. shmoove |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|