How to Interact with Calendar or other built in Phone Apps (aka Android Intents)

Hello,

I have been searching, but so far haven’t found out how from Corona I can access outside APPs, such as the built in APPs on the device like Calendar or Date/Time, etc.

In Android terms I am looking for how to send an Intent from Corona APP to another APP. Such as from my APP I would like to ask the Calendar APP to create an event.

Also, I would like to know if this feature of Corona would be supported by the Pro subscription or only by Enterprise.

Thanks! :slight_smile:

Chris

Just recently Corona Labs released a plugin to access the device contacts. I am hoping we will see a similar plugin for the calendar db eventually. 

I see, thanks. So plugin is only method? There’s no IPC API that would abstract Android’s Intent API or iOS equivalent? :-s

Not to the best of my understanding. Corona Enterprise users have been able to call native code as needed for a while but I am not very clear on the capabilities there. 

I understand that. I tried looking at enterprise api doc for details on how to use it or if it supported what I am looking for, but I wasn’t able to gleen much from there.

Any idea on docs on enterprise version that might explain if it can do this? :slight_smile:

This is all that I know : 

http://docs.coronalabs.com/native/index.html

but I must admit not being in the loop on Enterprise matters as I’m not subscribed at that level. 

With enterprise you can do anything that a native developer can so you can send intents and have your own activities and everything else that comes with native development.

Thanks! I saw the enterprise getting started guide. I see now that with it you can generate the java android project locally so I could then mod it. Instead of how Pro does it remotely and gives you back just the APK. :slight_smile:

Just recently Corona Labs released a plugin to access the device contacts. I am hoping we will see a similar plugin for the calendar db eventually. 

I see, thanks. So plugin is only method? There’s no IPC API that would abstract Android’s Intent API or iOS equivalent? :-s

Not to the best of my understanding. Corona Enterprise users have been able to call native code as needed for a while but I am not very clear on the capabilities there. 

I understand that. I tried looking at enterprise api doc for details on how to use it or if it supported what I am looking for, but I wasn’t able to gleen much from there.

Any idea on docs on enterprise version that might explain if it can do this? :slight_smile:

This is all that I know : 

http://docs.coronalabs.com/native/index.html

but I must admit not being in the loop on Enterprise matters as I’m not subscribed at that level. 

With enterprise you can do anything that a native developer can so you can send intents and have your own activities and everything else that comes with native development.

Thanks! I saw the enterprise getting started guide. I see now that with it you can generate the java android project locally so I could then mod it. Instead of how Pro does it remotely and gives you back just the APK. :slight_smile:

Hi dchan,

I am interested to do that… How can I send Calendar intent via Corona sdk to android native calendar. Can you help to how to start that… I am learning android sdk as I found few things cant be done directly from Corona sdk and one of them is Calendar …

thanks

Abdul

Hi dchan,

I am interested to do that… How can I send Calendar intent via Corona sdk to android native calendar. Can you help to how to start that… I am learning android sdk as I found few things cant be done directly from Corona sdk and one of them is Calendar …

thanks

Abdul