Is it possible to sync ios document using mobileme? - ios

Just wondering if it is possible to use mobileme to sync application documents in ios?
If so, is there any sample code out there? Thanks.

I believe you can sync to MobileMe as a WebDAV server. Currently there is no built in support to sync app data to MobileMe, that is rumored to be part of iOS 5.
In regards to MobileMe as a WebDav server, the first search results on http://DuckDuckGo.com was this: http://www.chrisdanielson.com/2009/08/13/mounting-mobileme-idisk-using-webdav-and-linux/.

Related

Exchange data between same app on different devices

I have developed a iOS app, now I want to exchange data between two devices( it can be android or iOS) for same app.
Is it possible to do, with or without Internet connection?
Sharing ideas will help me a lot...
Please help and thanks in advance....
THe simplies way to do that is by using backend substitution frameworkds, such as Parse. With it you access your data as from database on each device. Parse is shuttong down now, but you can setup your own server.

iCloud for web application

Has Apple provided public API for web applications?
I want to build an application which will be similar to dropbox.
I want the user to be able to manage files and edit them from their devices (iphone/ipad/mac) and from website (any browser based) too.
Is this possible now to see the list of files using iCloud API?
Thanks.
As I just stumbled across this thread while searching for a solution for iCloud contacts in my web-app, I just wanted to add that nowadays CloudKit JS seems promising for this use case. It's a bit unfortunate it needs an app on its side, but it's still better than nothing :)
Can I use iCloud API in web application?
No, Apple only provides APIs that can be used within native apps on iOS or OS X devices. There's no documented API that could be used for a browser-based interface to a user's iCloud account (some API apparently exists, since Apple uses it, but third parties do not have access).

when implementing Dropbox API on iOS app

I just started implementing Dropbox API on my iOS app.
Last time, when I played around with iCloud a bit, I found that Apple recommended an app save the data either locally or on iCloud, not on both.
I remember the code for data transition when user switching the setting between local and iCloud was a bit difficult.
Does this apply to Dropbox, too?
So, when the user chose Dropbox option, should I save all data through Dropbox API exclusively?
or could I save one copy through Dropbox and another through native iOS code?
Thanks for your help in advance!
Which API?
For both files (Sync API) and datastores (Datastore API), the iOS SDK will cache data locally on the device as well as store it in the cloud, so there's really nothing to do aside from use the SDK.

Save data offline in a database

I'm wondering whether there is a technology similar to SQLite that would allow me to save data offline on different platforms including iPhone.
I'm using Phonegap so I don't know what the limitations are there, and whether it'd okay to use SQLite, or is there something better?
It's now working fine with Android, but will it be the same with iOS?
See the PhoneGap Storage API that's based on the W3C Web SQL Database Specification and W3C Web Storage API Specification. It's implemented for Android, IOS, and Blackberry.

Blackberry app that periodically sends GPS to webserver?

I want to create a background app on a Blackberry that starts when the phone boots and sends gps locations to a webserver periodically. Is this possible without the BES server? I am most likely targeting OS 4.5. Any gotchas I should know about?
thanks
Nick
if you want only background process.
How to - Set up a background application
if you want GUI part also in your application.
How to - Set up an alternate entry point
and for gps update
Get location information updates
You can skip the BES server if you use a PHP or ASP.NET WebService. You can consume that WebService on the Blackberry device using a JSON library found here:
http://www.json.org/
PHP and ASP.NET can receive JSON objects and parse them into objects on that specific programming language.

Resources