Issue 24: Datagram schema related bug
Status:  Fixed
Owner:
Closed:  Mar 2010
Project Member Reported by bar...@gmail.com, Jan 7, 2010
MicroEmu does not accept datagram address in Sun standard.

UDPDatagramConnection conn;
conn.newDatagram(buff, length, "datagram://server:port");

The above line will throw an exception. I must remove "datagram://" from
the address string to make it work. However according to Sun MIDP specs and
Sun Wireless Toolkit Emulator, we must provide the schema.
Jan 7, 2010
Project Member #1 bar...@gmail.com
Fixed in trunk (future 3.0 version)
Status: Fixed
Labels: Milestone-3.0
Feb 24, 2010
#2 szco...@gmail.com
Hi,

I just download the source file, and found that this bug was not fixed completely. When we call 
Datagram.getAddress(), the returned string should also contain "datagram://" at the beginning.
Feb 25, 2010
Project Member #3 bar...@gmail.com
Reopening for fixing Datagram.getAddress()
Status: Accepted
Feb 26, 2010
Project Member #4 bar...@gmail.com
szcoder,

Can you attach the reference document that explains format of returning String in
Datagram.getAddress()? It looks that also Datagram.setAddress(..) potentially has to
be fixed too. 
Mar 1, 2010
#5 szco...@gmail.com
Hi,

I don't have the reference document. I got the results with the emulator in Sun's Wireless Toolkit 2.5.2.
In Sun's Wireless Toolkit and Nokia phones, Datagram.setAddress() must have "datagram://" at the beginning, 
and Datagram.getAddress() returns a string with "datagram://".

Thanks.
Mar 3, 2010
Project Member #6 bar...@gmail.com
Fixed Datagram.getAddress() and Datagram.setAddress()
Status: Fixed