07-19-2012 01:28 PM - edited 07-19-2012 01:33 PM
According to the docs for navigator_invoke I should be able to launch the Calendar app from inside my WebWorks app.
I am able to do so by using (blackberry.transport.RemoteFunctionCall), however I am having trouble launching the Calendar app with the correct query params to launch the app at the new event screen.
var remote = new blackberry.transport.RemoteFunctionCall("blackberr y/invoke/invoke");
remote.addParam("appType", "calendar://newEvent?" + "dateStart="+ start +"&dateEnd=" + end + "&loc=" + loc + "&subj=" + summary);
remote.makeAsyncCall(); I have a feeling it might be because I'm not giving an accountId query parameter (although the docs do say all parameters are optional :/ ). I imagine this is the accountId of the user, can someone suggest how I may obtain this.
Any insights or advice into this will be much appreciated.
EDIT:
The docs to which I refer: