for proof of concept, I created a Sencha Touch 1.1 client for Moodle 2.1+.
You can find it on Github.
You will need to cherry-pick a JSONP server that is not integrated in Moodle. You can vote for the MDL-29913 issue if you are interested by a JSONP server in Moodle.
Some pictures of the client:
Note: I tried to embed this app into an iOS app with PhoneGap, and it does work well.
Nice proof of concept.
I'm working in something similar using jquery, jquerymobile and PhoneGap (android and blackberry)
I have voted for this issue.
For the readers: Please note that if you package your app with Phonegap or other frameworks you can use cross domain calls as usual.
- Changed login/token.php
- changed webservice/rest/locallib.php
- changed webservice/rest/server.php
- enabled the web services
Clicked the connect button and nothing happened, any suggestion?
If it helps, I am using MyMoodle iphone application and it works fine.
if things stop working in a JS app, it's most likely that a JS error occured. Open your JS console in your browser to see if there are no errors. Otherwise you'll have to look at the code doing the calls in https://github.com/mouneyrac/sencha_moodle/blob/master/app/views/sites/Form.js