BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 09-15-2008, 10:33 PM   #1
prabhu006
New Member
 
Join Date: Jun 2007
Model: 8830
PIN: N/A
Carrier: Verizon
Posts: 6
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
John Clark
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,720
Default

Moved to the Developer's Forum
Offline  
Old 09-16-2008, 05:35 AM   #3
set84
Thumbs Must Hurt
 
Join Date: Jul 2006
Location: Moscow
Model: 9000
OS: 4.6.0.304
Carrier: MTC
Posts: 72
Default

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

I guess you mean is how to catch event when application was run?
Offline  
Old 09-16-2008, 06:02 AM   #5
set84
Thumbs Must Hurt
 
Join Date: Jul 2006
Location: Moscow
Model: 9000
OS: 4.6.0.304
Carrier: MTC
Posts: 72
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
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Default

The system hits your "Application.activate()" method if you are already running and the icon is clicked.
Offline  
Closed Thread



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Clarostat RA20LASD103A 10K OHM Wirewound 10000 Ohm Potentiometer Industrial POT picture

Clarostat RA20LASD103A 10K OHM Wirewound 10000 Ohm Potentiometer Industrial POT

$14.19



US Stock 10K Potentiometer RV24YN 20S B103 24mm with knob and Digital Scale picture

US Stock 10K Potentiometer RV24YN 20S B103 24mm with knob and Digital Scale

$11.94



10 PCS 1K,2 K,5K,10K,20K100K,1Mohm Linear Taper Rotary Potentiometer US Stock picture

10 PCS 1K,2 K,5K,10K,20K100K,1Mohm Linear Taper Rotary Potentiometer US Stock

$9.49



US Stock 10 pcs 5K ohm Linear Taper Rotary Potentiometer Panel pot B5K 20mm picture

US Stock 10 pcs 5K ohm Linear Taper Rotary Potentiometer Panel pot B5K 20mm

$11.84



US Stock 10Units 10K B10K OHM Linear Taper Rotary Potentiometer POT Orange Knob picture

US Stock 10Units 10K B10K OHM Linear Taper Rotary Potentiometer POT Orange Knob

$8.76



10 Units 10K B10K OHM Linear Taper Rotary Dual Potentiometer POT White Knob picture

10 Units 10K B10K OHM Linear Taper Rotary Dual Potentiometer POT White Knob

$9.08







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