Category Archives: Android

ADT 17 Preview Installation

Eclipse ADT plug-in revision 17 (ADT 17) have made a lot of improvements to the dependency management of Android projects like DDMS, ProGuard, Lint and other important bug fixes (More Info).

Note

  • ADT 17 requires Java 1.6 or higher (and Eclipse 3.6.2 or higher.).
  • Eclipse 4.x has some known issues with the Android support; 3.6.2 or 3.7.1 is recommend .

Download

and one of the following depending on whether you are developing on Windows, Linux or Mac OSX:

Tools

Platform-tools

If you have already installed preview1, preview2 or preview3, you do not need to update platform-tools again; they are unchanged from preview1 to preview4.

Installation

ADT 17 depends on changes in the tools and platform-tools components as well, so to use the preview you will need to update all 3 (tools, platform-tools and the ADT plugin).

Close Eclipse and go to your Android SDK root directory (where you have existing tools/ and platform-tools/ folders), and copy or move the existing directories out of the way. (Don’t just delete them. This is a preview release, so it’s possible for the new versions to have bugs and you may want to be able to go back).

  1. Rename tools/ and platform-tools/ folder
    Rename and Extract ADT 17 preview
  2. Extract tools_r17-preview4.zip and platform-tools_r11-preview1.zip to Android SDK root directory
  3. Start Eclipse and go to Help > Install New Software... Click Add. In Add Repository window enter “ADT 17” to the Name field and click Archive then pointing to the directory where you unzipped adt17-preview4.zip and following the on-screen instructions.
    ADT Installation
  4. Restart Eclipse.

Known Issues

If you sometimes get Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE and want to increase the memory capacity of Android emulator, in Eclipse, go to “Debug Configurations“. You can find that in the drop-down under the “debug” icon. Select “target”, and select a preferred emulator target to launch. Then under “additional emulator command line options,” add this:

-partition-size 1024

Close the emulator (and remove any devices), and click the debug icon, which will launch the preferred emulator you selected. This is important: Eclipse needs to launch the debugger, not AVD.

More Info:

Android Google+ (Google Plus) APK

Gua cari dekat Market tapi tak jumpa. Region dekat Malaysia tak available lagi. Jadi gua extract dari emulator Galaxy Tab dan upload ke MediaFire. Gua dah test orait je.

Muat turun G+: http://www.mediafire.com/?y6vew73gd2oj1fy (com.google.android.apps.plus.apk, 2.8M)

KEMASKINI:

Atau boleh dapatkan terus dari XDA Developer: http://www.xda-developers.com/android/google-android-app-for-non-us-members/

Preview G+ application on X10i

Peh, boleh tahan juga UI WordPress sekarang ni.

Manually download of Android SDK Components (Android SDK platforms)

UPDATED

New page for Android SDK Viewer. This page allows you to browse and download Android SDK component. Give it star and contribution welcome!





    Android SDK

    Common Problem:

    Eclipse (Access is denied) – Right click eclipse.exe and select “Run as Administrator”
    Slow download? – Use W G E T for Windows

    Manually download of Android SDK Components (Android SDK platforms)
    5/5 based on 44 reviews

Connect Emulator to the Internet

If your computer is connected to the internet, you don’t have to do anything special to connect your emulator to the network. To paraphrase, you will have to adjust the settings only if you are sitting behind a proxy (or if working with earlier versions of emulator, in case of DNS problems). Just type a URL into the browser and it should work.

Here I listed some ways on how to enable emulator to access internet.

#1: Setup Google Account
Just setup your Google Account on that emulator.

#2: F8
By default, you should be able to toggle the Internet access to your emulator with F8 (on Windows) and Fn + F8 (on Mac OS X) – I think F8 also works for Linux, but I’m not 100% sure.

With this shortcut, you get the ACTION_BACKGROUND_DATA_SETTING_CHANGED dispatched.

#3: DNS setting
If your using Eclipse: 3.6 (Windows), Go to Window > Preference > Android > Launch
Default emulator options: -dns-server 8.8.8.8,8.8.4.4. Or you can try your DNS.

#4: Proxy setting

  1. Right click on the Project in Eclipse
  2. Select Run As -> Run Configurations …
  3. Select Android Application and then select “target” tab
  4. Looking for “Additional Emulator Command Line Options” and put this command line to text box-http-proxy http://< username >:< password >@< hostname >:< port >