> Hi how can you retrieve a MIDLETS properties ie the
> name of the midlet and the version?
MIDlet.getAppProperty("MIDlet-Name")
MIDlet.getAppProperty("MIDlet-Version")
> Also is there a way to retrieve what device a user
> has? ie nokia, samsung etc? im not particularly
> interested on the actual model number but just the
> company
System.getProperty("microedition.platform")
Dan
hi i have tried using this:
String name = MIDlet.getAppProperty("MIDlet-Name");
String version = MIDlet.getAppProperty("MIDlet-Version");
but i get a error saying that a none static method of getAppProperty cannot be reference from a static context?
> i got it working. but the system.getproperty doesnt
> return the phone's make ie nokia, samsung, etc..
It works on Nokia phones. At least the dozen or so I work with. I get this "NokiaN90-1/2.0527.2.3" on my N90. The property is specified in the CLDC spec (1.0 and 1.1) but the value is vendor dependent (I guess some would choose to not implement it).
> what are the list of keys i can use to retrieve the
> phones make and model? thanks
I think there is only one property that describes the platform unless the vendor chooses to add a non-standard property to provide more information.