ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Andrew

by SergiJuanola ALL

Andrew is a lightweight Android Development Project for Sublime Text 2 and Sublime Text 3. It makes use of Monitor to get a fully functional environment for Android development, without the hassle of a big IDE.

Details

  • 2013.11.07.11.38.55
  • github.​com
  • github.​com
  • 10 years ago
  • 2 hours ago
  • 12 years ago

Installs

  • Total 4K
  • Win 2K
  • Mac 919
  • Linux 1K
Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 1 0 0 1 0 0 0
Mac 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Andrew

Andrew is a lightweight Android Development Project for Sublime Text 2 and Sublime Text 3. It makes use of Monitor to get a fully functional environment for Android development, without the hassle of a big IDE.

Recent Changes

0.3.2

  • Added support for Windows (locate SDK, create/import projects, use of Monitor)
  • Removed DDMS, Devices and SDK Manager, and changed them for Monitor (the mix of all of them from the latest versions of Android SDK)
  • Import updates a project, so it can be used with Andrew and Sublime Text
  • Added some shortcuts

0.3.1

  • Moved to Github
  • Removed Windows support (until it is finally on)

0.3

  • Refactor... > String grabs a text in your opened file and refactors it into res/values/strings.xml

0.2

  • Major menu restructuring.
  • Debug compiling is done on background when Andrew > Compile... > Compile on Save is on.
  • Added DDMS option, along with SDK Manager and Devices Manager.
  • Resources is populated after an On-save compile or when empty. Now it loads faster and works with the last resources.

0.1

  • First version

Requirements

In order to use Andrew, you need:

  • Android SDK, installed into your computer and with an Android Platform version installed. Any requirement related to this is also a requirement here.
  • For Linux users, set the permissions for your devices (See here how to do so).
  • ant (you need this for compiling Android applications).

First steps

Before you start coding, you should set your environment.

  1. Go to the Andrew > Preferences > Locate SDK command and choose whether you prefer to write it down manually or search it automatically.
  2. Go to the Andrew > Preferences > Workspace path command and select where you want to create projects by default. More or less like the Eclipse workspace.
  3. Check everything worked by clicking Andrew > Android managers > Android SDK Manager. If everything worked you should see the Android SDK Manager window. Otherwise, check the console in order to see any error.
  4. Start coding:
    1. Create a project using Android > New Android Project and follow the steps, or
    2. Use your already created project by opening the project's root folder.
      1. If you do so, you'll have to run <Android-SDK-Path>/tools/android update project --path /path/to/project to generate a build.xml file.

Coding Helps

Layout Snippets

Use snippets for any layout item. This eases the development of layouts, letting you move across the typical parameters by using Tab

Resources

Tired of writing R.id. widgetid all the time? Hit Ctrl+Shift+Alt+R (or Super+Shift+Alt+R on Mac OS X) and decide what to put using a menu.

Compile and send to Device

There's the option to compile as debug or release (and if you have a keystore, you can directly sign any release .apk), but you can also compile as debug and send it to the first device connected to the computer, automatically opening it when installed. Just the way you used to do in Eclipse, but with Sublime Text 2.

At the moment

Andrew is at its earliest version, due to the time I can spend with it. That's why I encourage everybody who wants to improve this plugin to fork and create new features or get the existing ones better.

Actually, it only works at this moment for Unix based platforms (Linux/Mac OS X).

Early future

The first thing to change is compiling asynchronously after every save. Well, actually working more on background and less on foreground.

Contributors

Have you got a glorious feature you'd like to include? Have you found a bug and you fixed it? Are you giving Windows compatibility? Do you think you can improve this project (and, I tell you, you definitely can)? Fork the project and make a pull request. I'll check by myself and eventually merge with the project.

License

This is an open git project for Sublime Text 2. Anyone can contribute here, fork, use this project however you want. It is free of charge, and comes with no warranty. Always use this along with a versioning system to avoid any problem. Use at your own risk.