sis file error

Login to reply to this topic.
Fri, 2005-12-09 14:14
Joined: 2005-12-09
Forum posts: 9
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?Huh

Fri, 2005-12-09 14:26
Joined: 2005-11-28
Forum posts: 101
Re: sis file error
mabye phone where u install it doesnt use uiq 70 ? but other release
Fri, 2005-12-09 15:40
Joined: 2005-11-20
Forum posts: 1293
Re: sis file error
Maybe your .PKG file misses the following line:

Code:
(0x101F617B),2,0,0,{"UIQ20ProductID"}

René Brunner

Fri, 2005-12-09 18:40
Joined: 2004-07-10
Forum posts: 364
Re: sis file error
>>abld build WINSCW UDEB


Ask yourself this simple question: What builds run on a device and which builds run on the emulator?
Mon, 2005-12-12 07:49
Joined: 2005-12-09
Forum posts: 9
Re: sis file error
Hello mungbeans,

I don't understand... I am a newbie.

Please elaborate
Thanx in advance
Mon, 2005-12-12 08:48
Joined: 2005-12-09
Forum posts: 9
Re: sis file error
My pkg file looks like this::

;
; 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



Mon, 2005-12-12 12:48
Joined: 2005-12-09
Forum posts: 9
Re: sis file error
I followed your advices and finally could install the application on my phone.

-- 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!!!!!!!!

Mon, 2005-12-12 18:43
Guest (not verified)
Forum posts: 2043
Re: sis file error
>>>>abld build WINSCW UDEB

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
Mon, 2005-12-12 22:50
Joined: 2004-07-10
Forum posts: 364
Re: sis file error
You probably can't launch a server just by clicking on it.
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.
Tue, 2005-12-13 14:40
Joined: 2005-12-09
Forum posts: 9
Re: sis file error
This forum and the ppl here are really helpful to me!!

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?
Tue, 2005-12-13 18:38
Joined: 2004-07-10
Forum posts: 364
Re: sis file error
start a new thread for your new query or it might be missed
Tue, 2005-12-13 18:38
Joined: 2004-07-10
Forum posts: 364
Re: sis file error
I don't mean a symbian thread I mean a thread posting in this web site  Grin
Wed, 2005-12-14 05:51
Joined: 2005-12-09
Forum posts: 9
Re: sis file error
ok ok but do follow this new thread too
  • Login to reply to this topic.