Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Moodle Mobile Building the app for Android: Difference between revisions

From MoodleDocs
(Created page with "== Installing Android SDK == Building the app for Android is easy once you have successfully installed all the required software. Since we are using Phonegap as framework for c...")
 
Line 10: Line 10:
* You must read carefully the document and not use white spaces in some names and ids. (It's adviced in the document)
* You must read carefully the document and not use white spaces in some names and ids. (It's adviced in the document)
* You can optionally not use Eclipse and instead use adb command line or cordova script tools
* You can optionally not use Eclipse and instead use adb command line or cordova script tools
* In the "4. Setup New Project" The package_name is the app id that your app will have in the Android Market, so it must be unique. If you are going to develop for the official app you have to use com.moodle.moodlemobile, if you are going to develop a custom app, you will have to add your own unique id.
* In the "4. Setup New Project" The package_name is the app id that your app will have in the Android Market (Play Store), so it must be unique. If you are going to develop for the official app you have to use com.moodle.moodlemobile, if you are going to develop a custom app, you will have to add your own unique id.
* If you want to connect a Device to your Eclipse and you are using Windows, you must install the Android USB Drivers, see http://developer.android.com/tools/extras/oem-usb.html#InstallingDriver
* If you want to connect a Device to your Eclipse and you are using Windows, you must install the Android USB Drivers, see http://developer.android.com/tools/extras/oem-usb.html#InstallingDriver

Revision as of 13:40, 20 March 2013

Installing Android SDK

Building the app for Android is easy once you have successfully installed all the required software.

Since we are using Phonegap as framework for creating the app, the documentation you have to follow is just in this link plus additional steps for installing plugins: http://docs.phonegap.com/en/2.5.0/guide_getting-started_android_index.md.html#Getting%20Started%20with%20Android

Notice the following:

  • You must read carefully the document and not use white spaces in some names and ids. (It's adviced in the document)
  • You can optionally not use Eclipse and instead use adb command line or cordova script tools
  • In the "4. Setup New Project" The package_name is the app id that your app will have in the Android Market (Play Store), so it must be unique. If you are going to develop for the official app you have to use com.moodle.moodlemobile, if you are going to develop a custom app, you will have to add your own unique id.
  • If you want to connect a Device to your Eclipse and you are using Windows, you must install the Android USB Drivers, see http://developer.android.com/tools/extras/oem-usb.html#InstallingDriver