Πέμπτη 29 Σεπτεμβρίου 2011

Χρονικό κινητοποίησης φοιτητών στη ΝΕΤ - Κυριακη 25/09/11

Spring Android

Questions and accepted answers

  1. Do you want to develop a native android application? YES
  2. Will your application contact some server using REST, JSON or XML? YES/NO/MAYBE
  3. Will your application be integrated with social networks? YES/NO/MAYBE
  4. Do you want to do it from scratch? NO
Results

In case that you gave the accepted answers to the questionnaire then you can try Spring Android. Spring Android is an extension of the well known Spring Framework that aims to simplify the development of native Android Applications. In general, it uses the tools that Android SDK provides. You keep developing Android native apps using Eclipse, but you do not have to code everything from scratch or search for individual libraries. In fact it is an integration of existing libraries[1] so that you will not need to spend your useful development time on how they will all work together.
The tricky part is how to install everything that is necessary to work with Spring Android. The answer is the included References, see "What to install in order to use Spring Android", but in addition I would like to add that in order to check your setup using spring-android-showcase client, you will need to:
  • Create an Android Virtual Device named "7" and using Android 7 (2.1_R1) or change in pom.xml the value of the /project/properties/android-emulator



  • Add YOUR_PATH_TO_THE_ANDROID_SDK_HOME element under the configuration/sdk of the plugin "maven-android-plugin"


Notes:

[1] Additional libraries that Spring Android includes: httpclient, httpcore, commons-codec, xmlParserAPIs, xpp3, jackson, gson, simple-xml


References:

  1. What to install in order to use Spring Android: http://blog.springsource.com/2011/02/09/spring-android-and-maven-part-2/
  2. Spring Android home page: http://www.springsource.org/spring-android
  3. Android Maven Plugin that is used to build native Android applications using maven: http://code.google.com/p/maven-android-plugin/
PS: If you would like to me to explain something in more detail simply ask me to do so!

LinkWithin

Blog Widget by LinkWithin

Mobile edition