BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 10-18-2011, 07:11 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: May 2011
Model: 9800
PIN: N/A
Carrier: blackberry
Posts: 22
Post Thanks: 1
Thanked 0 Times in 0 Posts
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 (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 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  
The Following User Says Thank You to Dougsg38p For This Useful Post:
janaknayangaljanak (10-19-2011)
Old 10-19-2011, 12:35 AM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: May 2011
Model: 9800
PIN: N/A
Carrier: blackberry
Posts: 22
Post Thanks: 1
Thanked 0 Times in 0 Posts
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 (permalink)
Knows Where the Search Button Is
 
Join Date: May 2011
Model: 9800
PIN: N/A
Carrier: blackberry
Posts: 22
Post Thanks: 1
Thanked 0 Times in 0 Posts
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 (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 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 (permalink)
Knows Where the Search Button Is
 
Join Date: May 2011
Model: 9800
PIN: N/A
Carrier: blackberry
Posts: 22
Post Thanks: 1
Thanked 0 Times in 0 Posts
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 (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 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


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

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 01:13 PM
time tracking application shmark Aftermarket Software 33 08-09-2006 12:15 PM





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