Reputation: 16407
How can I get the phone name, model, and firmware versioan in an application?
Upvotes: 0
Views: 793
Reputation: 8671
Best bet is System.getProperty("microedition.platform")
. That provides all the information you need on some handsets such as Nokias or SonyEricssons, but on some handsets it just returns "J2ME".
An alternative could be to make an HTTP request to a server somewhere, and have the server check the user-agent for you.
Upvotes: 3