This repository contains the code for the NetMap Android client.
The steps below
-
Go to the Eclipse Downloads page and get the
Eclipse Classic
build. -
Add the following lines to
eclipse.ini
.-vmargs -Xms128m -Xmx1024m
-
Go to the Android SDK download page and choose
Use an existing IDE
then download the SDK. -
Extract the SDK in
~/android
and run~/android/tools/android
. Download everything that is compatible with your OS under these folders.- Tools
- Android 4.2.2 (API 17)
- Android 4.0 (API 14)
- Extras
-
Follow these instructions to install the Android Developer Tools plug-in.
-
When Eclipse restarts, ADT will ask you for an SDK path. Point it to
~/android/
, which contains the SDK that you have already set up. -
Follow these instructions for setting up your Android hardware for development.
-
On Linux, also follow the udev instructions in the Android documentation above. Although the Android docs refer to Ubuntu Linux, the instructions are applicable to all modern Linux distributions.
-
Clone the ChromeView repository in your Eclipse workspace.
cd ~/workspace git clone git://github.com/pwnall/chromeview.git
-
Clone the NetMap measurements repository in your Eclipse workspace.
cd ~/workspace git clone git@github.com:netmap/netmap-metrics.git
-
Clone this repository in your Eclipse workspace.
cd ~/workspace git clone git@github.com:netmap/netmap-android.git
-
Import the projects into Eclipse.
- Go to the Eclipse menu, and select
File
>Import
- Select
General
>Existing Projects into Workspace
. - Click
Browse...
next toSelect root directory
. - Your workspace directory should be automatically selected. Click
OK
. - Click
Finish
.
- Go to the Eclipse menu, and select