BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 10-18-2011, 07:11 AM   #1
janaknayangaljanak
Knows Where the Search Button Is
 
Join Date: May 2011
Model: 9800
PIN: N/A
Carrier: blackberry
Posts: 22
Post block the use of other application for a time interval

Please Login to Remove!

hi

i want to get the list of all applications installed on my device and than want
to block the use of some application for a particular time interval..........
Offline  
Old 10-18-2011, 02:18 PM   #2
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Default Re: block the use of other application for a time interval

You can get a list of running applications, see ApplicationManager.

You can get a list of installed applications, see CodeModuleManager.

However, there is no API to block an application from running. Not sure how you would go about this.
Offline  
Old 10-19-2011, 12:35 AM   #3
janaknayangaljanak
Knows Where the Search Button Is
 
Join Date: May 2011
Model: 9800
PIN: N/A
Carrier: blackberry
Posts: 22
Post Re: block the use of other application for a time interval

please give me any other solution to block the use of browser or internet.....
Offline  
Old 10-21-2011, 07:45 AM   #4
janaknayangaljanak
Knows Where the Search Button Is
 
Join Date: May 2011
Model: 9800
PIN: N/A
Carrier: blackberry
Posts: 22
Default Re: block the use of other application for a time interval

hi

anybody know how can i do that..................

its urgent.............
Offline  
Old 10-21-2011, 12:50 PM   #5
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Default Re: block the use of other application for a time interval

Sorry, I was reading both of your posts and posted this answer in the wrong place:

The only think I can think of: poll the "running" applications list periodically. If a "blocked" application is running and has the focus, pop a global-modal dialog that says "restricted application" or something like that. Do not allow the user to dismiss the dialog. The dialog will come up over the top of whatever screen the application is showing.
Offline  
Old 10-21-2011, 11:40 PM   #6
janaknayangaljanak
Knows Where the Search Button Is
 
Join Date: May 2011
Model: 9800
PIN: N/A
Carrier: blackberry
Posts: 22
Default Re: block the use of other application for a time interval

but i don't know how can i do that...............can u give me any sample program ?
Offline  
Old 10-22-2011, 09:21 AM   #7
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Default Re: block the use of other application for a time interval

No, I don't have a "sample" program; I'm simply giving you some options based on my experience.

If you don't know how to push a modal screen, then you are probably asking the wrong questions.

You should start with the basics.

See the class ApplicationManager - you can use this to view the running ("visible") applications.

See the class UiApplication (all applications with a UI extend this class).

Last edited by Dougsg38p; 10-22-2011 at 09:23 AM..
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

Similar Threads for: block the use of other application for a time interval
Thread Thread Starter Forum Replies Last Post
Frustrated that time zone wont' change automatically dimi General 9600 Series Discussion - Tour 35 09-13-2009 01:31 PM
Another Activating Initializing on BB Professional patrickd26 BES Admin Corner 4 05-06-2008 05:12 AM
Network Time - Application or Theme toto BlackBerry Themes 5 08-31-2007 05:14 PM
DayLight Savings Time GovBerry BES Admin Corner 2 02-19-2007 02:13 PM
time tracking application shmark Aftermarket Software 33 08-09-2006 12:15 PM


NEW Sick Photoelectric Switch Sensor WTV4-3P2241  picture

NEW Sick Photoelectric Switch Sensor WTV4-3P2241

$210.00



emergency power transfer switch non fused generator manual ge 100 amp 240 volt picture

emergency power transfer switch non fused generator manual ge 100 amp 240 volt

$206.89



1pcs New AB isolating switch 194E-E63-1753 in box picture

1pcs New AB isolating switch 194E-E63-1753 in box

$318.00



New Honeywell LSA1A Switch Heavy Duty Limit Switch picture

New Honeywell LSA1A Switch Heavy Duty Limit Switch

$102.99



WPS30V 60V 120V 160V 2A 3A 5A 10A Lab Adjustable DC Power Supply Variable Switch picture

WPS30V 60V 120V 160V 2A 3A 5A 10A Lab Adjustable DC Power Supply Variable Switch

$110.19



ELECTRIC COOLING FAN GROUND-ING THERMO-STAT SWITCH RADIATOR TEMP-ERATURE SENSOR picture

ELECTRIC COOLING FAN GROUND-ING THERMO-STAT SWITCH RADIATOR TEMP-ERATURE SENSOR

$19.95







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