|
Re: success: sockets on nokia 3650 (symbian): msg#00182java.sun.kvm
Comments, read below. ----- Original Message ----- From: "Peter Rogers" <peterzrogers@xxxxxxxxxxx> To: <KVM-INTEREST@xxxxxxxxxxxx> Sent: Tuesday, September 23, 2003 12:30 PM Subject: Re: success: sockets on nokia 3650 (symbian) > Hmmm. > > So you CAN use Sockets on Nokia's but they are unsupported and you must use > 2 sockets (one to read and one to write). > Yes, it works. > You worried me when you said synchronous though. Is the networking > asynchronous? In other words can it read or write at the same time as the > application is running? If the networking is synchronous then the > application will stop when data is read or written from the network even if > seperate threads are used (its an OS issue). Thats not good at all. > Asynchronous, yes. Either connections work in its own thread. > The Nokia 7650 and 3650 are both Symbian 6.1. We have now moved onto Symbian > 7.0 phones of which the Nokia 6600 is one. Do we think this is a Symbian 6.1 > issue though or a Nokia Java issue? > I think this is Java issue, since AFAIK the Symbian sdk offers socket support. > I would be very interested in any more information on Socket implementations > for J2ME, especially those on Nokia handsets. > You won't find to much information since they don't support it. > Finally what kind of PING times are you guys getting on your GPRS networks? > I hear Voda's is quite fast. > I can only talk about the roundtrip time for our test application: - http 3 to 5 seconds - 2 socket connections around 1 second (note: we send only very small data packages ~ 8byte) We tested with different providers in Austria and the results were almost the same. Conclusion: I wouldn't recommend the use of socket connections at least for the mentioned phones. In addition to only few phones support socket connections, it's also often very difficult to establish a socket connection to a specified mobile phone operator. As an example it's possible that you have to set up an extra internet account to be able to establish a connection. This is because GPRS-data and Wap-data is billed differently. Because of this limitations the client won't (be able to) use the application. So as for now MIDP applications shouldn't rely on network connectivity heavily (IMO). I'd appreciate any addition, correction, and comment on this. Claus > Peter > > > > > >From: Claus Klammer <klammer@xxxxxxxxx> > >Reply-To: A mailing list for KVM discussion <KVM-INTEREST@xxxxxxxxxxxx> > >To: KVM-INTEREST@xxxxxxxxxxxx > >Subject: Re: success: sockets on nokia 3650 (symbian) > >Date: Tue, 23 Sep 2003 07:18:31 +0200 > > > >We've got the same problem on the 7650. But we managed to support > >asynchronous behaviour by simply use two connections (one for reading the > >other for writing) ;-)! (But note: TCP-Socket-Connections are not supported > >by Nokia!) > >I did a lot of research in networking capabilities of mobile phones > >(especially Nokia phones). Maybe I can give you some tips also I don't know > >the new MIDP2.0 phones. > > > >Claus > > > >----- Original Message ----- > >From: "Michael Powers" <michael@xxxxxxxxxxx> > >To: <KVM-INTEREST@xxxxxxxxxxxx> > >Sent: Monday, September 22, 2003 5:23 PM > >Subject: success: sockets on nokia 3650 (symbian) > > > > > > > Hi all, > > > > > > Having just got a Nokia 3650, I was puzzled that while the connector > > > return a connection object for a "socket" url, even though it didn't > > > seem to work. If it wasn't implemented, why didn't it just throw an > > > exception? > > > > > > I didn't find anything about this in my research, so maybe this will > > > come as news to you: > > > > > > Turns out that it's a *half-duplex* socket. Reading or writing blocks > > > both until the operation completes. If you have an asynchronous > > > application, you're still out of luck, but if you can get by with a > > > synchronous protocol, you can get your app to work. (Also be sure to > > > flush properly on both ends, or you'll get hung. Pardon my colorful > > > language.) > > > > > > I'm not currently sure if this impacts all Symbian-based environments > > > (like the Sony-E P800), but suspect they all share the same KVM > > > implementation. Perhaps someone can verify this. Also unclear is > > > whether this affects the Nokia MIDP 2.0 device, which is Symbian based. > > > > > > - Michael > > > > > > > >=========================================================================== > > > To unsubscribe, send email to listserv@xxxxxxxxxxxx and include in the > >body > > > of the message "signoff KVM-INTEREST". For general help, send email to > > > listserv@xxxxxxxxxxxx and include in the body of the message "help". > > > > > > >=========================================================================== > >To unsubscribe, send email to listserv@xxxxxxxxxxxx and include in the body > >of the message "signoff KVM-INTEREST". For general help, send email to > >listserv@xxxxxxxxxxxx and include in the body of the message "help". > > _________________________________________________________________ > It's fast, it's easy and it's free. Get MSN Messenger today! > http://www.msn.co.uk/messenger > > =========================================================================== > To unsubscribe, send email to listserv@xxxxxxxxxxxx and include in the body > of the message "signoff KVM-INTEREST". For general help, send email to > listserv@xxxxxxxxxxxx and include in the body of the message "help". > =========================================================================== To unsubscribe, send email to listserv@xxxxxxxxxxxx and include in the body of the message "signoff KVM-INTEREST". For general help, send email to listserv@xxxxxxxxxxxx and include in the body of the message "help".
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: success: sockets on nokia 3650 (symbian), Peter Rogers |
|---|---|
| Next by Date: | Re: success: sockets on nokia 3650 (symbian), Peter Rogers |
| Previous by Thread: | Re: success: sockets on nokia 3650 (symbian), Peter Rogers |
| Next by Thread: | Re: success: sockets on nokia 3650 (symbian), Peter Rogers |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |