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?
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?
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?
Due to these reasons:
1)Click on Project -> Add/Edit Capabilities
2)When UID is from protected range and your certificate is self-signed.
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.
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
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..
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,
Gargi Das- http://gargidas.blogsot.com
Forum Nokia Python Wiki
Learn Python at http://mobapps.org/PyS60
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
@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
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
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
thank you sooooo much....actually i did a clean build and added the capabilities read,write and network and boom! it worked.