Hello,
I created an application that needs access to Bluetooth and I included the LocalServices and NetworkServices in the CAPABILITY field of my .mmp file.
I recompiled my project from Carbide c++ and tried to install it but it still only showed me the request for Read user data.
Then I read in the documentation that Carbide doesn't process the info in the bld.inf and .mmp files.
So I tried compiling and creating my .sis from the command line.
Everything worked ok and I noticed that my executable was a lot bigger 96KB instead of just 19KB from within Carbide c++.
So when I tried to install the newly created .sis (self-signed) to my phone it starts installing it but then gets stuck at about 75%.
I hope someone can help me out.
Here are my .mmp:
and my .pkgCode:TARGET PhoneMuse.exe TARGETTYPE exe SecureID 0xEF3ED4C5 UID 0x0 0xEF3ED4C5 VENDORID 0x0 CAPABILITY READUSERDATA LocalServices NetworkServices EPOCSTACKSIZE 0x5000 SOURCEPATH ..\src SOURCE PhoneMuse.cpp SOURCE PhoneMuseApplication.cpp SOURCE PhoneMuseAppui.cpp SOURCE PhoneMuseAppView.cpp SOURCE PhoneMuseDocument.cpp SOURCE BT.cpp SOURCE BTServiceAdvertiser.cpp SOURCEPATH ..\data START RESOURCE PhoneMuse.rss HEADER TARGETPATH resource\apps END START RESOURCE PhoneMuse_reg.rss #ifdef WINSCW TARGETPATH \private\EF3ED4C5\apps #else TARGETPATH \private\EF3ED4C5\import\apps #endif END USERINCLUDE . USERINCLUDE ..\inc SYSTEMINCLUDE . \epoc32\include SYSTEMINCLUDE \epoc32\include\libc LIBRARY euser.lib LIBRARY apparc.lib LIBRARY cone.lib LIBRARY eikcore.lib hb LIBRARY avkon.lib LIBRARY bafl.lib LIBRARY bluetooth.lib LIBRARY btextnotifiers.lib LIBRARY sdpagent.lib LIBRARY sdpdatabase.lib LIBRARY commonengine.lib LIBRARY insock.lib LIBRARY esock.lib LANG SC
Code:; Installation file for PhoneMuse application ;Language - standard language definitions &EN ; standard SIS file header #{"PhoneMuse"},(0xEF3ED4C5),1,0,0 ;Localised Vendor name %{"Vendor-EN"} ;Unique Vendor name :"Vendor" ;Supports Series 60 v 3.0 [0x101F7961], 0, 0, 0, {"Series60ProductID"} ;Files to install ;You should change the source paths to match that of your environment ;<source> <destination> "C:\Symbian\9.2\S60_3rd_FP1\Epoc32\BUILD\Symbian\Carbide\workspace\PhoneMuse\group\PHONEMUSE\GCCE\urel\PhoneMuse.exe" -"!:\sys\bin\PhoneMuse.exe" "C:\Symbian\9.2\S60_3rd_FP1\Epoc32\data\z\resource\apps\PhoneMuse.rsc" -"!:\resource\apps\PhoneMuse.rsc" "C:\Symbian\9.2\S60_3rd_FP1\Epoc32\data\z\private\10003a3f\apps\PhoneMuse_reg.rsc" -"!:\private\10003a3f\import\apps\PhoneMuse_reg.rsc" "C:\Symbian\9.2\S60_3rd_FP1\Epoc32\data\z\resource\apps\PhoneMuse.mif" -"!:\resource\apps\PhoneMuse.mif" ; Add any installation notes if applicable ;"PhoneMuse.txt" -"!:\private\EF3ED4C5\PhoneMuse.txt" ;required for application to be covered by backup/restore facility "..\sis\backup_registration.xml" -"!:\private\EF3ED4C5\backup_registration.xml"



