All About Symbian - Nokia (S60) and Sony Ericsson (UIQ) smartphones unwrapped

Go Back   All About Symbian Forums > General > Development > Symbian Java

 
 
Thread Tools Display Modes

  #1  
Old 05-09-2003, 12:07 PM
hbfornies hbfornies is offline
Registered User
 
Join Date: Sep 2003
Posts: 5
hbfornies is on a distinguished road
Series 60 Mobile which supports DatagramConnection in J2ME?

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();
}

  #2  
Old 06-09-2003, 01:38 PM
N/A's Avatar
N/A N/A is offline
Registered User
 
Join Date: Mar 2003
Posts: 8,527
N/A is on a distinguished road
Re: Series 60 Mobile which supports DatagramConnection in J2

Quote:
Originally Posted by hbfornies
Which previous mobiles are Series 60?
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.
Ads
 

Bookmarks

Tags
datagramconnection, j2me, mobile, series, supports

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT. The time now is 06:32 PM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright Notes || Contact Us || Privacy Policy