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

  #1  
Old 10-04-2003, 10:54 AM
derek_ocallaghan derek_ocallaghan is offline
Registered User
 
Join Date: Feb 2003
Posts: 7
derek_ocallaghan is on a distinguished road
Running system applications from C++

Hi,

I want to run some of the system applications (e.g. Viewer, Video etc) from a C++ library on the P800. Is this possible?

The behaviour I want to achieve is as follows:

- Java class passes a file name (e.g. jpeg filename) to C++ library via JNI
- C++ library loads appropriate application (in this case, the ImageApp) supplying the filename as specified from Java

I've tried it from Java without JNI, using the following call:

Runtime.exec("Z:\\System\\Programs\\AppRun.exe Z:\\System\\Apps\\ImageApp\\ImageApp.app C:\\documents\\Media files\\image\\unfiled\\Purple.jpg");

This launches the ImageApp application, but doesn't display the specified jpg file. Can I do this with C++?

thanks,
Derek
Ads

  #2  
Old 20-04-2003, 10:01 PM
Guest
 
Posts: n/a
look for startappl or startdocument in the UIQ SDK.
 

Bookmarks

Tags
applications, running

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



All times are GMT. The time now is 08:56 PM.


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