Hi after a lot of research in web i could not find any gem for integrating apple devices icalendar or ical with ruby on rails applications.
I have seen for apple devices there is a 'webcal subscription link' how can i create a webcal url in ruby on rails and how to create a subscription calendar for apple devices from ruby on rails app.
You have to distinguish between event-links (.ics files or links) and CalDAV feeds (calender sync).
See this PDF for explanation.
To generate .ics entries (RFC2445), there are some gems. i.e.:
icalendar
ri_cal
with these gems, you can generate ICS content and link to it. The iOS-Device will generate a new calender entry when you click such a link.
It is possible to create files with many calender entries and Calender can "subscribe" this, similar to an RSS feed, whith the URL scheme webcal. I use i.e.:
webcal://ifeiertage.de/by-.ics
CalDAV on the other hand needs a calender server like DaviCAL, owncloud (or Google Calender) with authentication. As far as I know (see PFD above) there is no easy way to generate such an account with a single link.
You would have to create a Configuration Profile for iOS.
You can access iOS inbuilt apps like this
If you're looking for the URL Schema, iPhone Calendar is:
Click me!
More can be found here.
If above doesn't work, you may look at this link
Hope it helps!
Related
Just looking for guidance. Is it possible to update Realm Mobile Database objects with a rails app/api and if so how? We want to build a rails web app that can update realm objects but I do not see any documentation on how to achieve this.
Any ideas?
Example: A mobile device sends an email to someone with a link that contains params. They click the link, it opens a browser to a rails webpage and in the backend, the rails app takes the params and updates the Realm object with the params.
Is it possible?
You can currently do that with the Enterprise or Pro Edition and the Node.js SDK where you could make a REST API specific to your needs. There is no general REST API (yet).
SEE UPDATE BELOW!
I have code that generates .ICS scheduling information customized for people and each is saved to the server. A link is displayed on the frontend which just displays the custom link (along with information on how to sync using Outlook, Google Calendar or Apple iCal).
Everything is working okay so far, Google Calendar seems to refresh consistently, Outlook is a bit of a pain but there are workarounds. When I went to test on an iPad and tried to 'Add a Subscribed Calendar', it keeps saying that it couldn't connect using SSL
I'm not too entrenched in the Apple ecosystem at this point, is it an SSL thing with Apple products where you have to authenticate or need a valid SSL certificate to access the .ICS file?
Thanks for any considerations
I'm coding an app for iOS / WP7 / Android using PhoneGap and it has to allow the user to publish comments to its facebook wall / twitter or send it by e-mail.
What is the easy way to face these tasks? any common approach? maybe a plugin? I have seen some similar posts in stackoverflow but none of them seems to offer a plain solution for all platforms...
Thanks
Here's a nice one, it's a JQuery plugin that not only has a nice interface but also provides the implementation details (link) to actually share something on each one of those frameworks!
jQuery social media share
If you want more access (like FB Wall), you'll need to actually code against the FB SDK (in javascript, not that hard but tons of functionality!).
PS: I am not affiliated in any way to this plugin or to it's author
You can use JavaScript based API's to make calls from your native apps that are not platform specific (so you can implement the same code in several native apps).
For instance, here is a link to the Facebook JavaScript API: http://developers.facebook.com/docs/reference/javascript/
For sending email, you could allow your users to compose the email in your app, then use an AJAX call to send the data to your server where your server-side script can send the email.
here is a implemetation with javascript for facebook, email and twitter in a few lines of code: http://www.sebastianviereck.de/en/mobile-multi-share-implementation-with-jquery-mobile/
I have a mobile web app/site and I would like the users to upload a word document to our site.
As safari on the iPhone is not able to upload files what are the alternatives?
I have seen http://code.google.com/p/iphone-photo-picker/ however this is not photograph.
Is it documented anywhere that the Dropbox API, iCloud API or another API would allow selection a file from a user to copy to our servers?
Alternately is there another way for our iPhone users using safari?
No, iPhone does not offer input type file on it's browser (except for images or videos).
What i do is, have users to send file(s) via email to site and download it programmatically on the server side and assign it to user's account either according to email address or some sort of password in the email.
Investigation has shown that the drop box API for the user so select a via on the webpage using OAuth could be an option in the future.
However the dropbox api documentation at the time of writing says:
Web applications using the Dropbox API are currently not officially
supported.
iCloud API is in beta and only available to members of the iOS and Mac Developer Programs so I am unable to review it's possibilities.
Update: I have now found this site: http://filepicker.io that handles uploads from facebook and dropbox.
I'm working on a rails app that powers multiple facebook apps (serving them via iFrame) and allows users to install / customize the different apps from an admin area in my app.
I'm using the Facebooker2 gem and noticed that I can only specify one app_id and app_secret in the Facebooker.yml config file. Any tips on how I can modify it to support multiple Facebook apps.
My first thought would be to store the app_id's and app_secret's for my apps in the database then have Facebooker dynamically load them accordingly from there.
Any advice would be much appreciated!
Well I have worked on this problem before, the way we did it was to store the facebook credentials in a database, depending on the customer we had a before_filter in our controller which would switch the configuration as needed. I hope this helps as a starting point. I can elaborate more if you need me to.