<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>AndroidBoss &#187; program-on-the</title>
	<atom:link href="http://androidboss.com/tag/program-on-the/feed/" rel="self" type="application/rss+xml" />
	<link>http://androidboss.com</link>
	<description>your unofficial guide to the google android</description>
	<lastBuildDate>Thu, 29 Jul 2010 10:58:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>My vim for android devlopement environment</title>
		<link>http://androidboss.com/my-vim-for-android-devlopement-environment/</link>
		<comments>http://androidboss.com/my-vim-for-android-devlopement-environment/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 23:52:01 +0000</pubDate>
		<dc:creator>shadow</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[debug-the-app]]></category>
		<category><![CDATA[description]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[figure-it-out]]></category>
		<category><![CDATA[key-combination]]></category>
		<category><![CDATA[look-at-android]]></category>
		<category><![CDATA[program]]></category>
		<category><![CDATA[program-on-the]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[the-android]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vjde]]></category>

		<guid isPermaLink="false">http://androidboss.com/my-vim-for-android-devlopement-environment/</guid>
		<description><![CDATA[ I haven't blogged for a long time, and I would have liked to be able to blog about my Gnome soc project , but unfortunately, I have other priorities. As part of my studies, I had to do some development for the android platform, and since the last summer, I can't use other development environment than Vim, I decided to find a way of using it for my android project. So here is the description of my Vim environment for android applications development]]></description>
			<content:encoded><![CDATA[<p>
<p>I haven&#8217;t blogged for a long time, and I would have liked to be able to blog about <a href="http://thiblahute.blogspot.com/2009/08/gsoc-add-google-documents-support-to.html">my Gnome soc project</a>, but unfortunately, I have other priorities. As part of my studies, I had to do some development for the android platform, and since the last summer, I can&#8217;t use other development environment than Vim, I decided to find a way of using it for my android project.</p>
<p>So here is the description of my Vim environment for android applications development. I use vim 7.2, the version distributed with Ubuntu 9.10, the <a href="http://www.vim.org/scripts/script.php?script_id=1213">Vjde plugin</a>, <a href="https://launchpad.net/terminator">terminator</a> as a terminal (which by the way is a great terminal emulator!!) and then <a href="http://developer.android.com/sdk/index.html">last android JDK</a> in order to develop application for android2.0 (eclaire).</p>
<p> First I installed the SDK (there are a few bugs on the emulator installation due to <a href="https://bugzilla.gnome.org/show_bug.cgi?id=598734">this bug</a> and an <a href="http://groups.google.com/group/android-developers/browse_thread/thread/814e3c898d7b24fc?hl=en">this ssl problem.</a> I fallowed <a href="http://developer.android.com/sdk/index.html">this guide</a> to set the sdk. Then, I installed the Vjde plug-in which is a Vim plug-in to get a Java development environment in Vi, this plugin permit to add intelligent completion for methods calls as well as for imports (You only need to unzip <a href="http://www.vim.org/scripts/download_script.php?src_id=10992">this</a> in you ~/.vim directory). Afterward, you create your your android project (<a href="http://developer.android.com/guide/developing/other-ide.html">this</a> page explains well how to do it). And then you need to create an vjde project, in vim:<br /><code><br />  :Vjdeas filename.prj<br /></code><br />This is actually a text file which permit to save variables to you project. Then I set it Vjde to look at android class, methods and package, in vim:<br /><code><br />  :let g:vjde_lib_path='/path/to/android/sdk/platforms/android-2.0/android.jar:build.classes'<br /></code><br />And save it<br /><code><br />  :Vjdesave<br /></code><br />Thanks to it, I can have functions/imports completion available with the CTRL-X+CTRL-U key combination (I need to load the project(<span>:Vjdeload filename.prj)</span> every time I want to work on it, I think there must be a way of doing it automatically but didn&#8217;t figure it out yet). It would also be possible to get the documentation integration thanks to the Vjde plugin, but I am used to have it in another window.</p>
<p>Then to try the program on the android emulator, I lunch the emulator, and in a terminal:<br /><code><br />  ant debug &#038;&#038; adb install -r bin/yourAppName-debug.apk<br /></code><br />You can then launch it in the android emulator menu (I looked for a way of lunching the program directly from the command line, but didn&#8217;t find <img src='http://androidboss.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  ). To debug the app, you can launch the <a href="http://developer.android.com/guide/developing/tools/ddms.html">ddms</a> tool which is part of the android sdk.</p>
<p>I hope this could be useful for some people who want to develop for the android platform and don&#8217;t want to use eclipse or netbeans IDE.</p>
<div></div></p>
]]></content:encoded>
			<wfw:commentRss>http://androidboss.com/my-vim-for-android-devlopement-environment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
