| Reply | « Previous Thread | Next Thread » |
|
Some novice questions about the topic:
1. Am I able to start Python applications from native Symbian applications, or vice versa? 2. If the answer is yes, is there any mechanism for passing messages between the two, Python and native Symbian application? Regards, |
|
Quote:
To open native apps, Content_handler is the easies t way: it opens the registered application for the given content type. The more general way is to use start_exe. To communicate, you can use command line parameters, file system, or native databases. Sockets should also work. |
|
Just to add a little more detail to tapio111's post about using start_exe() to launch a native applications....
start_exe() takes two parameters. The first is the path to "apprun.exe", which for me is "z:\\system\programs\apprun.exe"; and the second argument is the path to the app you want to launch. Putting it together looks like this: >>> import e32 >>> e32.start_exe('z:\\system\\programs\\apprun.exe', 'z:\\system\\apps\\camcorder\\camcorder.app') |
| eriksmartt |
| View Public Profile |
| Find all posts by eriksmartt |
|
Some more questions about start_exe:
I've been experimenting with starting Python scripts (installed using py2sis) as separate processes - -seems to work fine. 1) When a new process starts it paints a splash screen of sorts on the phone. Can this be suppressed? I really want this process to be invisible to the user. 2) start_exe kicks off the new process and returns immediately. Is there a way to block until the new process finishes? I think in most cases this is the behavior I want, but I'm just curious.... |
| mark.adler |
| View Public Profile |
| Find all posts by mark.adler |
|
Doh! OK I found the optional arg to start_exe(filename, command, [wait])
I still have the pending question about the "splash screen". |
| mark.adler |
| View Public Profile |
| Find all posts by mark.adler |
|
Quote:
In Nokia 6600 is is: 'z:\\system\\apps\\camera\\camera.app' an in Nokia 6680 'z:\\system\\apps\\camcorder\\camcorder.app'. Is there any generic way to start camera-application in all phone models? |
|
hi erikk,
Just wondering, which application launches the default MIME type handler? E.g. Starter is to re-start the phone, AppRun is to run an app, is there a default process that launches the correct handler for say .jpg? Cheers, rexwal |
|
I can't find content_handler in the python document, nor appendix B
![]() |
|
hi
can anybody tell me what's the path to the camera app on a 3rd edition device (N80)? all paths named in this thread didn't worked on my phone cheers ------------------------------------------------------------------------------------------ just after posting if've found an app called Best TaskMan (similar to TaskSpy suggested here) which installed on my phone without any error... here are the results: - camera: z:\sys\bin\CamMojave.exe - music player: z:\sys\bin\MusicPlayer.exe - gallery: z:\sys\bin\MediaGallery2.exe - calendar: z:\sys\bin\Calendar.exe hopes this helps someone!
Last edited by firebabe : 2006-08-23 at 16:08.
|
|
i'm now starting an application this way:
Code:
campath = u"z:\\sys\\bin\\CamMojave.exe" e32.start_exe(campath, "", 1) Code:
e32.start_exe('z:\\system\\programs\\apprun.exe', 'z:\\system\\apps\\CamMojave\\CamMojave.app')
has anybody more (advanced) experience about this topic? |
|
Well, only difference is that the application bootstrapping is done bit differently.
In <3rd ed, applications are regular polymorphic dlls with one entrypoint. The UI framework (apprun.exe) loads the dll, and calls the entrypoint. That function returns a object, which is used to load rest of the application. In 3rd ed, applications are exe files. When the exe file is launched, it has main() function which calls the UI framework, and yields the control to it. After that, things work exactly the same way as in 2nd ed. |
| simo.salminen |
| View Public Profile |
| Find all posts by simo.salminen |
|
Does anyone know how to start a java application from python.
What I am trying to do is to build Shortcuts application (similar to quick launch...). I am able to start the native app (.exe) using start_exe, but unable to start java app. thanks |
| gunnrosebutpeace |
| View Public Profile |
| Find all posts by gunnrosebutpeace |
|
I am looking for launching a j2me app from a symbian app. is there a way to do it? If yes, is there a way to pass any parameters from the already running symbian app to the j2me app?
Please help. |
| vinaykumar304 |
| View Public Profile |
| Find all posts by vinaykumar304 |
|
Quote:
not sure about passing parameters though. see here: http://discussion.forum.nokia.com/fo...d.php?t=146879 The86Hitman PyS60 1.9.7 on E71 http://www.drhtailor.com/pys60 |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |