How-to Set Up Android SDK/Eclipse & download/modify OI Apps





The interactive transcript could not be loaded.


Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Dec 31, 2011

http://www.eclipse.org/downloads/ (Download Eclipse Classic)

--------------Install additional Packages using apt--------------
(If you dont have a system without apt-get, simply install subversion and Java JDK and if you have a 64-Bit System, install also ia32-libs using aptitude or yum or a package manager or sth.)
If you have Ubuntu/Debian, you can install them using apt-get:
--only if you have a 64 Bit System--
sudo apt-get install ia32-libs
--for all systems--
sudo apt-get install subversion
sudo apt-get remove icedtea-plugin
sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jdk sun-java6-plugin

--------------Unpack Android SDK + Eclipse--------------

tar xfvz eclipse-SDK-3.7.1-linux-gtk-x86_64.tar.gz
tar xfvz android-sdk_r16-linux.tgz

--------------Install Android Eclipse Plugin--------------
Go to your Eclipse Folder→Double-Click on Eclipse→Confirm Workspace Folder→Help→install new Software
Enter https://dl-ssl.google.com/android/ecl... in The "Textfield Work With"
Click Add → Click OK → Wait a little bit→Check "Developer Tools"→Click Next→Wait→Click Next→Accept License→Click Finish→Wait→Confirm installing unsigned Software→Wait→Click Restart Now

--------------Set Up Android SDK--------------
You will see now a window with the title "Welcome to Android Development"
Check "Install New SDK" and "Install the latest available Version of Android APIs"→Select Next→Decide if you want to send usage Statistics to Google→Click Next→Click Finish→Select Accept All→Click Install→Wait
Now open SDK Manager: Window→Android SDK Manager→Wait for all Entries→ Then: If you want to run Android 4.0 on the Emulator, check ARM EABI v7a System Image under the Android 4.0 Section. If you want to run an other Platform on the Emulator, extend the Section of this Android Version and select only SDK Platform(you dont have to download other stuff like Documentation).→Then click Install X Packages→Check Accept All→Click Install→Wait

--------------Create a virtual device for the Emulator--------------
Click on Window→AVD Manager→Click on New...→Enter a Name in the new Window→Select Target(Android Version)→Enter a SD-Card size→Click Create AVD
Now you can start the virtual device using the Start Button.

--------------Download the latest OpenIntents Apps using Subversion--------------
Open A Terminal
svn checkout http://openintents.googlecode.com/svn... openintents
This will download all OI Apps into the openintents folder.

--------------Import OI Apps in Eclipse--------------
Click on File→Import...→Select under the General Section "Existing Projects into Workspace→Select the downloaded openintents Folder as "Root directory"
You must not import all and some projects are duplicated, so be sure if you want to import all that there are not 2 identical Project Names, for example AndroidSupportV2(Project Names are before the path in the List)
Then Click finish and wait a little bit.

--------------Modify and build OI Apps--------------
Before doing anything, click with the right mouse button on the app you want to build→Select under "Android Tools" "Fix Project Properties". This will fix some Errors. Some Apps can also have after that Errors, because you downloaded the experimental source.
If you want to build it, be sure that you have open one file from the source of the App you want to build. Then you can click the green arrow and if you will be asked "Run As", simply select as Android Application. Then, Eclipse will build the app and start the emuator.
You dont have to restart the emulator every time you want to build an app, you can minimize the emulator and you can build again the app and then the new app will be on the emulator.

Windows/Mac Notes:
If you have Windows, simply download and install Android SDK and Eclipse and Java JDK for Windows/Mac. Then you can follow all Steps after unpacking Eclipse, except downloading the latest OI Apps using svn command, but you can use the Eclipse Addon Subclipse for downloading the latest OI Apps.

-Intro: Itty Bitty 8 Bit - Kevin MacLeod (incompetech.com) Licensed under Creative Commons "Attribution 3.0" http://creativecommons.org/licenses/b..."
-Speed Up: Cipher - Kevin MacLeod (incompetech.com) Licensed under Creative Commons "Attribution 3.0" http://creativecommons.org/licenses/b..."

I used recordmydesktop for recording the screen and Openshot for editing this Video.


When autoplay is enabled, a suggested video will automatically play next.

Up next

to add this to Watch Later

Add to

Loading playlists...