Discussion Board

Results 1 to 3 of 3

Thread: Nokia device

  1. #1
    Regular Contributor fabiocberg's Avatar
    Join Date
    Nov 2008
    Posts
    92
    Hi all,

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

    Thanks!

  2. #2
    Super Contributor grahamhughes's Avatar
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,394
    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 fabiocberg's Avatar
    Join Date
    Nov 2008
    Posts
    92
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved