<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.waze.com/wiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.waze.com/wiki/index.php?title=Building_waze_for_Android&amp;feed=atom&amp;action=history</id>
		<title>Building waze for Android - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.waze.com/wiki/index.php?title=Building_waze_for_Android&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://www.waze.com/wiki/index.php?title=Building_waze_for_Android&amp;action=history"/>
		<updated>2013-05-22T22:48:12Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.20.5</generator>

	<entry>
		<id>http://www.waze.com/wiki/index.php?title=Building_waze_for_Android&amp;diff=8738&amp;oldid=prev</id>
		<title>Krankyd at 16:52, 9 December 2010</title>
		<link rel="alternate" type="text/html" href="http://www.waze.com/wiki/index.php?title=Building_waze_for_Android&amp;diff=8738&amp;oldid=prev"/>
				<updated>2010-12-09T16:52:15Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 16:52, 9 December 2010&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Introduction notes==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Introduction notes==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;* The latest version of waze for Android source code can be found on the [[source code]] page&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Due to the historical reasons we are not using the Android NDK currently. These instructions will be changed in the near future as we are going to involve NDK environment in our system. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Due to the historical reasons we are not using the Android NDK currently. These instructions will be changed in the near future as we are going to involve NDK environment in our system. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* The steps description targets advanced users/programmers.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* The steps description targets advanced users/programmers.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Krankyd</name></author>	</entry>

	<entry>
		<id>http://www.waze.com/wiki/index.php?title=Building_waze_for_Android&amp;diff=8697&amp;oldid=prev</id>
		<title>Krankyd: /* Introduction notes */</title>
		<link rel="alternate" type="text/html" href="http://www.waze.com/wiki/index.php?title=Building_waze_for_Android&amp;diff=8697&amp;oldid=prev"/>
				<updated>2010-12-09T12:41:12Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Introduction notes&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 12:41, 9 December 2010&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Introduction notes==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Introduction notes==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;br/&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Due to the historical reasons we are not using the Android NDK currently. These instructions will be changed in the near future as we are going to involve NDK environment in our system. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Due to the historical reasons we are not using the Android NDK currently. These instructions will be changed in the near future as we are going to involve NDK environment in our system. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* The steps description targets advanced users/programmers.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* The steps description targets advanced users/programmers.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Krankyd</name></author>	</entry>

	<entry>
		<id>http://www.waze.com/wiki/index.php?title=Building_waze_for_Android&amp;diff=8696&amp;oldid=prev</id>
		<title>Krankyd: New page: ==Introduction notes== &lt;br/&gt; * Due to the historical reasons we are not using the Android NDK currently. These instructions will be changed in the near future as we are going to involve ND...</title>
		<link rel="alternate" type="text/html" href="http://www.waze.com/wiki/index.php?title=Building_waze_for_Android&amp;diff=8696&amp;oldid=prev"/>
				<updated>2010-12-09T12:40:37Z</updated>
		
		<summary type="html">&lt;p&gt;New page: ==Introduction notes== &amp;lt;br/&amp;gt; * Due to the historical reasons we are not using the Android NDK currently. These instructions will be changed in the near future as we are going to involve ND...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Introduction notes==&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
* Due to the historical reasons we are not using the Android NDK currently. These instructions will be changed in the near future as we are going to involve NDK environment in our system. &lt;br /&gt;
* The steps description targets advanced users/programmers.&lt;br /&gt;
&lt;br /&gt;
==Prerequisites:==&lt;br /&gt;
1. Linux machine &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
2. Basic understanding of compilation under Unix based systems and awareness of the Eclipse IDE &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
3. Android SDK installed on the system (refer to http://developer.android.com/intl/zh-CN/sdk/index.html) &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
4. Eclipse IDE &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
5. Android plugin (ADT plugin) for the Eclipse (http://developer.android.com/intl/zh-CN/sdk/eclipse-adt.html) &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
6. Android sources (refer to http://source.android.com/source/index.html. We are using android headers to  compile the application, it's clear that we don't need all the sources. However for the sake of simplicity we suggest downloading all the code) &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Steps:==&lt;br /&gt;
1. Install Eclipse and ADT plugin &amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt;&lt;br /&gt;
2. Set up the Android SDK in Eclipse: Window &amp;gt; Preferences &amp;gt; Android &amp;gt; SDK Location &amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt;&lt;br /&gt;
2. Unzip the code under BASE_SRC_DIR. You will have BASE_SRC_DIR/src as a result. &amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt;&lt;br /&gt;
3. In Eclipse go to the New Android Project. Choose &amp;quot;Create project from the existing workspace&amp;quot;. Press on Browse button and choose: &amp;lt;br/&amp;gt; &lt;br /&gt;
BASE_SRC_DIR/src/android/java directory &amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt;&lt;br /&gt;
4. Choose build target Android 2.2 (Api level 8) and press Ok.&amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt;&lt;br /&gt;
5. The new Android project &amp;quot;FreeMapAppActivity&amp;quot; will be created in the Eclipse workspace.&amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt;&lt;br /&gt;
6. Go to Project &amp;gt; Clean to clean and build automatically the project.&amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt;&lt;br /&gt;
7. Set up the environment variables as described in file: &amp;lt;br/&amp;gt;BASE_SRC_DIR/src/build_android.sh &amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt;&lt;br /&gt;
8. Open the terminal shell, go to BASE_SRC_DIR/src  and run ./build_android.sh. &amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt;&lt;br /&gt;
9. Go to BASE_SRC_DIR/src/android/  and run ./build_res.sh &amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt;&lt;br /&gt;
10. Open back the eclipse select the  &amp;quot;FreeMapAppActivity&amp;quot; project and press F5 for refresh. &amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt;&lt;br /&gt;
11. &amp;quot;Right click&amp;quot; on the  &amp;quot;FreeMapAppActivity&amp;quot; project &amp;gt; Android Tools &amp;gt; Export Unsigned Application Package and choose the location to write it &amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
That's all. You will have Waze Android package that can be installed on the device and executed. &lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
1. Pay attention that the signature will differ from the Market Waze application so you will be unable to install over the already installed Market version. (You need to remove it first)&lt;br /&gt;
2. Waze will be upgraded as a result of new installation if and only if the version number of the installed package is less than one of the new packages. (Refer to the AndroidManifest.xml for details)&lt;/div&gt;</summary>
		<author><name>Krankyd</name></author>	</entry>

	</feed>