Does the 3650 support DatagramConnection? I'm using Sun One Studio 4 with Series_60_MIDP_SDK_for_Symbian_OS_v_1_0 and get the following error opening a DatagramConnection: javax.microedition.io.ConnectionNotFoundException: java.lang.ClassNotFoundException: com.symbian.midp.io.protocol.datagram.Protocol.
The MIDP spec does not require a phone to provide, well, much of anything. If you read it carefully, you will find that implentations "MAY provide" features you care about.
MIDP 2 changes this to "SHOULD provide" -- ie, you still can't count on it. Word is that Nokia may catch up with other manufacturers in this regard with the 6600; I'm certainly optimistic. But before the 6600, you're just out of luck.
If this is the case with Nokia in their 3650 . Why was that no documents specify that 3650 does n't support datagram?
If Nokia 3650 claims that they are MIDP 1.0 complaint and MMAPI complaint . Their technical specifications does n't describe anything about this. Is it that they don't reveal their limitations in their release.
It was my luck when i tried StreamConnection in 3650 , it worked and i was able to achieve datagram connections.
Does any one discuss more about Stream Connection , ContentConnection , InputConnection and OutputConnection.
Not supporting datagrams or streams is perfectly MIDP compliant -- the MIDP spec doesn't require datagrams or streams, it just requires that if there are datagrams or streams, they must follow this interface.
This is a serious shortcoming of the spec, but it is not actually Nokia's problem. MIDP just doesn't guarantee datagrams or streams. The only networking that Nokia bothers to provide is http. No TCP (Streams), no UDP (Datagrams), nothing but http, and that implemented in a totally synchronous way so don't even think about using the hold-open-a-POST trick.
If you want networking, use Sprint. If you want Nokia, use http, or don't network.
Oh, and be careful with the http. The http is pretty buggy and unreliable. We have been measuring round-trips of several seconds, with as many as 10% of requests lost in the network.
If networking is entirely based on MIDP complaint specs.
It sounds aggreable. But If nokia tries to stop networking in their implementation.
How it is possible to disable networking in java and enable networking (TCP / UDP) in c++.
Yes , i mean it . Iam able to create sockets in Symbian C++ and my handsets communicate with my server freely.
I have even tried developing applications for my 3650 handsets for http access (j2me) , nothing went faulty as you claim.
May i know what kind of network you have to access http?
Sorry, I was being US-centric. Sprint is a US carrier, all of whose MIDP phones support UDP and TCP.
If you're outside the US, I don't know much about your options -- look for handsets from LG, Sanyo, or Samsung, since I know that they all provide some phones with non-crippled MIDP implementations.