BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 10-27-2009, 05:26 AM   #1 (permalink)
New Member
 
Join Date: Oct 2009
Model: 7100T
PIN: N/A
Carrier: Software Engineering
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Check whether an application is running

Please Login to Remove!

Hi all,
Hope you are fine,

I want to test whether an application (which i know its name) is already running (even if it is running in background), how should i do this ?

Thanks in advance.
Offline  
Old 10-27-2009, 05:32 AM   #2 (permalink)
Magic Bananas
 
ifonline's Avatar
 
Join Date: Jan 2006
Location: Braselton, Georgia
Model: iP4S
OS: 5.1
Carrier: Verizon
Posts: 2,350
Post Thanks: 1
Thanked 54 Times in 45 Posts
Default

Press and hold the BlackBerry menu button for a few seconds. You can let go of the button when a popup appears. This popup is the application switcher that shows you all running applications.

EDIT: Damn... sorry. I just realized that this was posted in the developer forum, so my answer isn't what you were looking for.

Sorry about that.
__________________
Ian

Semper Fi 3/2/2
"Wow" is now overused. Therefore, I will use "Magic bananas" instead.

Last edited by ifonline : 10-27-2009 at 06:01 AM.
Offline  
Old 10-27-2009, 05:51 AM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2009
Model: 9000
PIN: N/A
Carrier: Airtel
Posts: 31
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

+1 with the above reply..
__________________
Empower your BlackBerry
Offline  
Old 10-27-2009, 07:58 AM   #4 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

Did you try ApplicationManager.getVisibleApplications()?

This returns a list of all running apps.

See the API docs.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.