[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kvm-interest
Subject:    Re: Properties
From:       Peter Rogers <Peter.Rogers () HUTCHISON3G ! COM>
Date:       2001-08-30 14:13:26
[Download RAW message or body]

Hi guys,

Well I used SpruceTester the other day on the Accompli and was pleased to
see that it retrieves certain pieces information about the application and
the device.

I know that you can use getAppProperty(String name) in the MIDlet class but
this just retrieves from the JAD and the manifest with the JAD taking
priority.

What I want to know is can you detect the CLIENT without using the JAD or
the manifest? The motivation for this is that the application could
reconfigure itself for the particular handset it was running on. This
removes the need for dynamic manifest and JAD writing.

There is a method in java.lang.System.getProperty(String name) but what does
it actually do?

It would be good if you could do the following:

String phone = System.getProperty("Platform");

Can you do this or something similar?

Also, there seems to be no way to iterate thorugh the manifest or JAD
properties. You need to know what you are looking for
before you look for it. This is OK I guess as the manifest and JAD are
supposed to followed the MIDP OTA recommendation but what if you want to add
in additional properties?

Peter


___________________________________________________________________
This communication contains  information which  is confidential and
may also be privileged. It is for the exclusive use of the intended
recipient. If you are  not the intended recipient, please note that
any form of distribution, copying or  use of this  communication or
the information in it is strictly prohibited. If  you have received
this communication  in  error,  please  return  it  with  the title
"received in error"  to  Helpdesk@hutchison3g.com  then  delete the
email and destroy any copies of it. Please contact our Helpdesk  on
01628765555 if you need assistance. Thank you for your cooperation.
___________________________________________________________________

 ==========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST".  For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic