We are developing an app - it is my task to get the app to put events in the calender of the phones using our app. Where do I...

// Expert user has replied.
A Anny Wink 2 years 11 months ago
0 3 0

What be great to get some help on this.

Please register or login to post a reply

3 Replies

A Anny Wink

Any Chance that this makes sense for you:

I tried the links and therefore made the autorization work & then defined hashes etc in the end the calender should have safed them, like that (the autorization is missing) :-) thx

build.yml file  
capabilities:

    

- calendar

System::get_property('has_calendar')

created_event = Rho::RhoEvent.create!(@params['event'])
#Hashes: Temine definieren

# als Events deklarieren
events = dict = {}
dict = {}  # create a new dictionary

dict['06.11.2014 13:30 - 15:30'] = 'Eröffnungsplenum, im Lichthof'   

#associate the key '06.11.2014 13:30 - 15:30 to the value 'Eröffnungsplenum'

dict['06.11.2014 15:45 - 17:00'] = 'Ersti-/Profiworkshop, im Lichthof/ Raum XYZf'
dict['06.11.2014 17:00 - 18:15'] = 'Abendessen, in der Mensa'
dict['06.11.2014 18:30 - 20:00'] = 'Check-In im Host, im Hostell'
dict['06.11.2014 20:00 - 22:00'] = 'Kennenlernspiele, Treffen beim Niedersachsensaal'
dict['06.11.2014 22.00 - 05:00'] = 'Party, im Dax'

p dict['06.11.2014 13:30 - 15:30'] = 'Eröffnungsplenum, im Lichthof'  

#prints "Eröffnungsplenum, im Lichthof"

p dict['06.11.2014 15:45 - 17:00'] = 'Ersti-/Profiworkshop, im Lichthof/ Raum XYZf'
p dict['06.11.2014 17:00 - 18:15'] = 'Abendessen, in der Mensa'
p dict['06.11.2014 18:30 - 20:00'] = 'Check-In im Host, im Hostell'
p dict['06.11.2014 20:00 - 22:00'] = 'Kennenlernspiele, Treffen beim Niedersachsensaal'
p dict['06.11.2014 22.00 - 05:00'] = 'Party, im Dax'

h.fetch:['06.11.2014 13:30 - 15:30'] = 'Eröffnungsplenum, im Lichthof'

safe dict = {}

Rho::RhoEvent.update_attributes(@params['event'])

R Robert Galvin

Anny, This is supported via our Ruby API only. Assuming you know how to build a basic RhoMobile application. Here is a link to how to add events: http://docs.rhomobile.com/en/5.0.0/guide/pim#pim-calendarevents  and some sample code: https://github.com/rhomobile/rhodes-system-api-samples/blob/master/app/…

B Bhakta Ranjan Satapathy

Hi,

Kindly take a look on documentation available at
Rhomobile | Device Capabilities

And the source code at
rhodes-system-api-samples/controller.rb at master · rhomobile/rhodes-system-api-samples · GitHub

Thanks

CONTACT
Can’t find what you’re looking for?