device calendar access or launch | developer.brewmp.com device calendar access or launch | developer.brewmp.com

Developer

device calendar access or launch

Forums:

Hi,

I would like to access or launch the device's calendar from my brew application.
Is it possible to either access the data or launch it from my application?

If so can someone please tell me how?

Thanks.

Hi,
have you got any solution? My application also have the same requirement.

Hi,
have you got any solution? My application also have the same requirement.

You can only do this if the OEM supports it. And I don't know of any OEM which supports opening the calendar app from third-party applications.
-Erik

You can only do this if the OEM supports it. And I don't know of any OEM which supports opening the calendar app from third-party applications.
-Erik

Hi,
thanks for your valuable reply, let me describe the problem more...
ebrowne wrote:I don't know of any OEM which supports opening the calendar app from third-party applications.
-Erik
My application requirment is just to access the OEM calender information or data not to open the OEM Calender.Is it possible to use the calender information from my application and use that info in my application instead of opening the OEM Calender? If is it possible, which API I have to used for this?
Help appreciated.....

Hi,
thanks for your valuable reply, let me describe the problem more...
ebrowne wrote:I don't know of any OEM which supports opening the calendar app from third-party applications.
-Erik
My application requirment is just to access the OEM calender information or data not to open the OEM Calender.Is it possible to use the calender information from my application and use that info in my application instead of opening the OEM Calender? If is it possible, which API I have to used for this?
Help appreciated.....

It would depend on whether the OEM supports the APIs.
In BREW 315 sp01 there is a IvCalStore and IvCalObject interface. Else the OEM could give you an extension which could have the required functions. But then, this makes your application specific to the OEM.

It would depend on whether the OEM supports the APIs.
In BREW 315 sp01 there is a IvCalStore and IvCalObject interface. Else the OEM could give you an extension which could have the required functions. But then, this makes your application specific to the OEM.

Hi,
Did u find any solution. Iam trying to access the native calendar info from my application. Can any one explain which API to use.
Thanks.

Hi,
Did u find any solution. Iam trying to access the native calendar info from my application. Can any one explain which API to use.
Thanks.

Hello You all,
Are you able to access the native calendar data from brew application.
Please assist me you have anything data regarding these.
Please let me know if this is possible on device or not.
Thanks
Vijay

Hello You all,
Are you able to access the native calendar data from brew application.
Please assist me you have anything data regarding these.
Please let me know if this is possible on device or not.
Thanks
Vijay

If device supports URI Launcher mechanism then native calendar can be launched through Brew app using URI commands.
Use ISHELL_PostURL() with URI "calendar:Top".
EVT_APP_POST_URL will be used as a means to communicate data from the native apps back to the BREW apps.
Before sending a URI, the BREW application must first encode the URI according to
RFC3986. This can be done by using the BREW API IWEBUTIL_UrlEncode(). Please
refer to the BREW API Reference for additional information regarding this API.

If device supports URI Launcher mechanism then native calendar can be launched through Brew app using URI commands.
Use ISHELL_PostURL() with URI "calendar:Top".
EVT_APP_POST_URL will be used as a means to communicate data from the native apps back to the BREW apps.
Before sending a URI, the BREW application must first encode the URI according to
RFC3986. This can be done by using the BREW API IWEBUTIL_UrlEncode(). Please
refer to the BREW API Reference for additional information regarding this API.

Thanks Atul for responding.
Actually my requirement is not to launch the native calendar application.
We want to access the native calendar data like task, reminder, alarm etc from the device.
Thanks,
Vijay

Thanks Atul for responding.
Actually my requirement is not to launch the native calendar application.
We want to access the native calendar data like task, reminder, alarm etc from the device.
Thanks,
Vijay

Hi buddy,
1 create IvCalObject instance accordingly.
nResult= ISHELL_CreateInstance(pme->m_pShell,
AEECLSID_vEvent,
(void **)&pCalObject
);
2 ISHELL_CreateInstance(ps, AEECLSID_vProperty, (void **)&pIvProperty);
3 IvProperty_InitProperty(pIvProperty,....)
4 IvCalObject_AddProperty(pObject,pIProperty)
5 IvCalStore_AddObject(pme->pIVCalStore,pCalObject ,dwOID);
BR,
Ivon chan

Hi buddy,
1 create IvCalObject instance accordingly.
nResult= ISHELL_CreateInstance(pme->m_pShell,
AEECLSID_vEvent,
(void **)&pCalObject
);
2 ISHELL_CreateInstance(ps, AEECLSID_vProperty, (void **)&pIvProperty);
3 IvProperty_InitProperty(pIvProperty,....)
4 IvCalObject_AddProperty(pObject,pIProperty)
5 IvCalStore_AddObject(pme->pIVCalStore,pCalObject ,dwOID);
BR,
Ivon chan