|
|
User login
Feeds |
sis file error
|
|||||
| Fri, 2005-12-09 14:14 | |
|
Hello,
I am using UIQ_70 SDK for Symbian coding in C++ IDE is Metrowork's CodeWarrior. I do the following bldmake bldfiles abld build WINSCW UDEB I have a Sony Ericsson P910i model. When I do this makesis Helloworld.pkg .. sis gets created, but when I try to install it gives an error saying the application is incompatible for the phone. What can I do? ![]() |
|
Forum posts: 101
Forum posts: 1293
René Brunner
Forum posts: 364
Ask yourself this simple question: What builds run on a device and which builds run on the emulator?
Forum posts: 9
I don't understand... I am a newbie.
Please elaborate
Thanx in advance
Forum posts: 9
;
; Install file for server1
;
; English languages
&EN,AM,AU
; One component name per language
;
#{"server1", "server1", "server1"},(0x100006b5),1,0,0
; The files to install
;
"C:\Symbian\UIQ_70\epoc32\release\winscw\udeb\server1.exe"-"!:\system\programs\server1.exe"
Now if I add:
(0x101F617B),2,0,0,{"UIQ20ProductID"}
it gives a syntax error
Forum posts: 9
-- Included the line (0x101F617B), 2, 0, 0, {"UIQ20ProductID"}
-- used "abld build armi urel"
My pkg file looks like this:
;
; Install file for SmallServ
;
; English languages
&EN
; One component name per language
; UID is the app's UID - see SmallServ.mmp
;
#{"server1"},(0x10201F09),1,0,0,TYPE=SISAPP
(0x101F617B), 2, 0, 0, {"UIQ20ProductID"}
; The files to install
;
"C:\Symbian\UIQ_70\epoc32\release\armi\urel\server1.exe"-"!:\system\Apps\server1.exe"
Now there is another problem:
The application (it is console based i.e. no app or rsc files just an exe) appears as server1.exe in the system\apps folder on the phone.
When I click on it(in the phone) it says
"Unrecognized format. No viewer can be found on your device to open this file"
Please guide me out of this problem also!!!!!!!!
WINSCW is the build for the emulator. For a device you need to build ARMI or whichever is the relevant type of build for the target device
Forum posts: 364
The .pkg format has options to launch a program at installation time, try that.
But if its a server it needs proper startup and shutdown handling.
Forum posts: 9
Yeah I tried "run on installation".
But will soon convert the code to a GUI one.
Anyways,
I am trying to build a server-client pair.
The server should send data and then the client should receive.
But the server sends successfully 18 bytes.(iStatus =0 for the send() call)
while the client does not receive(iStatus=-39=KErrAbort).
I read somewhere that this can be handled by restarting the scheduler.
I tried in RunL():
if(iStatus==-39)
{
// restart the scheduler
CActiveScheduler::Start();
call RecvOneOrMore() again;
}
But this does not work.
What can I do?
Forum posts: 364
Forum posts: 364
Forum posts: 9