Does anyone know how to find out what the manufacturer and / or model number of the phone is from within my J2ME app?
Does anyone know how to find out what the manufacturer and / or model number of the phone is from within my J2ME app?
There is no definitive way to do this. Best is:
This will return useful information on Nokias and Sonys, probably Motorolas. On many devices, it will just return "j2me", which isn't much use.Code:String platform = System.getProperty("microedition.platform");
The format of the information will vary. Nokias are generally consistent, as are Sonys (though, not with each other).