Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Series 60 Mobile which supports DatagramConnection in J2ME?

1 replies · 2,073 views · Started 05 September 2003

hello

I'm developing an J2ME application which needs to do a Datagram Connection.

Up to now, I've tried to make it with the Nokia 7650 and I get the
following exception when I run the app in the REAL DEVICE:

java.lang.ClassNotFoundException:
com.symbian.midp.io.protocol.datagram.Protocol

Which Mobile supports DatagramConnection in J2ME?

Someone told me in the Nokia forum that maybe the following phone models support DatagramConnection:
Sanyo 8100 and 5300, Samsung A500 and N400, LG LX5550, or Motorola V300.

Is this correct?

As I have developed for Nokia 7650, I have used the Series 60 libraries and I would like to migrate to a Series 60 mobile that supports DatagramConnection.

Which previous mobiles are Series 60?

Thanks in advance

The source code is the following:

try {

// Create a new datagram socket.
DatagramConnection dc =
(DatagramConnection)Connector.open("datagram://:9000"😉;

System.out.println("SYSTEM, datagram server listener:
datagram://:9000" );

System.out.println("SYSTEM, datagram size:"+MAX_DATAGRAM_SIZE);

Datagram datagram =
dc.newDatagram(MAX_DATAGRAM_SIZE);

System.out.println("SYSTEM, listening!"😉;

dc.receive(datagram);

System.out.println("SYSTEM, packet revceived!"😉;

} catch (Exception ex)
{
System.out.println("SYSTEM, exception raised:"😉;
ex.printStackTrace();
}

[quote="hbfornies"]Which previous mobiles are Series 60?
[/quote]None are. The shipping (available) Series 60 phones are Nokia 7650 and Nokia 3650, and its US-only variant Nokia 3600.

Announced but not shipping yet Series 60 phones are: Nokia N-Gage, Nokia 6600, Samsung SGH-D700, Siemens SX1.