Android Fire Project(1)Recall Env and Knowledge
1. Android SDK Standalone Tool
Download from here
http://developer.android.com/sdk/installing/index.html?pkg=tools
The file I get is android-sdk_r24.0.2-macosx.zip. Unzip the file and link to /opt
>
sudo ln -s /Users/carl/tool/android-sdk-macosx /opt/android-sdk
Adding the path
export ANDROID_HOME=/opt/android-sdk
2. Gradle Installation
Download the file
https://downloads.gradle.org/distributions/gradle-2.2.1-bin.zip
Unzip and place the file
export GRADLE_HOME=/opt/gradle
export PATH="/opt/gradle/bin:$PATH"
>
gradle -v
------------------------------------------------------------
Gradle 2.2.1
------------------------------------------------------------
Build time: 2014-11-24 09:45:35 UTC
Build number: none
Revision: 6fcb59c06f43a4e6b1bcb401f7686a8601a1fb4a
Groovy: 2.3.6
Ant: Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM: 1.6.0_65 (Apple Inc. 20.65-b04-466.1)
------------------------------------------------------------
Gradle 2.2.1
------------------------------------------------------------
Build time: 2014-11-24 09:45:35 UTC
Build number: none
Revision: 6fcb59c06f43a4e6b1bcb401f7686a8601a1fb4a
Groovy: 2.3.6
Ant: Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM: 1.6.0_65 (Apple Inc. 20.65-b04-466.1)
OS: Mac OS X 10.10.2 x86_64
3. Easy Example
Import these projects to Android Studio
Change the SDK location
File -> Project Structure into Project Structure ->SDK Location ->SDK location select Android SDK location
Import the project in Eclipse
Install the plugin for eclipse: ANDROID -
https://dl-ssl.google.com/android/eclipse/
Android Spring Framework to handle the Base Layer
Android Native UI
http://sillycat.iteye.com/blog/1833829 List Adapter
http://sillycat.iteye.com/blog/1835292 Endless Pagenation
http://sillycat.iteye.com/blog/1835909 Android Menu
http://sillycat.iteye.com/blog/1837717 Detail Page
Grade and Other Android Basic
http://sillycat.iteye.com/blog/1074642 Gradle concept
http://sillycat.iteye.com/blog/2043335 Feel and Install Android Studio
http://sillycat.iteye.com/blog/1830389 Android Emulator
http://sillycat.iteye.com/blog/1971869 How to build apk
Android Talker Project
GCM Related Project
http://sillycat.iteye.com/blog/1838431 GCM Emulator
http://sillycat.iteye.com/blog/2002143 GCM-5 upgrade android os
Android Native UI
http://sillycat.iteye.com/blog/1842143 Other App
http://sillycat.iteye.com/blog/1842156 Share Content
http://sillycat.iteye.com/blog/1848592 UserInfo and Location
http://sillycat.iteye.com/blog/1841920 Sqlite or Saving Data
Android Content App
http://sillycat.iteye.com/blog/2079697 PhoneGap Jquery Mobile
References:
Env Build
gradle