You Are Here:

Community: Developer Discussion Boards

#1 Old Doubts about Symbian applications installation process - 2002-05-30, 07:53

Join Date: Mar 2003
Posts: 2
patxito
Offline
Registered User
Hello Everybody:
At this moment, I?m developing a project for a Nokia 9210, and it?s fundamental as a part of it, to be able to execute the installation process of a .SIS File. I Know, because I have found it in the SDK for PC, that the application that starts the installation process is called InstApp.app. But in the Nokia 9210, we have accessible only the Configuration File: C:\System\Apps\InstApp\InstApp.ini
1.Anybody Knows the exact path for launching this application, InstApp.app, in a Nokia 9210?

If it?s accessible, I would be able of launching it from a Personal Java application. I have done some tests with the function Runtime.getRuntime.exec() and with another application that it?s accessible, like c:\System\Apps\CsHelp\CsHelp.app. I have tested the following:

String[] a=new String[1];
a[0]="d:\\System\\apps\\CsHelp\\CsHelp.app";
Runtime runtime = Runtime.getRuntime();
Process process = runtime.exec( a );

When I execute this, I catch the following IOException at machine?s Redirect Console:

java.io.IOException: CreateProcess: c:\System\apps\Cshelp\Cshelp.app error=88.

2.Does anybody Knows the meaning of this exception (error=88) ?
3.It?s possible from the Nokia Personal Java implementation of launching an application?

If it?s not impossible to launch an application from Personal Java, I can do a C++ native function and call it from Java like native method. I Know that it?s possible of launching an application with the following C++ code:

case EMenuCommandToolsStartApp:
{
_LIT(KExampleAppFileName, "\\system\\apps\\CsHelp\\CsHelp.app");

TFindFile findFile(iEikonEnv->FsSession());
User::LeaveIfError(findFile.FindByDir(KExampleAppFileName, KNullDesC));
// Start the example application
CApaCommandLine* cmdLine=CApaCommandLine::NewLC();
cmdLine->SetCommandL(EApaCommandRun);
cmdLine->SetLibraryNameL(findFile.File());
cmdLine->SetTailEndL(parameters);
EikDll::StartAppL(*cmdLine);
CleanupStack::PopAndDestroy(); // cmdLine

break;
}

The problem is that for doing this, I must Know the exact path of InstApp.app.

If this strategy is not valid because we haven?t access to InstApp.app, I?ll write a Personal Java program that emulates the installation process of InstApp. I have searched if there is any documentation about the actions that makes InstApp in the SDK documentation, in Symbian?s home page, in the Nokia Forum and through the Internet, but unfortunately, I haven?t found anything:

4.Anybody knows if exists any related document?

If anybody can help me with one of my doubts, I will be very thankful.

Thanks a lot !!
  « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d5632X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZjavaQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZuserE5ftagQSxjavaX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ