×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    14

    Restrict Symbian application installation for a given phone model

    We want to restrict the application to be successfully installed to a given phone model only. What we have tried is that we specify [<The specific phone product ID>], 0, 0, 0, {"<Phone product ID>"} instead of the standard description [0x101F7961], 0, 0, 0, {"S60ProductID"} in the pkg file. However, when installing the application on another phone model, the user is prompted that the application may be incompatible with the phone but the installer still continues the application installation. Is there any way to restrict the application if the phone model is not matched?

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,569

    Re: Restrict Symbian application installation for a given phone model

    I don't think you can prevent the user from installing it, but you can do a run-time check for the model and exit the app, if the model is not the correct one (note that if someone really wants to, they can always patch out such checks, too, if they know how).

    Why do you want to restrict an app to a specific model?

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    14

    Re: Restrict Symbian application installation for a given phone model

    Hi petrib,

    Thanks a lot your recommendation. I think run-time checking is the only way.

    Regards,
    Joseph

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,734

    Re: Restrict Symbian application installation for a given phone model

    You need something like
    Code:
    IF (MachineUID=0x1234)
    "My.app"-"..."
    ENDIF
    Search for "MachineUID" in the SDK help, and check the examples.

Similar Threads

  1. How do you run an application on the emulator on the PC so a phone can see it
    By johncogan in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2006-02-21, 14:39
  2. Can't port Video application on Symbian UIQ
    By yogesh14 in forum Symbian
    Replies: 1
    Last Post: 2006-02-16, 22:52
  3. Current Symbian Development Opportunities...!!
    By mobile2004 in forum Symbian
    Replies: 0
    Last Post: 2005-01-17, 17:58
  4. http get or post from symbian application
    By plmanikandan in forum Symbian
    Replies: 1
    Last Post: 2005-01-03, 15:20
  5. Replies: 0
    Last Post: 2002-05-30, 06:53

Posting Permissions

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