You are viewing a plain text version of this content. The canonical link for it is here.
Posted to photark-commits@incubator.apache.org by su...@apache.org on 2012/05/12 22:30:13 UTC

svn commit: r1337709 - /incubator/photark/mobile/trunk/README.txt

Author: suho
Date: Sat May 12 22:30:12 2012
New Revision: 1337709

URL: http://svn.apache.org/viewvc?rev=1337709&view=rev
Log:
adding read me

Added:
    incubator/photark/mobile/trunk/README.txt

Added: incubator/photark/mobile/trunk/README.txt
URL: http://svn.apache.org/viewvc/incubator/photark/mobile/trunk/README.txt?rev=1337709&view=auto
==============================================================================
--- incubator/photark/mobile/trunk/README.txt (added)
+++ incubator/photark/mobile/trunk/README.txt Sat May 12 22:30:12 2012
@@ -0,0 +1,53 @@
+
+***** Getting Started *****
+
+Download and install the Android SDK
+-------------------------------------
+
+Download SDK from 
+http://developer.android.com/sdk/index.html
+
+Next, untar the package
+~$ tar -xvzf android-sdk_r18-linux.tgz
+
+
+Setting up your PATH variable (Optional)
+-----------------------------------------
+
+In Ubuntu, you want to open your .bashrc file. A simple
+~$ gedit ~/.bashrc
+
+will open the file. Next, add the following line to the end of .bashrc
+export ANDROID_HOME=(path-to-android-sdk [e.g. /home/suho/projects/photark/android-sdk-linux])
+export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
+
+
+Install Additional Android Developer Components (If any)
+------------------------------------------------
+
+Install via the Android SDK and AVD manager
+~$ android
+
+
+Creating an AVD
+----------------
+Run
+~$ android avd
+
+and Create an AVD having platform version >= 2.2
+
+Install Cordova to local repo
+-----------------------------
+
+Run
+~$ mvn install:install-file -Dfile=.libs/cordova-1.7.0.jar -DgroupId=org.apache.cordova  -DartifactId=cordova -Dversion=1.7.0 -Dpackaging=jar
+
+Deploy and run the app
+----------------------
+
+Start the AVD created
+Run
+~$ mvn clean install android:deploy
+
+
+