All About Symbian - Nokia (S60) and Sony Ericsson (UIQ) smartphones unwrapped

  #1  
Old 09-07-2005, 07:07 AM
dtripathy dtripathy is offline
Registered User
 
Join Date: Apr 2005
Posts: 9
dtripathy is on a distinguished road
unable to dump the file through sis file

Hi
I have developed an app which just copy a videofile (which is to dump at installation throug sis file) and put it in diferent place and here is my code


.................................................. ..............

_LIT( KSoundSampleFile,"C:\\system\\apps\\test\\play.3gp ");
_LIT( Kpath,"C:\\nokia\\Videos\\Thinkways2.3gp");

...............................................

TBuf8<40000> buf8;

// Create (replace) the direct file store
RFile f1;
RFs fsSession;
User::LeaveIfError(fsSession.Connect());
// User::LeaveIfError(fsSession.SetSessionPath(Kpath) );
TInt i=0;
if( ( i=f1.Open(fsSession,KSoundSampleFile,EFileRead| EFileStreamText))==KErrNone )
{

// User::Leave(i);

}



f1.Read(buf8);
{
// User::Leave(i);
}

CFileStore* iFilestore=CDirectFileStore::ReplaceL(fsSession,Kp ath,EFileWrite|EFileShareAny);
f1.Open(fsSession,Kpath,EFileWrite|EFileShareAny);
f1.Write(buf8);


f1.Close();
fsSession.Close();


and my content of pkg file is

; test.pkg
;
;Language - standard language definitions
&EN

; standard SIS file header
#{"test"},(0x0dfbe4c3),1,0,0

;Supports Series 60 v0.9
(0x101F6F87), 0, 0, 0, {"Series60ProductID"}

;
"C:\Symbian\Series60_1_2_CW\epoc32\release\armi\ur el\test.APP"-"C:\system\apps\test\test.app"
"C:\Symbian\Series60_1_2_CW\epoc32\data\z\system\a pps\test\test.rsc"-"C:\system\apps\test\test.rsc"
"C:\eclipse\workspace\test\wav\play.3gp"-"C:\system\apps\test\play.3gp"


Now my problem is sis file created and it installed successfully when I am trying to run it it is showing the"test app closed"

it means it is not getting the file which is to be copied.

i have done this app in series 60 1.2 sdk and installing it on Nokia 3660

Can anybody sugest what might be th eproblem

waiting for ur reply

Thanx

Last edited by dtripathy; 09-07-2005 at 08:20 AM. Reason: to add sme extra code
Ads
 

Bookmarks

Tags
dump, file, sis, unable

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
help! can some one just help me? about sis. file? wylun Nokia 6260 1 20-02-2005 05:39 AM



All times are GMT. The time now is 09:50 AM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright Notes || Contact Us || Privacy Policy