02-10-2014 02:14 PM
I am using the following code, to invoke calendar from an app in Work Container, but calling the following is invoking the home calendar, not the work perimeter calendar. When I used similar code for invoking email client, it invoked email client in work perimeter. Can someone check the code and see what I am doing wrong?
QVariantList participants = QVariantList();
QVariantMap data = QVariantMap();
QByteArray encData = bb:psObject::encode(data);
bb::system::InvokeManager* m_invokeManager = new InvokeManager(this);
Solved! Go to Solution.
02-14-2014 01:10 PM
We will look in to this issue. But for now, you can at least specify the accountID of the calendar account you want to use to create the event. That should invoke the event create card with the specified account preselected.
02-14-2014 01:14 PM
Thank you very much for the response. I forgot to add an update to this. As you mentioned, I was able to call defaultcalendar and its supposed to return the calendar in the parameter and I used the accountid and folder id. i tried in 2 phones, in one phone it invoked the work perimeter and the other one still called the hybrid/home calendar. I will know only when I am able to test in mutliple devices..
02-24-2014 12:01 PM
I was able to make it work by setting the accountId and folderId for the default calendar in work container(expecting there will be only one calendar in work container.