Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

New Developer
Posts: 26
Registered: ‎06-24-2009
My Device: Not Specified

how to invoke blackberry internal application in back ground



   I have requirement to set the calender date and time in Blackberry  internal calender application.

I am able do it using



APP_TYPE_CALENDAR, new CalendarArguments(CalendarArguments.ARG_NEW, calender));


But I want dont want application to be launched in foreground, rather  may be it should get launched in background and set the date and time.


Is there any other solution by  which I can set the date and time on Blackberry calender internal application by my application, without making the user to see blackberry calender internal applicaiton UI.

BlackBerry Development Advisor
Posts: 15,813
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: how to invoke blackberry internal application in back ground

What date are you trying to change?  The system date of the BlackBerry smartphone?  There is no API to do that directly.  If you wish to change the date of an appointment in the calendar application you can do so using the PIM APIs.  You can see an example of their use here:


How To - Create an Event within the Calendar application


Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.