Navigation

Howto start develop Android application - guide

 

1) Install Software:
Download and install Java JDK (Java SE Development Kit): http://www.oracle.com/technetwork/java/javase/downloads/index.html (32bit recommended)
Download and unzip ADT (Android Developer Tools) to your custom directory: http://developer.android.com/sdk/index.html

2) Configure enviroments:
Run unziped Eclipse: adt-bundle-windows-x86_64-20140321\eclipse\eclipse.exe
Help – Install New Software - Add
https://dl-ssl.google.com/android/eclipse/
Eclipse do nabídky Windows – Preferences – Android a do políčka napravo zadejte cestu k místu, kam jste rozbalili SDK z druhého kroku instalace.

Problems:
Failed to fetch URL http://dl-ssl.google.com/android/eclipse/
Communication With repository at https://dl-ssl.google.com/android/eclipse/ failed error
Add to end of the file: Eclipse\eclipse.ini 

-Djava.net.preferIPv4Stack=true
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient
-Dhttp.proxyPort=3128
-Dhttp.proxyHost=myproxy
-Dhttp.proxyUser=mydomainmyusername
-Dhttp.proxyPassword=mypassword
-Dhttp.nonProxyHosts=localhost|127.0.0.1

Window->Preferences->General->Network Connections (edit proxy)

No cpu/abi system image available for this target
-> "SDK Manager.exe" -> Android x.x.x -> ARM EABI v7a System Image -> Install package (http://stackoverflow.com/questions/13488419/unable-to-create-android-virtual-device)

3) Run SDK Manager.exe
Select fields:
Android SDK Tools
Android SDK Platform-tools
Android X.X.X (APIXX)
 -> SDK Platform
 -> ARM EABI v7a System Image

Click button "Install XX packages.."

Problems:
Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-2.xml, reason: Connection to https://dl-ssl.google.com refused
SDK Manager->Tools->Options->Set proxy

 

Examples and downloads:
http://www.javacodegeeks.com/2011/02/android-google-maps-tutorial.html
http://androidexample.com/
http://developer.appcelerator.com/question/119219/other-types-than-interval-service-on-android

Alternatives:
http://karanbalkar.com/2013/05/tutorial-25-helloworld-application-using-android-studio/