08-03-2010 01:03 AM
You can use HomeScreen class to access the home screen.
08-03-2010 01:48 AM
is it not possible to call the home screen to my application .?
after calling the home screen ,i want to do some operation on it .
we can call the blackberry contact list api ,as same i want to call the home screen api
would you suggest me how to do that ?
any help would be learnable for me .
08-03-2010 03:42 AM
You want to use methods of the homescreen class???
You should import net.rim.blackberry.api.homescreen.HomeScreen
in your code to use its methods.
08-03-2010 04:35 AM
I presume by some operation, you mean the same as you asked in another Thread, which is invoke an application by selecting its icon. The HomeScreen API will not help you with this. In fact, there is no way to determine what icons are displayed and select one. Sorry.
If that is not what you wanted, can you tell us what you would like to do with the Home Screen.
08-03-2010 07:04 AM
hi peter sir
i want to know Can i capture key events if my application is running in background.
My main aim for this application is that with the help of keys ,i use the function of trackball for moving right ,left ,up and down on blackberry device or on whole bb phone .
08-03-2010 07:14 AM
I think you can do that.
08-03-2010 07:23 AM
No u can't capture Key Events from a background application... Any application which wants to capture these events must be in foreground at that time.
If yours is abackgroound application, you can push a transparent Global Modal Screen, which will capture key events for u..
08-03-2010 08:31 AM
Thanks for the suggestion and taking initiative .
but i try to search on the internet , icant get the information about this transparent Global Modal Screen .
Would you please tell me how to implement these things .?