10-29-2011 01:44 AM
How do we launch new app using its app id from another app..Say I have app id of calculator ie, sys.calculator.gYABgJidBvuZ89m_1j4PV2712.A Now I want to lauch the calculator app from another app..how this can be achieved ???
For Browser, music player we have navigators to lauch as they have registered urls for lauching,,,How abt in general an app can be launched ???
10-31-2011 04:50 AM
10-31-2011 07:56 AM
10-31-2011 08:13 AM - edited 10-31-2011 08:14 AM
Well, I abstracted out a bit. And without committing myself to things that may not be finished and may, of course, also not end up in App World, I'll elaborate more upon my needs.
In my case, it'd be an game engine. I'd like to be able to have free games using it available in App World (this is legally permitted in this case) using this engine. There are extant games available (not specifically targeted at the PlayBook) which can simply be played by copying them to the shared directory and launching the app.
Since the main app looks in a specific directory for both games installed by the user as well as games downloaded from the app store, it is functional standalone (and, indeed, if the user doesn't want to be limited to free games, this is a good thing).
From what I've seen of other apps that communicate with each other using files in the shared directory, I was envisioning that if the user starts the "add-on" and the files are not found, it offers to copy them. The user may, of course, decline.
As you can see, if the user installs a half dozen free games from App World, they add up quickly on the device if they can't share the runtime. This is especially prominent if the standalone runtime is also installed (assuming that they can't invoke one another). It also makes the games look less desirable if they have an extra double-digit megabyte weight on each, as I indicated earlier.
Hopefully in a day or two I'll be able to specify exactly what I'm working on and it will probably all make sense. In the mean time, I'm trying to be clear about the goals without giving too much away.
10-31-2011 09:23 AM
10-31-2011 09:30 AM
10-31-2011 10:34 AM
10-31-2011 04:40 PM
There is no mechanism right now for 3rd party to register url. We are working on that.
To launch calculator try something like
(I have not tested it but theoretically it should work)
10-31-2011 04:55 PM