Home > eadt

eadt

Eadt is a project mainly written in Emacs Lisp, it's free.

Emacs Android Development Tools : A plugin for emacs used to development android applications

Installation

Clone the code from the repository

git clone [email protected]:dimilar/eadt.git /path/to/eadt

Compile the code

cd /path/to/eadt & make

put the two lines below in your .emacs:

(add-to-list 'load-path "/path/to/eadt")
(require 'android-autoloads)

Ensure the following variables are configured:

Type of floating point support, default value is "armeabi-v7a with NEON"

(customize-variable 'android-armeabi)

The pathes where to find the tools in common use

(customize-variable 'android-environment-variables) 

Optionally, if you plan to use the cmake as the build tools, please configure the two variables below

(setq android-cmake-include-file "/path/to/the/android.cmake")
(setq android-cmake-toolchain-file "/path/to/the/android.toolchain.cmake")

Usually, these two files is in the same folder as the lisp code.

If you have known the name of your device/emulator, please configure the variable:

(customize-variable 'android-device)   or
(set-default android-device "the name of your device/emulator")

Default key bindings

  • Default key bindings are:
    • C-c C-c b Compile the source code of a given android project
    • C-c C-c i Install the binary program or apk to your device/emulator
    • C-c C-c r Run the program or package on the device/emulator
    • C-c C-c c Get rid of all the objects files, executables or apk
    • C-c C-c u Remove the binary program or apk from your device/emulator
    • C-c C-c d a Call the jdb to debug the Android activity
    • C-c C-c d j Remotely debug the Java Native Interface with gdb
    • C-c C-c d n Debug the binary program of the native project
    • C-c C-c l ReLaunch the Android logging system
    • C-c C-c e Start the emulator with some Android Virtual Device
    • C-c C-c D Start the debugging tool DDMS (the Dalvik Debug Monitor Server)

Features

The eadt fully supports android project management. If android SDK and targets are installed, command prompt and completion make it convenient to create and update an android project. Furthermore, cmake and make are added as two alternatives of build tools.

Manage multiple devices/emulator, allow use to select a specific device for any project.

  • Devices/Emulators management

Eadt is integrated with powerful gud interface and allows to remotely debug native program, jni and activity.

Eadt is a plugin to make emacs as integrated control platform for Android development

Intelligent package management

Eadt allow user to compile, insatll, uninstall, run and clean a package according to different environment variables and build tools.