Archive

For the Android category

How to download Android source code

No Comments

Source code of Android can be downloaded by following these steps:

$ mkdir ~/bin
 $ PATH=~/bin:$PATH
 $ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
 $ chmod a+x ~/bin/repo
 $ mkdir WORKING_DIRECTORY
 $ cd WORKING_DIRECTORY
 $ repo init -u https://android.googlesource.com/platform/manifest
 $ repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1
 $ repo sync

android-4.0.1_r1 can be replaced by any version displayed in the previous step. The download process will take a while.

Installing the Android Development Environment for Windows 7

No Comments

This post lists the main steps in order to install an Android development environment for Windows 7.  The developement environment relies on Eclipse.

  1.  Download a JDK (7u3)  from the following page: http://www.oracle.com/technetwork/java/javase/downloads/index.html.
  2. Install the JDK
  3. Set the environment variable JAVA_HOME that points to the installation directory of the JDK
  4. Download Eclipse Classic (3.7.2)  from the following page: http://www.eclipse.org/downloads/
  5. Unzip the Eclipse package where you want to install it.
  6. Download the  SDK starter package from http://developer.android.com/sdk/index.html.
  7. Install the SDK starter package
  8. Launch Eclipse and install the ADT plug-in
    1. Select “Help > Install New Software….”
    2. Add the Indigo repository:  http://download.eclipse.org/releases/indigo
    3. Add the repository https://dl-ssl.google.com/android/eclipse/
    4. Select “Developer Tools” and click next until it gets installed
    5. When Eclipse will restart, you will have to install some SDK’s.

Install Ice Cream Sandwich on a Google Nexus S

No Comments

I have installed Ice Cream Sandwich (ICS) on a Google Nexus S. It works perfectly. The process is not complicated but requires some basic technical skills.

What’s interesting about the process is that it is reversible.  Nevertheless, I did not tried it.

I have installed ICS on a GT-9020A without any trouble using Ubuntu 11.10.  You will find below an overview of the process.  As usual, YOU DO IT AT YOUR OWN RISKS.  BEFORE PROCEEDING, BACKUP ALL YOUR DATA, YOU PHONE IS ERASED DURING INSTALLATION.

    1. I have rooted the phone as explained on http://nexusshacks.com/nexus-s-hacks/how-to-root-nexus-s-or-nexus-s-4g-new/. The process is the same for the Nexus S or the Nexus S 4G
    2. I have used the ROM that can be downloaded here. The information page related to this ROM image is on a xda developers forum.
    3. I have installed the ROM using this procedure: http://nexusshacks.com/nexus-s-hacks/how-to-install-a-rom-on-nexus-s-or-nexus-s-4g/.

You will have to add in a file such as /etc/udev/rules.d/75-android.rules the following line in order to have the phone recognized by Ubuntu.  Chances are that this file does not already exists.  Just create it!.

SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666"
Blue Taste Theme created by Jabox