Hi everyone!
I port project from 2rd to 3rd ,it is compiled without the errors. But it is started neither on the emulator nor on the phone.
Even it does not enter into the entry point when debug. And I can't se my icon.
What does it mean?
Thanks.
Hi everyone!
I port project from 2rd to 3rd ,it is compiled without the errors. But it is started neither on the emulator nor on the phone.
Even it does not enter into the entry point when debug. And I can't se my icon.
What does it mean?
Thanks.
Is this about a specific icon, or you cannot see the application at all?Originally Posted by IgorKost
Something is wrong.What does it mean?
A quick porting checklist:
- app: modify target, targettype to .exe, no targetpath
- modify UID in .mmp and in C...App
- "START RESOURCE" instead of RESOURCE, targetpath \resource\apps
- create ..._reg.rss, minimal content:targetpath \private\10003a3f\appsCode:#include <appinfo.rh> UID2 KUidAppRegistrationResourceFile UID3 0x<UID of your application> RESOURCE APP_REGISTRATION_INFO { app_file="<app executable without .exe extension>"; }
- E32MainCode:#include <eikstart.h> GLDEF_C TInt E32Main() { return EikStart::RunApplication( NewApplication ); }
Thanx!
I replace:
toCode:RESOURCE APP_REGISTRATION_INFO { app_file="MyProg Mobile"; }
After that app started, but than appears message box "App. closed: MyProg".Code:RESOURCE APP_REGISTRATION_INFO { app_file="MyProg"; }
How I can obtain more complete information about errors?
Last edited by IgorKost; 2006-10-09 at 13:49.
What about icon.I comment-out unnecessary line in mmp file
Code:TARGET MyProg.exe TARGETTYPE exe UID 0x0 0xed8a9fd0 SECUREID 0xed8a9fd0 //TARGETPATH \system\apps\MyProg ...
I am not sure, but the old ErrRd is said to be still working (new location: c:\resource). So try creating an empty file called ErrRd in the epoc32\winscw\c\resource folder of your SDK (you may also try epoc32\data\z\resource or epoc32\release\winscw\udeb\z\resource) and see what happens.Originally Posted by IgorKost
In generally the main problem solved, program began starting and I see the icon.
Now I receive a lot panic codes and 'get on new level', clean-up and fix the main code.
Very thanx to wizard_hu_!
Hi to all!
I m tring to run my application on 3rd edition.I can see my app pn the device(N3250) . bt if i clicked my application, its displaying the error like "App.Closed:test".![]()
In my application i used many mbm files. The target path of the mbm files are //system//apps//test//file.mbm.
Is there any mistake in the file path?
If i commented those lines(mbm files), that time also, i am getting the same error!
can u help me out![]()
Thanx in Advance!!!
What have you modified and what have not you modified?
The .mbm might be in a bad place in \system\apps\test, try putting it to \resource\apps
Can you try if your app runs in the emulator?
In .pkg file mention the target of ur mbm file as both \system\apps\file.mbm and resource\apps\file.mbm.
In .rss file also mention the icon_file path as resource\apps\file.mbm
Regards,
Iti Jha
Hi,
Thanx for ur kind information!!!
i put my mbm files target path as resource\apps\file.mbm.
I checked the mbm file also.Its stored in the same path on the device.
Bt its still giving the same error "App. Closed:test".
I didnt try on the emulator.Coz,In the begining itself we are testing on the target device.
my .pkg file looks like,
; test.pkg
;
;Language - standard language definitions
&EN
; standard SIS file header
#{"test"},(0xE517F71D),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>
"$(EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET)\test.exe" -"!:\sys\bin\test.exe"
"$(EPOCROOT)Epoc32\data\z\resource\apps\test.rsc" -"!:\resource\apps\test.rsc"
"$(EPOCROOT)Epoc32\data\z\private\10003a3f\apps\test_reg.rsc" -"!:\private\10003a3f\import\apps\test_reg.rsc"
"$(EPOCROOT)Epoc32\data\z\resource\apps\icon001.mbm" -"!:\resource\apps\icon001.mbm"
"$(EPOCROOT)Epoc32\data\z\resource\apps\icon002.mbm" -"!:\resource\apps\icon002.mbm"
"$(EPOCROOT)Epoc32\data\z\resource\apps\icon003.mbm" -"!:\resource\apps\icon003.mbm"
And also, i m creating one document file in the begining to store some data abot my application.The document file path is " \resource\apps\testdocument."
is there any props on creating the document file?
Thanx in Advance!!!
By,
karthikeyan.B
Hi bkarthik_be,
i would suggest you to try it in the emulator first and then move onto the target device and please make sure you have set the ErrRd file as mentioned by Wizard_hu_ in post #8. it would enable you to debug more effectively.
Priju
Hi!
I solved my props.Actually, the props is on my document storeL and RestoreL.
Now, i can see my icons on the application.The basics things are working fine.
by,
Karthikeyan.B
Hi,
now, i m facing a new problems on my application.my application is working fine,After made some changes on .pkg files.
In my application, i m creating a document file for internal use of my app.
Whenerever the control exit from my app, my app calls the SaveL(). Bt, The SaveL() doesnt call the StoreL() of document class.
Do u know the reason?
If u know, plz help me out!
Thanx in Advance!!!
By,
karthikeyan.b