Join Our 3 MILLION+ Members Today! Register Here | Login
Go Back   BlackBerry Forums at CrackBerry.com > BlackBerry Professionals > App Developers

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
    Thread Author   #1  
Old 09-29-2011, 08:13 PM
CrackBerry Genius of Geniuses
Device(s): OS6 9650, OS2 Playbook, CM9 NookColor, Rooted Kindle Fire, etc.
Carrier: Sprint/Nextel
Pin: http://goo.gl/NP1nC
 
Location: Utah (Back to School)
Join Date: Nov 2009
Posts: 6,861
Likes Received: 624
Thanked 986 Times in 497 Posts
Default Help creating an app to launch another app

Hey guys, hoping someone can help me out with this - it might be far more complex than I'm thinking it is, but I figured I might as well ask.

I was wondering if there was an easy way to create an application that's sole purpose is to launch another application when you click it. Like a weblauncher, but for apps instead of webpages.

So what would happen is I create an app, and clicking it launches net_rim_bb_messagingapp.cod, or net_rim_bb_browser.cod, or net_rim_bb_facebook.cod, etc. etc.

Is there a one-size-fits-all .java where I could just change the module name and have it launch whatever app I wanted?

My java skills aren't so good (and law school takes up way too much time) and I'd really appreciate any help.

Thanks

Last edited by SCrid2000; 09-29-2011 at 08:30 PM.
Reply With Quote Tip this Post
  #2  
Old 10-02-2011, 10:18 PM
CrackBerry User
Device(s): 9650
 
Location: Thailand
Join Date: May 2011
Posts: 57
Likes Received: 45
Thanked 72 Times in 12 Posts
Default

You can use ApplicationManager.launch("module_name") or ApplicationManager.launchApplication("module_name" ). The second version will return the process ID (in case you need it).
Reply With Quote Tip this Post
  #3  
Old 10-11-2011, 01:25 AM
CrackBerry User
Device(s): ATT 8800->8820->9700-> SPRINT Bold 9930 & Playbook 64&32GB
 
Join Date: Apr 2011
Posts: 40
Likes Received: 13
Thanked 12 Times in 2 Posts
Default

I would recommend creating one APP, and having screens which include other apps. Not only does this create a seamless end-user experience, but it saves you the trouble of hacking together something that's not guaranteed to work.

Good luck.
Reply With Quote Tip this Post
Reply
BlackBerry Forums at CrackBerry.com > > BlackBerry Professionals > App Developers   Help creating an app to launch another app

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes