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


Utility Aluminum Trim Coil 24

Utility Aluminum Trim Coil 24" x 40-45 FT Long with Minor Scratches and Dents

$84.95



D4PE12029AA 6 Volt Ignition Coil Fits Ford/New Holland Tractor 600 700 800 picture

D4PE12029AA 6 Volt Ignition Coil Fits Ford/New Holland Tractor 600 700 800

$26.44



1100-0541 6 Volt Ignition Coil for Ford Tractor 2N 8N 9N Front Mount 9N12024 picture

1100-0541 6 Volt Ignition Coil for Ford Tractor 2N 8N 9N Front Mount 9N12024

$27.36



GE CL06A300MJ Non-Reversing IEC Contactor, 110/120 VAC V Coil, 50 A picture

GE CL06A300MJ Non-Reversing IEC Contactor, 110/120 VAC V Coil, 50 A

$299.99



100-C12EJ10. 24VDC E COIL ALLEN BRADLEY. CONTACTOR  picture

100-C12EJ10. 24VDC E COIL ALLEN BRADLEY. CONTACTOR

$58.49



ASCO 272810-031-D Solenoid Valve Coil picture

ASCO 272810-031-D Solenoid Valve Coil

$32.04







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