Skip to content
This repository has been archived by the owner on Dec 25, 2024. It is now read-only.

How to build the project

poschi3 edited this page Mar 29, 2013 · 29 revisions

Checking out the source code

$ git clone https://github.com/raphaelm/opacclient.git opacclient
$ cd opacclient/
$ git submodule update --init --recursive

Import project in Eclipse

We assume you have an Eclipse installation ready for use with Android projects (SDK, ADT, ... set up properly).

  1. Import the project 3dparty/HoloEverywhere/contrib/ActionBarSherlock/library into Eclipse using File → New → Project → Android Project from Existing Code
  2. Rename the project to ABS_opacclient (right click → RefactorRename) if Eclipse names it just library (because in every workspace there can be only one project of the same name and the next we are going to import is called library by default, too).
  3. Do the same with 3dparty/HoloEverywhere/library (rename it to HoloEverywhere_opacclient if there are collisions with other project names in your workspace).
  4. Do the same with 3dparty/SlidingMenu/library (rename it to SlidingMenu_opacclient).
  5. Import the opacclient project the same way
  6. Make sure in the opacclient project the path to the HoloEverywhere project is set properly (right click → PropertiesAndroid and look under Libraries)

If you use EGit you should import the projects via File → Import... → Git → Projects from Git in order to have the EGit commands in the 'Team' group of the project's context menus. This works also with Android projects.

Should work. If not, play around or email me. Happy hacking!

Build APK

$ ant debug
Clone this wiki locally