Android Fire Project(一)Recall Env and Knowledge
Android Fire Project(1)Recall Env and Knowledge
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
https://gradle.org/
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
https://github.com/luohuazju/sillycat-android-cms
https://github.com/luohuazju/easy/tree/master/EasyAndroidGCM
https://github.com/luohuazju/easy/tree/master/EasyRestClientAndroid
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
http://sillycat.iteye.com/blog/1065583 I
http://sillycat.iteye.com/blog/1065584 II
http://sillycat.iteye.com/blog/1074171 III
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
http://sillycat.iteye.com/blog/1669221
http://sillycat.iteye.com/blog/1743376
http://sillycat.iteye.com/blog/1763034
GCM Related Project
http://sillycat.iteye.com/blog/1838431 GCM Emulator
http://sillycat.iteye.com/blog/1844837
http://sillycat.iteye.com/blog/1769191 GCM-1
http://sillycat.iteye.com/blog/1769196 GCM-2
http://sillycat.iteye.com/blog/1838432 GCM-3
http://sillycat.iteye.com/blog/1998911 GCM-4
http://sillycat.iteye.com/blog/2002143 GCM-5 upgrade android os
Android Native UI
http://sillycat.iteye.com/blog/1065582
http://sillycat.iteye.com/blog/1831551
http://sillycat.iteye.com/blog/1831766
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/1844834 Audio
http://sillycat.iteye.com/blog/1845416 Photo
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
http://sillycat.iteye.com/blog/707399 window
http://sillycat.iteye.com/blog/855334 ubuntu
http://sillycat.iteye.com/blog/1669221 mac
http://sillycat.iteye.com/blog/2043335 studio
gradle
http://sillycat.iteye.com/blog/2090147
http://sillycat.iteye.com/blog/2079697
http://sillycat.iteye.com/blog/2043335
http://sillycat.iteye.com/blog/1074642