Difference between revisions of "Android"

From Bashlinux
Jump to: navigation, search
(talk)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
= Android =
 
= Android =
  +
== SDK Setup ==
 
  +
* [[android-dev|Development environment]]
  +
* [[android-os|OS environment]]
 
== How to setup Android SDK ==
 
This is to build applications for Android
 
This is to build applications for Android
 
=== Linux Setup ===
 
=== Linux Setup ===
Line 21: Line 24:
 
* Download and install plugin for the prefered IDE
 
* Download and install plugin for the prefered IDE
   
  +
== How to setup Eclipse to build Android Apps on Linux ==
== Mobile Setup ==
 
This is to setup Android on running devices.
 
 
# '''How to change the language on Android?'''
 
Change country, language and timezone on /default.prop
 
 
== Eclipse Setup ==
 
 
This setup Eclipse and Android Eclipse Plugin on Linux
 
This setup Eclipse and Android Eclipse Plugin on Linux
   
Line 45: Line 42:
 
* Add the ADT on 'Help > Add New software'
 
* Add the ADT on 'Help > Add New software'
 
* On the new dialog click on 'Add' button and add `https://dl-ssl.google.com/android/eclipse/` in location and `Android Plugin in name field
 
* On the new dialog click on 'Add' button and add `https://dl-ssl.google.com/android/eclipse/` in location and `Android Plugin in name field
  +
 
== Mobile Setup ==
  +
This is to setup Android on running devices.
  +
 
# '''How to change the language on Android?'''
 
Change country, language and timezone on /default.prop

Revision as of 15:27, 4 June 2012

Android

How to setup Android SDK

This is to build applications for Android

Linux Setup

  • Download the [SDK]
  • Add to the `$PATH` the tools location
 export PATH=${PATH}:<sdk_location>/tools:<sdk_location>/platform-tools
 
  • Install add-ons and documentation
  • Download and install plugin for the prefered IDE

Windows Setup

  • Download SDK
  • Install SDK
  • Disable anti-virus
  • Install add-ons and documentation
  • Download and install plugin for the prefered IDE

How to setup Eclipse to build Android Apps on Linux

This setup Eclipse and Android Eclipse Plugin on Linux

  • Install Eclipse
 yum install eclipse eclipse-jdt eclipse-gef
 
  • Enable the proper eclipse repository, based on the release codename
 http://download.eclipse.org/releases/<eclipse_release>/
 
  • Update eclipse, 'Help > Check Updates'
  • Add the ADT on 'Help > Add New software'
  • On the new dialog click on 'Add' button and add `https://dl-ssl.google.com/android/eclipse/` in location and `Android Plugin in name field

Mobile Setup

This is to setup Android on running devices.

  1. How to change the language on Android?
Change country, language and timezone on /default.prop