-
Notifications
You must be signed in to change notification settings - Fork 1
Home
mfriedenhagen edited this page Dec 21, 2010
·
2 revisions
Main Entry-Points for the mittags-tisch-service:
- http://mittagstisch-ka.de/app/index JSON-Index
- http://mittagstisch-ka.de/app/$ID Single-Text-Entry
- http://mittagstisch-ka.de/app/$ID.jpg Small picure
- http://mittagstisch-ka.de/app/[email protected] Big picture
As this project uses RoboGuice you will need to add guice-2.0-no_aop.jar manually as this is not available from any repository.
curl -O http://google-guice.googlecode.com/files/guice-2.0-no_aop.jar
mvn install:install-file -DgroupId=com.google.code.guice -DartifactId=guice -Dversion=2.0 -Dclassifier=no_aop -Dpackaging=jar -Dfile=guice-2.0-no_aop.jar
I use Eclipse with M2Eclipse and the ADT Plugin. After checking out:
- Run mvn install to install the parent pom in your local cache dir.
- Create two projects "mittagstischka" and "mittagstischkatest" pointing to the app and test directory.
- Create a AVD called Wildfire and start the emulator (or use -Ddevice=usb if you have a real phone connected).
- Running mvn clean install -Papp_and_test will build the application and run the testapp as well.
As I like to use @Override for interfaces, I have set the Java compiler to 1.6 style.
If you connect a real device to different computers, the debug signing keys will differ probably. So get rid of the applications before deploying:
adb uninstall de.friedenhagen.android.mittagstischka
adb uninstall de.friedenhagen.android.mittagstischka.tests