Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Developer
Posts: 246
Registered: ‎12-13-2010
My Device: Not Specified

Any idea how to list installed applications or detect when an application is opened?

[ Edited ]

Use Case:

 

I want to recreate my application EveryLock on Playbook. However, it seems even the Native SDK doesn't have enough functionality to detect running processes, send a window to foreground or background or list installed third party/ system apps.

 

 

 

Is this the case?

 

 

Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: Any idea how to list installed applications or detect when an application is opened?

That's correct. There are currently no defined APIs to query any such things in the system.

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Highlighted
BlackBerry Development Advisor
Posts: 417
Registered: ‎10-27-2010
My Device: PlayBook

Re: Any idea how to list installed applications or detect when an application is opened?

You cannot make app go to background or foreground, and you cannot really do anything with the app from another app, considering that APIs for listing apps would not be of any use

Developer
Posts: 246
Registered: ‎12-13-2010
My Device: Not Specified

Re: Any idea how to list installed applications or detect when an application is opened?

[ Edited ]

Well, then I would recommend that these features be implemented. By not implementing these features, your cutting out a whole category of applications......which Ipad and android do have. I thought the native sdk would have more control than just using adobe air.....

BlackBerry Development Advisor
Posts: 683
Registered: ‎11-29-2011
My Device: PRIV
My Carrier: Rogers

Re: Any idea how to list installed applications or detect when an application is opened?

I don't know that allowing arbitrary user applications to clobber the display of any other running applications is a particularly good design model.

That being said, if there were explicit navigator hooks for such things in the future, and users explicitly agreed to allow such privileged permissions when an app is installed, then it's conceivably doable.

 

Open an issue in the issue tracker so that your suggestion doesn't get lost.

See the post at the head of this forum regarding reporting bugs

 

Cheers,

Sean