Tuesday, August 09, 2011

Android SDK

 

Installing the android SDK and starting to write my android App

Installed Java 7

Installed Android SDK : FAILED

Added path vars

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Java\jdk1.7.0\bin\;

Installed SDK : PASSED

Eclipse Classic 3.7

http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.7-201106131736/eclipse-SDK-3.7-win32.zip

ADT Plugin for eclispe

http://developer.android.com/sdk/eclipse-adt.html

 

Downloading the ADT Plugin

Use the Update Manager feature of your Eclipse installation to install the latest revision of ADT on your development computer.<>

Assuming that you have a compatible version of the Eclipse IDE installed, as described in Preparing for Installation, above, follow these steps to download the ADT plugin and install it in your Eclipse environment.

  1. Start Eclipse, then select Help > Install New Software....
  2. Click Add, in the top-right corner.
  3. In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location:
    http://dl-ssl.google.com/android/eclipse/
  4. Click OK
    Note: If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).
  5. In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
  6. In the next window, you'll see a list of the tools to be downloaded. Click Next.
  7. Read and accept the license agreements, then click Finish.
    Note: If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
  8. When the installation completes, restart Eclipse.

Pasted from <http://developer.android.com/sdk/eclipse-adt.html>

 

image

image

Google USB Driver

http://developer.android.com/sdk/win-usb.html#WinUsbDriver

clip_image001

Setting up the enviroment

5. In the Variable Name field, type ANDROID.

6. Type the full path to the tools directory in the Variable Value field (see Figure 2-14).

clip_image001[5]

Create an AVD

To learn more about how to use AVDs and the options available to you, refer to the Android Virtual Devices document.

In this tutorial, you will run your application in the Android Emulator. Before you can launch the emulator, you must create an Android Virtual Device (AVD). An AVD defines the system image and device settings used by the emulator.

To create an AVD:

  1. In Eclipse, choose Window > Android SDK and AVD Manager.
  2. Select Virtual Devices in the left panel.
  3. Click New.

The Create New AVD dialog appears.

  1. Type the name of the AVD, such as "my_avd".
  2. Choose a target. The target is the platform (that is, the version of the Android SDK, such as 2.1) you want to run on the emulator.
  3. Click Skin: built In resolutions : QVGA

clip_image002

You can ignore the rest of the fields for now.

  1. Click Create AVD.

Pasted from <http://developer.android.com/resources/tutorials/hello-world.html>

Droid Draw

  • Not needed for now – I think it’s a standalone project made prior to the ADT ?

ANDROID SOURCE CODE

http://source.android.com/source/downloading.html

couldn’t download this. tried to download Git and other stuff, just ended with a headache. NEXT

 

My Next post … Hello world

No comments: