Technology

Programming Android Apps in Emacs


Hell yeah it’s possible.

With yasnippets you can add blocks of code (menus, button clicks, etc). You have to write the macros yourself, of course. But it’s completely possible.

There’s also an android mode to help compile and debug apps.

The only catch is that sometimes the app seems to go “out of sync” with the source. Occasionally, I get wierd errors where there is supposed to be no error—like a findViewById exception on perfectly-formed XML. But the solution is simple:


cd bin
rm -rf *

In other words, delete everything in the bin directory and recompile.

The problem is not emacs, of course. It probably has to do with not using the default development environment—Eclipse.

I’m using Android SDK, revision 8 (for Linux) and compiling for Android 2.1.

Advertisements

One thought on “Programming Android Apps in Emacs

  1. Hello there! This is my first comment here so I just wanted to give a quick shout out and say I truly enjoy reading your posts. Can you recommend any other blogs/websites/forums that go over the same topics? Thanks a ton!Sugarland Roofing Contractor, 517 W. Hilary Circle, Sugar Land, TX 77498 – (281) 724-3750

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s