BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-18-2009, 05:25 PM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Oct 2007
Location: chennai.india
Model: 8100
PIN: N/A
Carrier: airtel
Posts: 57
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question Invoke a Menuitem From a Running Third party Application

Please Login to Remove!

I would Like to write a background service that would
press the 'refresh' menu item of Blackberry Browser Every one Minute
if the Browser is the top most window.


Is there a way to Do this?
__________________
thanx n regards
jeyaprakash.c
Offline  
Old 09-18-2009, 07:27 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

Probably the only way to do this is key event injection.
Offline  
Old 09-19-2009, 06:01 AM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: Oct 2007
Location: chennai.india
Model: 8100
PIN: N/A
Carrier: airtel
Posts: 57
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am using keystroke injection now. But users can see the menu poping up then scrolling to the refresh location and then pressing it..

That looks ugly... Any other way ? I would have been happy if i could call the refresh menu item directly :(

Any help ?
__________________
thanx n regards
jeyaprakash.c
Offline  




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