×

Discussion Board

Results 1 to 13 of 13
  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    13

    [Moved & Merged] Hidding SMS

    Well i tried to hide a SMS using C++, installation was fine, however when i execute on my Nokia e 72 phone it says "Unable to execute file for Security Reason", can anyone tell why?

  2. #2
    Registered User
    Join Date
    May 2010
    Posts
    13

    Hidding SMS

    Well i tried to hide a SMS using C++, installation was fine, however when i execute on my Nokia e 72 phone it says "Unable to execute file for Security Reason", can anyone tell why?

  3. #3
    Registered User
    Join Date
    Feb 2007
    Location
    India
    Posts
    1,128

    Re: Hidding SMS

    Due to these reasons:

    1)Click on Project -> Add/Edit Capabilities
    2)When UID is from protected range and your certificate is self-signed.

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Hidding SMS

    you are missing some capability, so check the API used and see docs for it to see the required capabilities, and then add the required capaiblities to your mmp file.

  5. #5
    Registered User
    Join Date
    May 2010
    Posts
    13

    Re: Hidding SMS

    I think i tried what you said, however i will try again.
    Hope it has nothing to do with DevCert & Manufactuers Approved Certificates etc., is it?
    It actually fails when ChangL() function is invoked i guess.
    Last edited by rohitsingh81; 2010-05-19 at 07:35. Reason: elaborated a little

  6. #6
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Hidding SMS

    most SMS operations only require self-signed capabilities, anyway, can you make sure you have Read/Write user data & networkServices capaiblbities added to your project..

  7. #7
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: Create SMS in INBOX

    simple to access the inbox you need some capabilities, a self signed sis will not serve your porpose, try signing that sis with a developer certificate or a try using symbian online signing.

    Regards,

  8. #8
    Registered User
    Join Date
    May 2010
    Posts
    13

    Re: Create SMS in INBOX

    is it easy to get developer certificate?

  9. #9
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: Create SMS in INBOX

    Quote Originally Posted by rohitsingh81 View Post
    Well i tried to hide a SMS using C++, installation was fine, however when i execute on my Nokia e 72 phone it says "Unable to execute file for Security Reason", can anyone tell why?
    C++! I assume you are talking about Symbian C++. You do not require extended set of capabilities to hide the SMS. Self-signed certified application will do that. Make sure you have defined necessary capabilities in your application.

    Check this Wiki article for instance: http://wiki.forum.nokia.com/index.ph...crypt_Messages
    Nokia Developer Wiki Moderation team

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

    Re: Hidding SMS

    @rohitsingh81: Let's not multipost and even if you tempt to do then do it in the appropriate section.

    PS: I moved all your similar posts from Python section to this thread.
    Nokia Developer Wiki Moderation team

  11. #11
    Registered User
    Join Date
    May 2010
    Posts
    13

    Re: [Moved & Merged] Hidding SMS

    sorry about that, will take care next time.

    This is my mmp file could you please have a look at it.

    /*
    * Copyright (c) 2009 Nokia Corporation.
    */

    TARGET SymbianStub_0xE9D7CF12.exe
    TARGETTYPE exe
    UID 0x100039CE 0xE9D7CF12
    EPOCSTACKSIZE 0x8000

    SOURCEPATH ..\src
    SOURCE SymbianStub.cpp
    SOURCE SymbianStubApplication.cpp
    SOURCE SymbianStubAppView.cpp
    SOURCE SymbianStubAppUi.cpp
    SOURCE SymbianStubDocument.cpp
    SOURCE SymbianSnippet.cpp

    SOURCEPATH ..\data

    START RESOURCE SymbianStub.rss
    HEADER
    TARGET SymbianStub_0xE9D7CF12.rsc
    TARGETPATH resource\apps
    END //RESOURCE

    START RESOURCE SymbianStub_reg.rss
    TARGET SymbianStub_0xE9D7CF12_reg.rsc
    TARGETPATH \private\10003a3f\apps
    END //RESOURCE

    USERINCLUDE ..\inc

    SYSTEMINCLUDE \epoc32\include

    LIBRARY euser.lib
    LIBRARY apparc.lib
    LIBRARY cone.lib
    LIBRARY eikcore.lib
    LIBRARY avkon.lib
    LIBRARY commonengine.lib
    LIBRARY efsrv.lib
    LIBRARY estor.lib
    LIBRARY aknnotify.lib
    LIBRARY eikcoctl.lib
    LIBRARY eikctl.lib
    LIBRARY form.lib
    LIBRARY uiklaf.lib
    LIBRARY flogger.lib // For logging on device
    LIBRARY msgs.lib

    // Enable "on-device logging"
    MACRO __WRITE_SIMPLE_LOG

    LANG SC

    VENDORID 0
    SECUREID 0xE9D7CF12

    CAPABILITY NetworkServices ReadUserData WriteUserData

  12. #12
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: [Moved & Merged] Hidding SMS

    Try running your application on Emualator and find out the missing required capabilities. See this: http://wiki.forum.nokia.com/index.php/Epocwind.out
    Nokia Developer Wiki Moderation team

  13. #13
    Registered User
    Join Date
    May 2010
    Posts
    13

    Re: [Moved & Merged] Hidding SMS

    thank you sooooo much....actually i did a clean build and added the capabilities read,write and network and boom! it worked.

Similar Threads

  1. How to read SMS via Socket and get into inbox
    By juannoguera in forum Symbian Networking & Messaging (Closed)
    Replies: 14
    Last Post: 2009-10-23, 04:10
  2. Intercepting sms and KIoctlReadMessageFailed
    By badzio in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2009-09-24, 17:11
  3. Send SMS Problem. Cannot Get SMSC Address. Due to Strange SIM Card?
    By cksong in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2007-07-02, 16:13
  4. Replies: 1
    Last Post: 2005-12-01, 23:57
  5. Replies: 2
    Last Post: 2002-10-02, 07:15

Posting Permissions

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