03-01-2010 02:16 AM
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.
03-03-2010 04:07 PM
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