BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-15-2008, 10:33 PM   #1 (permalink)
New Member
 
Join Date: Jun 2007
Model: 8830
PIN: N/A
Carrier: Verizon
Posts: 6
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Event when app icon is clicked when app is running?

Please Login to Remove!

Hi Guys,

Is there any event that will be fired when the application icon is clicked when the application is already running? Something similar to activate event in Windows Mobile. Or is there any other way to get this event.

Thanks,
Prabhu
Offline  
Old 09-15-2008, 10:49 PM   #2 (permalink)
BBF Moderator
 
John Clark's Avatar
 
Join Date: Jun 2005
Model: Z30
OS: 10.2.1.x
PIN: s & needles
Carrier: AT&T
Posts: 34,679
Post Thanks: 4
Thanked 96 Times in 71 Posts
Default

Moved to the Developer's Forum
Offline  
Old 09-16-2008, 05:35 AM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: Jul 2006
Location: Moscow
Model: 9000
OS: 4.6.0.304
Carrier: MTC
Posts: 72
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

don't understand your problem, please post more detail information
Offline  
Old 09-16-2008, 05:39 AM   #4 (permalink)
Knows Where the Search Button Is
 
Join Date: Apr 2008
Model: 8100
PIN: N/A
Carrier: AT&T
Posts: 23
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I guess you mean is how to catch event when application was run?
Offline  
Old 09-16-2008, 06:02 AM   #5 (permalink)
Thumbs Must Hurt
 
Join Date: Jul 2006
Location: Moscow
Model: 9000
OS: 4.6.0.304
Carrier: MTC
Posts: 72
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Programmatic:
Code:
appm = ApplicationManager.getApplicationManager();

appdes = appm.getVisibleApplications();
Manual:
run ApplicationSwitch

Last edited by set84 : 09-16-2008 at 06:04 AM.
Offline  
Old 09-16-2008, 08:13 AM   #6 (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

The system hits your "Application.activate()" method if you are already running and the icon is clicked.
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.