netmap / netmap-android

Sample Android game that uses the NetMap library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NetMap Game Client for Android

This repository contains the code for the NetMap Android client.

Setup

The steps below

Android SDK Setup

  1. Go to the Eclipse Downloads page and get the Eclipse Classic build.

  2. Add the following lines to eclipse.ini.

    -vmargs
    -Xms128m
    -Xmx1024m
    
  3. Go to the Android SDK download page and choose Use an existing IDE then download the SDK.

  4. 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
  5. Follow these instructions to install the Android Developer Tools plug-in.

  6. 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.

  7. Follow these instructions for setting up your Android hardware for development.

  8. 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.

Code

  1. Clone the ChromeView repository in your Eclipse workspace.

    cd ~/workspace
    git clone git://github.com/pwnall/chromeview.git
  2. Clone the NetMap measurements repository in your Eclipse workspace.

    cd ~/workspace
    git clone git@github.com:netmap/netmap-metrics.git
  3. Clone this repository in your Eclipse workspace.

    cd ~/workspace
    git clone git@github.com:netmap/netmap-android.git
  4. Import the projects into Eclipse.

    • Go to the Eclipse menu, and select File > Import
    • Select General > Existing Projects into Workspace.
    • Click Browse... next to Select root directory.
    • Your workspace directory should be automatically selected. Click OK.
    • Click Finish.

Development

About

Sample Android game that uses the NetMap library


Languages

Language:Java 100.0%