Coder Social home page Coder Social logo

csula-moodle's Introduction

== Description ==

<<<<<<< HEAD
*This is a fork of the Unofficial Moodle Mobile App custmoized for California State University Los Angeles.
Below is the original README.txt originally written by jleyva.*


=======
>>>>>>> upstream/master
This is an unofficial clone of the Moodle Mobile app for iPhone that works on Android and Blackberry devices.
It should work also on iPhone and iPad.

This application is intended and has been designed to be easily customizable by Institutions (University, corp..). This application uses common web technologies (HTML5 + CSS3 + JavaScript) and the high level multiplatform mobile Javascript framework Phonegap.
Phonegap enables you to build your app once with web-standards and deploy to multiple platforms.

Please note that this app is not a replacement or improvement of the official app for iPhone (and Android when available). It has beend designed to be easily customizable and extendable using web technologies by anyone.


=== Technologies used: ===

* HTML5 + CSS3 + JavaScript
* Phonegap for packaging and access Mobile features
* jquery
* jquerymobile

=== Credits ===

Juan Leyva <http://twitter.com/#!/jleyvadelgado>
http://moodle.org/user/profile.php?id=49568

Catalan translation: Antonio Piedras (Universitat de Barcelona)

== Testing the app in a computer ==

=== OPTION 1 === 

Requeriments: Google Chrome browser + Ripple mobile enviroment emulator plugin (http://ripple.tinyhippos.com/)

You must run Google Chrome in Unsafe mode adding this params: --allow-file-access-from-files --disable-web-security

IMPORTANT: I strong recommend you to create a new link or application launch called "Google Unsafe" and use it only for testing the app

 "Path to chrome\chrome.exe" --allow-file-access-from-files --disable-web-security

Open the index.html file in the Google Chrome unsafe and click on the Ripple icon to activate the emulator

Once opened in the Ripple settings block change Cross Domain Proxy to Disabled

Please note that some functionallities (camera, audio recording, contact) will not work in the emulator

=== OPTION 2 === 

Install the Android, BlackBerry or iPhone SDK and follow instructions in http://phonegap.com/start/


==  Configuring Moodle for using the application == 


* Administration -> Plugins -> Web Services -> External Services -> Enable mobile web service

* Administration -> Plugins -> Web Services -> Protocols -> Enable REST

* Administration -> Users -> Permission -> Define roles -> Edit the Authenticated user role -> Allow webservice/rest:use 

* Administration -> Security  -> Site policies -> Change the server upload limit. It can't be Server limit. There is a bug in Moodle Web Services see (http://tracker.moodle.org/browse/MDL-30496)

== Building this app for iPhone ==


You need to create a certificate in a Mac computer to sign the app

Please, read the section "Customizing your own app" bellow

Note also that for distributing your app you must add it in the app store.


== Customizing your own app ==


=== Application name and description === 

Edit the config.xml file


=== Application icon === 

Replace the icon*.png files with your custom icons (PNG 32bits)

You can add also more icons if you mobile supports it editing the config.xml file

=== Style sheet === 

Create your own CSS

Include this CSS in all the files you want to customize


=== Packaging the app for Android, Blackberry and iPhone === 

Crete a free account in https://build.phonegap.com/

Upload a zip with all the contents of your custom app

That's all, Phonegap Build do all the steps required


'''IMPORTANT: The files names cannot containts these chars: - or _'''


== Extending the app ==

The app works as a mini HTML site, it is very easy to add custom pages. Just add new pages and create links between the new and old pages.

It's very easy also add new pages that consumes MoodleWebServices (there is a high level API for making Moodle WS Calls)

If you want integrate your app with your mobile device (accelerometer, camera, compass, contacts, gps) you can use de Phonegap API
http://www.phonegap.com/


== Known bugs and issues ==

Course contents visualization do not work offline

Contacts are saved in your Google account contacts (Android) This is a Phonegap bug

Profile users image are not displayed (This is a Moodle issue) See http://tracker.moodle.org/browse/MDL-30495

== Screenshots ==

See this post: http://moodle.org/mod/forum/discuss.php?d=191144

<<<<<<< HEAD
=======
== ROADMAP ==

=== Version 1.0 ===

Upgrade jQuery Mobile to 1.1.0
* Improved support for fixed toolbars
* Improved transitions, faster and smoother
* New transitions
* New AJAX Loader
More information here: http://jquerymobile.com/blog/2012/04/13/announcing-jquery-mobile-1-1-0/

Upgrade Phonegap to 1.7

Fixing coding style

== Versions ==

=== Version 0.9 ===

Basic functionality

>>>>>>> upstream/master
[[Category: Contributed code]]

== See Also ==

[http://moodle.org/plugins/view.php?id=175 App download links]

csula-moodle's People

Contributors

jleyva avatar hherrera1229 avatar fgc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.