logo       

Re: Siemens S55 hurdles: msg#00295

java.sun.kvm

Subject: Re: Siemens S55 hurdles

1. The Preverifier is probably the same, but there is a difference between
the MIDP classes for each device. Just to be on the safe side, I always use
the preferivier and the MIDP classes provided by the phone vendor.

2. There are some acceptable changes between the MANIFEST and the JAD, but
most of the entries must be the same, down to the present (or absent) of a
space at the end of the line. Here are the rules I follow:

1. There should be an empty line at the end of the file
2. There should be no more than one consecutive space between
two words.
3. Manifest-Version: 1.0 must be the first line
4. All properties must be identical to the properties found in
the .JAD file, the only exceptions are:
a. Manifest-Version: 1.0 - not present in the .JAD file
b. MIDlet-JAR-URL, MIDlet-Size - not present in the
MANIFEST.MF file
5. In some devices there is a problem if the JAR size is a
round number in the hundreds (for example 31200b). If this is the case, add
a dummy file to change the size.

Adi.

-----Original Message-----
From: David Alejandro Caabeiro [mailto:david_caabeiro@xxxxxxxxxxxx]
Sent: Monday, December 22, 2003 12:21 PM
To: Adi Miller; 'David Alejandro Caabeiro'
Cc: 'KVM-INTEREST@xxxxxxxxxxxx'
Subject: RE: Siemens S55 hurdles

Hi Adi,

> 1. Preverified the MIDlet using Siemens preverifier
> and class library?

No, I used Sun's WMTK... is there any difference
with Siemens'?

> 2. Are you sure the MANIFEST.MF and the MIDlet JAD
> files are the same (where
> applicable)?

No, they're not the same...in fact, there're some
fields not present in the JAD ("Created-By",
"Manifest-
Version", to name a few). Could you tell me more
about this restriction? (if there were any)

> I have noticed that this phone keeps a cached
> version of the JAD, and thus
> fails any subsequent installation even if I fixed
> the "bad" JAD. I had to
> reset the device in order to force it to download
> the JAD again. To do that,
> click the left green button when inside the browser,
> then choose More, then
> choose Reset.

Yes, thanks. I already realized that.

> If even this fails, you should be aware of another
> bug in the device, which
> manifests it self as "Error verifying class
> <classname>" when the MIDlet is
> loaded. This is caused by having more than one
> negative case values in a
> switch statement, on old Siemens devices.

Ouch! Fortunately, I don't do such a thing...

The other possibility is upgrading the firmware, as
Stefan mentioned... don't know (I don't have the
phone at hand now, so I'll have to wait for a couple
of days to test this)

Thanks to all for your help. If I get it working,
I'll let you know what I did.

Regards,
David.-



_______________________________________________________________
Yahoo! Sorteos
¡Ya puedes comprar Lotería de Navidad!
http://yahoo.ventura24.es/

===========================================================================
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>
Google Custom Search

News | FAQ | advertise