×

Discussion Board

Results 1 to 3 of 3

Thread: Nokia device

  1. #1
    Regular Contributor
    Join Date
    Nov 2008
    Posts
    92

    Question Nokia device

    Hi all,

    Are there any way of the application knows whether the device is a Nokia device?

    Thanks!

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: Nokia device

    Yes.

    Code:
    String platform = System.getProperty("microedition.platform");
    boolean isNokia = platform != null && platform.startsWith("Nokia");
    This does not work with all manufacturers, but it works on all Nokias.

    Graham.

  3. #3
    Regular Contributor
    Join Date
    Nov 2008
    Posts
    92

    Re: Nokia device

    Thank you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×