×

Discussion Board

Page 1 of 3 123 LastLast
Results 1 to 15 of 32
  1. #1
    Registered User
    Join Date
    Mar 2008
    Location
    SLOVAKIA,Bratislava
    Posts
    337

    Angry HWRMTestApp Required Access NOT ....

    HWRMTestApp

    But on the Installation on the phone i was NOT-ASKED: Allow Application to ReadDeviceData....
    Required AppAccess not GRANTED !
    HWRMTestApp.MMP
    CAPABILITY ReadDeviceData
    SIS...OK
    HWRMTestApp_gcce.pkg
    E:\_NOKIA\...\HWRMTestApp_gcce.sis E:\_NOKIA\...\HWRMTestApp\sis\HWRMTestApp_signed.sis
    ; UID is the app's UID
    #{"HWRM Test"},(0xA0000185),1,0,0,TYPE=SA
    ****************************
    HWRMTestApp_gcce.pkg
    HWRMTestApp_armv5.pkg
    HWRMTestApp_armv5_abiv2.pkg
    Last edited by PACALA_BA; 2008-07-18 at 11:56.

  2. #2
    Registered User
    Join Date
    Mar 2008
    Location
    SLOVAKIA,Bratislava
    Posts
    337

    Re: HWRMTestApp Required Access NOT ....

    "},(0xA0000185),...Unprotected Range (OK..??)
    **********************************************
    1.19 What is the UID Range for Open Signed Online?
    Open Signed Online allows SIS files to be signed where
    - UIDs are in the Test Range (0xE0000000 to 0xEFFFFFFF) OR
    - UIDs where the email address of the submitter matches the email address of the UID owner for the Protected Range (0x20000000 - 0x2FFFFFFF) and Unprotected Range (0xA0000000 - 0xAFFFFFFF)

  3. #3
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: HWRMTestApp Required Access NOT ....

    As opposed to ReadUserData, ReadDeviceData is not user grantable so you need to sign the application with a developer certificate before installing it.

    For this you can use the Open Signed Online service but obviously you have to change the UID3 first, my recommendation to an 0xE??????? range UID. Make sure you replace all occurrences of this number in your project (Carbide.c++ could be very useful for this as it has a search & replace tool that can process all the files in the project at once)
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  4. #4
    Registered User
    Join Date
    Mar 2008
    Location
    SLOVAKIA,Bratislava
    Posts
    337

    Smile Re: HWRMTestApp Required Access NOT ....

    OK, thanks !!!
    SUCCESS

  5. #5
    Registered User
    Join Date
    Mar 2008
    Location
    SLOVAKIA,Bratislava
    Posts
    337

    Exclamation Re: HWRMTestApp Required Access NOT ....

    WITH <<OLD>> UID...

  6. #6
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: HWRMTestApp Required Access NOT ....

    Quote Originally Posted by PACALA_BA View Post
    WITH <<OLD>> UID...
    Hmm, why is it that I am not surprised ...
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  7. #7
    Registered User
    Join Date
    Mar 2008
    Location
    SLOVAKIA,Bratislava
    Posts
    337

    Question Re: HWRMTestApp Required Access NOT ....

    HWRMTestApp.mmp

    UID 0x0 0xA0000185
    UID2...OK ???

    <NO> SECUREID specified.....???

  8. #8
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: HWRMTestApp Required Access NOT ....

    UID2 = 0 is ok.
    SID defaults to UID3 when not explicitly set to another value. Also OK.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  9. #9
    Registered User
    Join Date
    Mar 2008
    Location
    SLOVAKIA,Bratislava
    Posts
    337

    Angry Re: HWRMTestApp Required Access NOT ....

    //OLD...UID 0x0 0xA0000185
    UID 0x0 0xE0000000

    Unable to install !
    CAPABILITY ALL/IN FILE
    File rename YES/NO
    C++Beginner (MS Access/FoxPro,VisualBasic Developer) Carbide V2.7,S60 3rd MR SDK/Nokia C5.00-5mp,6120c

  10. #10
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,344

    Re: HWRMTestApp Required Access NOT ....

    Quote Originally Posted by PACALA_BA View Post
    //OLD...UID 0x0 0xA0000185
    UID 0x0 0xE0000000

    Unable to install !
    CAPABILITY ALL/IN FILE
    File rename YES/NO
    Show contents of your .pkg file.

    Kiran.
    Nokia Developer Wiki Moderation team

  11. #11
    Registered User
    Join Date
    Mar 2008
    Location
    SLOVAKIA,Bratislava
    Posts
    337

    Re: HWRMTestApp Required Access NOT ....

    Code:
    /*
    * ==============================================================================
    *  Name        : HWRMTestApp.mmp
    *  Part of     : HWRMTestApp
    *  Interface   : 
    *  Description : Hardware Resource Manager test application project
    *                definition file
    *  Version     : 
    *
    *  Copyright (c) 2002-2006 Nokia Corporation.
    *  This material, including documentation and any related 
    *  computer programs, is protected by copyright controlled by 
    *  Nokia Corporation. 
    * ==============================================================================
    */
    
    TARGET      HWRMTestApp.exe
    TARGETTYPE  exe
    //epocstacksize 0x5000 //define our own stack as this is no longer provided by apprun
    //OLD...UID         0x0 0xA0000185
    UID         0x0 0xE0000000
    //1.19 What is the UID Range for Open Signed Online?
    //Open Signed Online allows SIS files to be signed where 
    //- UIDs are in the Test Range (0xE0000000 to 0xEFFFFFFF) OR
    //- UIDs where the email address of the submitter matches the email address of the UID owner for the Protected Range (0x20000000 - 0x2FFFFFFF) and Unprotected Range (0xA0000000 - 0xAFFFFFFF)
    
    VENDORID    0
    CAPABILITY 	ReadDeviceData
    
    SOURCEPATH ..\src
    SOURCE  HWRMTestAppApp.cpp 
    SOURCE  HWRMTestAppAppUi.cpp
    SOURCE  HWRMTestAppDocument.cpp
    SOURCE  HWRMTestAppContainer.cpp
    SOURCE  HWRMTestAppPropertyObserver.cpp
    
    SOURCEPATH        ..\data
    START RESOURCE 	HWRMTestApp.rss
    HEADER
    TARGETPATH resource\apps
    LANG     SC
    END // RESOURCE
    
    START RESOURCE 	HWRMTestApp_reg.rss
    // Do not change the UID below.
    #ifdef WINSCW
    TARGETPATH 	  \private\10003a3f\apps
    #else
    TARGETPATH 	  \private\10003a3f\import\apps
    #endif
    END // RESOURCE
    
    USERINCLUDE ..\inc
    SYSTEMINCLUDE   . \epoc32\include
    
    LIBRARY euser.lib apparc.lib cone.lib eikcore.lib 
    LIBRARY eikcoctl.lib avkon.lib
    LIBRARY efsrv.lib
    LIBRARY HWRMLightClient.lib
    LIBRARY HWRMVibraClient.lib
    LIBRARY bafl.lib
    LIBRARY eikdlg.lib
    LIBRARY eikctl.lib
    
    // End of File
    C++Beginner (MS Access/FoxPro,VisualBasic Developer) Carbide V2.7,S60 3rd MR SDK/Nokia C5.00-5mp,6120c

  12. #12
    Registered User
    Join Date
    Mar 2008
    Location
    SLOVAKIA,Bratislava
    Posts
    337

    Re: HWRMTestApp Required Access NOT ....

    PKG
    Code:
    ;
    ; Installation file for HWRMTestApp application
    ;
    ;Languages
    &EN
    ;
    ; UID is the app's UID
    ;
    #{"HWRM Test"},(0xE0000000),1,0,0,TYPE=SA
    
    ;Localised Vendor name
    %{"Vendor Test EN"}
    
    ; Vendor name
    : "Vendor Name"
    
    ;Supports Series 60 v 3.0
    [0x101F7961], 0, 0, 0, {"Series60ProductID"}
    
    ;File to install
    ; $(EPOCROOT)epoc32\release\$(PLATFORM)\$(TARGET)\
    "$(EPOCROOT)epoc32\release\$(PLATFORM)\$(TARGET)\HWRMTestApp.exe" 			-"!:\sys\bin\HWRMTestApp.exe"
    "$(EPOCROOT)epoc32\data\Z\private\10003a3f\import\apps\HWRMTestApp_reg.rsc" 	-"!:\private\10003a3f\import\apps\HWRMTestApp_reg.rsc"
    "$(EPOCROOT)epoc32\data\Z\Resource\apps\HWRMTestApp.RSC" 			-"!:\resource\apps\HWRMTestApp.RSC"
    "$(EPOCROOT)epoc32\data\z\resource\apps\hwrmtestapp_aif.mif"		-"!:\resource\apps\hwrmtestapp_aif.mif"
    
    ;required for application to be covered by backup/restore facility 
    "backup_registration.xml"						-"!:\private\A0000185\backup_registration.xml"
    Last edited by ltomuta; 2008-07-26 at 15:01.
    C++Beginner (MS Access/FoxPro,VisualBasic Developer) Carbide V2.7,S60 3rd MR SDK/Nokia C5.00-5mp,6120c

  13. #13
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,674

    Re: HWRMTestApp Required Access NOT ....

    Replace the UID for "backup_registration.xml" too.

  14. #14
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,344

    Smile Re: HWRMTestApp Required Access NOT ....

    Quote Originally Posted by wizard_hu_ View Post
    Replace the UID for "backup_registration.xml" too.
    Yes. That's what i was suspecting.

    Kiran.
    Nokia Developer Wiki Moderation team

  15. #15
    Registered User
    Join Date
    Mar 2008
    Location
    SLOVAKIA,Bratislava
    Posts
    337

    Re: HWRMTestApp Required Access NOT ....

    OK,Thanks, Error removed.
    But After Reinstal, Start NOTHING-TO-SEE...!?
    C++Beginner (MS Access/FoxPro,VisualBasic Developer) Carbide V2.7,S60 3rd MR SDK/Nokia C5.00-5mp,6120c

Similar Threads

  1. Nokia 6101 Locked 2 TMobile Midlet can't access internet...
    By Jason Glass in forum Mobile Java Networking & Messaging & Security
    Replies: 45
    Last Post: 2007-11-14, 02:19
  2. Thawte Premium Server CA
    By Thygrrr in forum Mobile Java Networking & Messaging & Security
    Replies: 10
    Last Post: 2006-09-12, 05:04
  3. NetBeans 4.1 Early Access Release Now Available
    By rdemmer in forum Mobile Java General
    Replies: 0
    Last Post: 2004-10-22, 14:52
  4. Gateway IP address in Nokia 6600 access point
    By yashodhan in forum General Development Questions
    Replies: 0
    Last Post: 2004-10-01, 12:22
  5. 6820 Secure Access and other q"s
    By crjag in forum General Development Questions
    Replies: 0
    Last Post: 2004-04-17, 23:29

Posting Permissions

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