<?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>DEV &#187; Google Android</title>
	<atom:link href="http://thegothicparty.com/dev/category/android/feed/" rel="self" type="application/rss+xml" />
	<link>http://thegothicparty.com/dev</link>
	<description>Developement notes</description>
	<lastBuildDate>Fri, 25 Jun 2010 21:17:48 +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>AndroidTether</title>
		<link>http://thegothicparty.com/dev/android/androidtether/</link>
		<comments>http://thegothicparty.com/dev/android/androidtether/#comments</comments>
		<pubDate>Mon, 26 Jan 2009 02:56:52 +0000</pubDate>
		<dc:creator>dev</dc:creator>
				<category><![CDATA[Google Android]]></category>

		<guid isPermaLink="false">http://thegothicparty.com/dev/?p=48</guid>
		<description><![CDATA[AndroidTether is a software that brings the Internet connection of an Android device to a Mac OS X computer.
An Android (such as the Google G1 phone) can be tethered to a computer running Mac OS X, allowing the computer to browse the web. The device is connected to the computer using a USB cable. The [...]]]></description>
			<content:encoded><![CDATA[<h3><em>AndroidTether is a software that brings the Internet connection of an Android device to a Mac OS X computer.</em></h3>
<p><img class="alignnone size-full wp-image-166" title="AndroidTether icon" src="http://thegothicparty.com/dev/wp-content/uploads/2009/01/at_icon128.png" alt="at_icon128" width="128" height="128" />An Android (such as the Google G1 phone) can be tethered to a computer running Mac OS X, allowing the computer to browse the web. The device is connected to the computer using a USB cable. The web is browsed with Firefox. The detailed communication procedure is documented <a title="Dev Android Proxy article" href="http://thegothicparty.com/dev/android/androidproxy/">here</a>.</p>
<p>This article is only intended to give a brief overview of AndroidTether and provide a link to the download page.</p>
<ol>
<li>overview</li>
<li>copyright and guaranties</li>
<li>download AndroidTether</li>
<li>launch AndroidTether</li>
<li>advanced preferences</li>
</ol>
<p><em><img class="size-full wp-image-335 alignleft" style="border: 0pt none;" title="orangewhite" src="http://thegothicparty.com/dev/wp-content/uploads/2010/03/orangewhite.png" alt="" width="500" height="1" />
<div style="clear: both;"><!-- reset --></div>
<p></em><br />
<h2>1. Overview</h2>
<h3>1.1 What is Tetherbot?</h3>
<p>Tetherbot enables an Android device (such a Google G1 cellular phone) to be used as a network interface to provide a MacIntosh OS X laptop with an Internet data connection. It provides mobile, wide-area Internet access for the computer via the cellular-phone network &#8212; for instance where unrestricted WiFi is not available. This process is generally referred to as &#8220;tethering.&#8221;  In addition to expanding the range of Internet access for the OS X computer, Tetherbot enables the features of the OS X device to overcome the limitations of the Android device, so that one can use a more fully featured keyboard and Flash-enabled web browser (Firefox), to access webbase e-mail and browse the web efficiently. Tetherbot runs on the Android device, and requires a mirror application to run on the computer.</p>
<h3>1.2 What is AndroidTether?</h3>
<p>AndroidTether is designed to automate the process of tethering and eliminate the need to reconfigure your computer system every time you wish to tether. You should refer to the terms of service of your cellular service provider before tethering. AndroidTether runs on the computer, and connects to Tetherbot.<br />
<em><img class="size-full wp-image-335 alignleft" style="border: 0pt none;" title="orangewhite" src="http://thegothicparty.com/dev/wp-content/uploads/2010/03/orangewhite.png" alt="" width="500" height="1" />
<div style="clear: both;"><!-- reset --></div>
<p></em></p>
<h2>2. Copyright, guaranties, cost.</h2>
<h3>Copyright</h3>
<p style="padding-left: 30px;">Written by (c) Xavier Schott 2009.</p>
<h3>Guaranties</h3>
<p style="padding-left: 30px;">none.<br />
<span style="color: #888888;">The software is provided  &#8220;AS IS&#8221;; &#8220;thegothicparty.com/dev&#8221; and &#8220;the author&#8221; make NO GUARANTIES and NO WARRANTIES OF ANY TYPE, expressed or implied, including NO WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.</span><br />
Again, none.</p>
<h3>Cost</h3>
<p style="padding-left: 30px;">free</p>
<p><em><img class="size-full wp-image-335 alignleft" style="border: 0pt none;" title="orangewhite" src="http://thegothicparty.com/dev/wp-content/uploads/2010/03/orangewhite.png" alt="" width="500" height="1" />
<div style="clear: both;"><!-- reset --></div>
<p></em></p>
<h2>3. Download AndroidTether</h2>
<p><a href="http://thegothicparty.com/download/androidtether/bin/AndroidTether.dmg" class="broken_link"><img class="alignnone size-full wp-image-163" style="border: 0pt none;" title="download AndroidTether" src="http://thegothicparty.com/dev/wp-content/uploads/2009/01/at_icon64.png" alt="at_icon64" width="64" height="64" /><br />
</a></p>
<p>Start here:</p>
<p><a title="download AndroidTether" href="http://thegothicparty.com/download/androidtether/bin/AndroidTether.dmg" class="broken_link">Download AndroidTether 0.91</a> for Mac OS X.<br />
<em><img class="size-full wp-image-335 alignleft" style="border: 0pt none;" title="orangewhite" src="http://thegothicparty.com/dev/wp-content/uploads/2010/03/orangewhite.png" alt="" width="500" height="1" />
<div style="clear: both;"><!-- reset --></div>
<p></em></p>
<h2>4. Launch AndroidTether <span style="text-decoration: underline;">and</span> Tetherbot</h2>
<p>Tethering is automatically started upon launch, and stopped when quit.<br />
You can also stop and restart the connection using the Stop/Start button.<br />
Thus, when you are done, simply quit AndroidTether. Refer to the complete procedure, device installation requirements, and how to use Tetherbot  <a title="Dev Android Proxy article" href="http://thegothicparty.com/dev/android/androidproxy/">here</a>.</p>
<p style="padding-left: 150px;"><img class="alignnone size-full wp-image-127" style="border: 0pt none;" title="AndroidTether running" src="http://thegothicparty.com/dev/wp-content/uploads/2009/01/at_tethered1080_413x133.png" alt="at_tethered1080_413x133" width="413" height="133" /></p>
<p><em><img class="size-full wp-image-335 alignleft" style="border: 0pt none;" title="orangewhite" src="http://thegothicparty.com/dev/wp-content/uploads/2010/03/orangewhite.png" alt="" width="500" height="1" />
<div style="clear: both;"><!-- reset --></div>
<p></em><br />
<h2>5. Advanced Preferences</h2>
<p>It is possible to change AndroidTether ports to accommodate to changes in Firefox or Tetherbot.<br />
The local port (left number) refers to the SOCKS Host: localhost Port: 1080 setup in Firefox</p>
<p style="padding-left: 30px;"><img class="alignnone size-full wp-image-135" title="Firefox Proxy Advanced Preferences local port" src="http://thegothicparty.com/dev/wp-content/uploads/2009/01/at_localport508x114.png" alt="at_localport508x114" width="508" height="114" /></p>
<p>The remote port (right number) refers to Socks Proxy Server on: 1080 setup in Tetherbot</p>
<p style="padding-left: 210px;"><img class="alignnone size-full wp-image-136" title="Tetherbot remote port" src="http://thegothicparty.com/dev/wp-content/uploads/2009/01/at_remoteport320x138.png" alt="at_remoteport320x138" width="320" height="138" /></p>
<p>Note:<br />
<em>AndroidTether will conflict with adb. You cannot use adb and AndroidTether simultaneously.</em><br />
<em><img class="size-full wp-image-335 alignleft" style="border: 0pt none;" title="orangewhite" src="http://thegothicparty.com/dev/wp-content/uploads/2010/03/orangewhite.png" alt="" width="500" height="1" />
<div style="clear: both;"><!-- reset --></div>
<p></em><br />
<h2>6. External links</h2>
<ul>
<li><a href="http://thegothicparty.com/dev/android/androidproxy/">Android proxy</a></li>
</ul>
<p><em><img class="size-full wp-image-335 alignleft" style="border: 0pt none;" title="orangewhite" src="http://thegothicparty.com/dev/wp-content/uploads/2010/03/orangewhite.png" alt="" width="500" height="3" />
<div style="clear: both;"><!-- reset --></div>
<p></em><br />
<script src="http://widgets.digg.com/buttons.js" type="text/javascript"></script></p>
<p><a onclick="window.open('http://delicious.com/save?v=5&amp;noui&amp;jump=close&amp;url=thegothicparty.com%2Fdev%2Fandroid%2Fandroidtether&amp;title=AndroidTether', 'delicious', 'toolbar=no,width=550,height=550'); return false;" href="http://delicious.com/save"><img style="border: 0pt none;" src="http://static.delicious.com/img/delicious.small.gif" alt="Delicious" width="16" height="16" />Bookmark this on Delicious</a></p>
<p><a class="DiggThisButton DiggCompact" rev="news, programming" href="http://digg.com/submit?url=http%3A%2F%2Fthegothicparty.com%2Fdev%2Fandroid%2Fandroidtether&amp;title=AndroidTether"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://thegothicparty.com/dev/android/androidtether/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Android Proxy (Tethering Android on Mac OS X)</title>
		<link>http://thegothicparty.com/dev/android/androidproxy/</link>
		<comments>http://thegothicparty.com/dev/android/androidproxy/#comments</comments>
		<pubDate>Mon, 26 Jan 2009 02:55:18 +0000</pubDate>
		<dc:creator>dev</dc:creator>
				<category><![CDATA[Google Android]]></category>

		<guid isPermaLink="false">http://thegothicparty.com/dev/?p=51</guid>
		<description><![CDATA[Notes on connecting an Android (such as Google G1 phone) via a USB cable to a computer running Mac OS X, in order to browse the web.
This mechanism requires two independent pieces of software, namely Tetherbot on the Android device, and AndroidTether (or alternatively Terminal and the Android SDK) on the Macintosh.
The objective of this article is [...]]]></description>
			<content:encoded><![CDATA[<h3><em>Notes on connecting an Android (such as Google G1 phone) via a USB cable to a computer running Mac OS X, in order to browse the web.</em></h3>
<p>This mechanism requires two independent pieces of software, namely <a title="Tetherbot Android Proxy" href="http://graha.ms/androidproxy">Tetherbot</a> on the Android device, and <a title="AndroidTether for MacOS X" href="http://thegothicparty.com/dev/android/androidtether/">AndroidTether</a> (or alternatively Terminal and the Android SDK) on the Macintosh.</p>
<p><img class="alignleft size-full wp-image-36" title="tetherbot_icon1" src="http://thegothicparty.com/dev/wp-content/uploads/2009/01/tetherbot_icon1.png" alt="tetherbot_icon1" width="59" height="61" />The objective of this article is to clarify the installation and setup process for Mac OS X. It does not apply to other operating systems.<br />
A general understanding the <a title="Tetherbot Android Proxy" href="http://graha.ms/androidproxy/">Tetherbot documentation</a> may be helpful.<br />
The screen shots relate to <em>Tetherbot.apk 39.57KB&#8221;</em> (in lieu of a better version) and <em>Firefox 2.0.0.16</em> on Mac OS X 10.5.5.</p>
<p>This article is divided in 2 sections:</p>
<ol>
<li><strong>Things to do every time</strong>
<ul>
<li>Launch Tetherbot on the device</li>
<li>Launch AndroidTether on the computer<br />
(alternatively, launch Terminal on the computer)</li>
<li>Change some Firefox preferences</li>
</ul>
</li>
<li><strong>Installation to be done just once </strong>
<ul>
<li>Installation of Tetherbot on the device</li>
<li>Installation of AndroidTether on the computer<br />
(alternatively, install the Android SDK)</li>
<li>One-time Setup of the device</li>
<li>One-time Firefox setup</li>
</ul>
</li>
</ol>
<p><em><img class="size-full wp-image-335 alignleft" style="border: 0pt none;" title="orangewhite" src="http://thegothicparty.com/dev/wp-content/uploads/2010/03/orangewhite.png" alt="" width="500" height="1" />
<div style="clear: both;"><!-- reset --></div>
<p></em></p>
<h2>1. Things to do every time</h2>
<h3>1.1. Launch Tetherbot on the device</h3>
<p>Connect the computer to the device using a USB cable.<br />
Launch Tetherbot and tap “Start Socks”.<br />
If everything goes well, the proxy server will start on port 1080.</p>
<p style="padding-left: 360px;"><a href="http://thegothicparty.com/dev/wp-content/uploads/2009/01/ap_start_socks320x480.png"><span style="text-decoration: underline;"><img class="size-full wp-image-79 alignnone" style="border: 0pt none;" title="Start Socks" src="http://thegothicparty.com/dev/wp-content/uploads/2009/01/ap_start_socks192x288.png" alt="ap_start_socks192x288" width="192" height="288" /></span></a></p>
<h3>1.2. Launch AndroidTether on the computer</h3>
<p>Starting AndroidTether will automatically setup the connection.</p>
<p style="padding-left: 120px;"><img class="alignnone size-full wp-image-127" title="AndroidTether" src="http://thegothicparty.com/dev/wp-content/uploads/2009/01/at_tethered1080_413x133.png" alt="at_tethered1080_413x133" width="413" height="133" /></p>
<h3>1.3. (alternatively, launch Terminal on the computer)</h3>
<p>On the Macintosh, launch a Terminal window. Assuming here that you have installed the <a title="public link to the Android SDK" href="http://code.google.com/android/intro/tools.html">Android Software Development Kit</a>. See step 2.3 for details.<br />
In Terminal, type exactly &#8220;<code>adb forward tcp:1080 tcp:1080</code>&#8220;.<br />
Note that the syntax is &#8220;<code>adb forward tcp:{local port} tcp:{remote port}</code>&#8220;.<br />
The <code>{local port}</code> is the SOCKS host mentioned in section 1.4<br />
The <code>{remote port}</code> must match <em>Socks Proxy Server on: 1080</em> mentioned in section 1.1</p>
<p><em><img class="alignnone size-full wp-image-18" title="adb" src="http://thegothicparty.com/dev/wp-content/uploads/2009/01/adb_forward.png" alt="adb" width="589" height="173" /><br />
</em></p>
<h3>1.4. Change some Firefox* preferences</h3>
<p>On the computer, launch Firefox.<br />
Go to “Firefox&gt;Preferences…&gt;Advanced&gt;Network&gt;Settings…”.</p>
<ul>
<li>“Manual proxy configuration:”</li>
<li>“SOCKS Host:” to <em>“localhost”</em>, “Port:” 1080</li>
<li>“SOCKS v5″</li>
</ul>
<p>Note that “Port: 1080″ represents this time the <code>{local port}</code> parameter in “<code>adb forward tcp:{local port} tcp:{remote port}</code>”.</p>
<p style="padding-left: 90px;"><a href="http://thegothicparty.com/dev/wp-content/uploads/2009/01/ap_ff_adv_ntwrk_set681x551.png"><img class="alignnone size-full wp-image-104" style="border: 0pt none;" title="Firefox Proxy" src="http://thegothicparty.com/dev/wp-content/uploads/2009/01/ap_ff_adv_ntwrk_set409x331.png" alt="ap_ff_adv_ntwrk_set409x331" width="409" height="331" /></a></p>
<p>Firefox is now ready to browse the Internet.<br />
Restore the original setting after you are done tethering the device or you won&#8217;t be able to browse the web with Firefox. For added security, restore item 2.5 as well.</p>
<p>(*) Safari does not provide preferences to manually change the proxy, which is a <em>sine qua non</em> condition for the entire mechanism to function. System Preferences must be changed instead, with various levels of success.<br />
<em><img class="size-full wp-image-335 alignleft" style="border: 0pt none;" title="orangewhite" src="http://thegothicparty.com/dev/wp-content/uploads/2010/03/orangewhite.png" alt="" width="500" height="1" />
<div style="clear: both;"><!-- reset --></div>
<p></em></p>
<h2>2. Installation to be done just once</h2>
<h3>2.1. Installation of Tetherbot on the device</h3>
<p>2.1.1. Prior downloading Tetherbot on the G1, you must change the “Home&gt;MENU&gt;Applications&gt;Unknown sources” setting and “Allow install of non-Market application”.<br />
Warning, this is a dangerous and potentially unsafe action. Review the warning carefully.</p>
<p style="padding-left: 360px;"><a href="http://thegothicparty.com/dev/wp-content/uploads/2009/01/ap_app_settings320x480.png"><img class="alignnone size-full wp-image-110" style="border: 0pt none;" title="Application settings" src="http://thegothicparty.com/dev/wp-content/uploads/2009/01/ap_app_settings192x288.png" alt="Application Settings" width="192" height="288" /></a></p>
<p>2.1.2 Using the G1 Brower, go to <a href="http://graha.ms/androidproxy/Tetherbot.apk">http://graha.ms/androidproxy/Tetherbot.apk</a> to download Tetherbot.</p>
<p style="padding-left: 270px;"><a href="http://thegothicparty.com/dev/wp-content/uploads/2009/01/ap_url480x320.png"><img class="alignnone size-full wp-image-116" style="border: 0pt none;" title="Navigate to URL and click 'here'" src="http://thegothicparty.com/dev/wp-content/uploads/2009/01/ap_url288x192.png" alt="ap_url288x192" width="288" height="192" /></a></p>
<p>2.1.3. After download completes on the device, simply select the “.apk” Android Package to install.</p>
<p style="padding-left: 360px;"><a href="http://thegothicparty.com/dev/wp-content/uploads/2009/01/ap_tetherbot_apk320x480.png"><img class="alignnone size-full wp-image-119" style="border: 0pt none;" title="Tetherbot.apk" src="http://thegothicparty.com/dev/wp-content/uploads/2009/01/ap_tetherbot_apk192x68.png" alt="ap_tetherbot_apk192x68" width="192" height="68" /></a></p>
<h3>2.2. Installation of AndroidTether on the computer</h3>
<p><a href="http://thegothicparty.com/dev/android/androidtether/"><img class="alignnone size-full wp-image-163" style="border: 0pt none;" title="Go to AndroidTether home page" src="http://thegothicparty.com/dev/wp-content/uploads/2009/01/at_icon64.png" alt="at_icon64" width="64" height="64" /></a>AndroidTether is a Macintosh OS X application that will setup the computer side of the communication automatically.<br />
It runs in just one click, and does not require the download of the entire Android SDK.<br />
AndroidTether is lightweight, flexible, free, and can be downloaded <a title="AndroidTether for MacOS X" href="http://thegothicparty.com/dev/android/androidtether/">here</a>.</p>
<h3>2.3. (alternatively, install the Android SDK)</h3>
<p>Install the <a title="public link to the Android SDK" href="http://code.google.com/android/intro/tools.html">Android Software Development Kit</a>.<br />
Once installed, follow the instructions on adding <code>android-sdk-mac_.../tools</code> to your <code>PATH</code>.<br />
The alternative is to execute <code>adb</code> from the <code>tools</code> directory:<br />
( <code>cd .../android-sdk-mac_.../tools ; ./adb forward ...</code>)</p>
<h3>2.4. One-time setup of the device</h3>
<p>To use Tetherbot, you will need to perform these operations:</p>
<p>On the device, turn on “USB debugging”<br />
“Home&gt;MENU&gt;Settings&gt;Applications&gt;Development&gt;USB debugging”<br />
Additionally, you may want to turn on “Stay awake” as well.</p>
<p style="padding-left: 360px;"><a href="http://thegothicparty.com/dev/wp-content/uploads/2009/01/ap_usb_debug320x480.png"><img class="alignnone size-full wp-image-121" style="border: 0pt none;" title="USB debugging" src="http://thegothicparty.com/dev/wp-content/uploads/2009/01/ap_usb_debug192x112.png" alt="ap_usb_debug192x112" width="192" height="112" /></a></p>
<h3>2.5. One-time Firefox setup</h3>
<p>This change allows Firefox to fetch DNS information from the proxy. You must allow it to tether the device.<br />
For <span style="text-decoration: underline;">maximum security</span>, restore it to <code>false</code> after each use.</p>
<ol>
<li>In Firefox, File&gt;Open Location&#8230; <a title="modify Firefox configuration " href="about:config">about:config</a>.</li>
<li>Add the <em>Filter:</em> “dns” for clarity</li>
<li>select the Preference <em>network.proxy.socks_remote_dns</em> and set it to <code>true<br />
</code>(hit &lt;enter&gt; or right-click).</li>
</ol>
<p style="padding-left: 30px;"><a href="http://thegothicparty.com/dev/wp-content/uploads/2009/01/ap_ff_about_config871x467.png"><img class="alignnone size-full wp-image-123" style="border: 0pt none;" title="about:config" src="http://thegothicparty.com/dev/wp-content/uploads/2009/01/ap_ff_about_config523x280.png" alt="ap_ff_about_config523x280" width="523" height="280" /></a></p>
<p>These changes have been tested on <em>Firefox 2.0.0.16</em> and <em>Firefox 3.0.5</em>.<br />
<em><img class="size-full wp-image-335 alignleft" style="border: 0pt none;" title="orangewhite" src="http://thegothicparty.com/dev/wp-content/uploads/2010/03/orangewhite.png" alt="" width="500" height="1" />
<div style="clear: both;"><!-- reset --></div>
<p></em></p>
<h2>3. External links</h2>
<ul>
<li><a title="Tetherbot Android Proxy" href="http://graha.ms/androidproxy">Tetherbot</a></li>
<li><a title="AndroidTether for MacOS X" href="http://thegothicparty.com/dev/android/androidtether/">AndroidTether</a></li>
<li><a title="public link to the Android SDK" href="http://code.google.com/android/intro/tools.html">Android Software Development Kit</a></li>
<li><a href="http://graha.ms/androidproxy/Tetherbot.apk">Tetherbot.apk</a></li>
</ul>
<p><em><img class="size-full wp-image-335 alignleft" style="border: 0pt none;" title="orangewhite" src="http://thegothicparty.com/dev/wp-content/uploads/2010/03/orangewhite.png" alt="" width="500" height="3" />
<div style="clear: both;"><!-- reset --></div>
<p></em><br />
<script src="http://widgets.digg.com/buttons.js" type="text/javascript"></script></p>
<p><a onclick="window.open('http://delicious.com/save?v=5&amp;noui&amp;jump=close&amp;url=thegothicparty.com%2Fdev%2Fandroid%2Fandroidproxy&amp;title=Android+Proxy+(Tethering+Android+on+Mac+OS+X)', 'delicious', 'toolbar=no,width=550,height=550'); return false;" href="http://delicious.com/save"><img style="border: 0pt none;" src="http://static.delicious.com/img/delicious.small.gif" alt="Delicious" width="16" height="16" />Bookmark this on Delicious</a></p>
<p><a class="DiggThisButton DiggCompact" rev="news, programming" href="http://digg.com/submit?url=http%3A%2F%2Fthegothicparty.com%2Fdev%2Fandroid%2Fandroidproxy&amp;title=Android+Proxy+(Tethering+Android+on+Mac+OS+X)"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://thegothicparty.com/dev/android/androidproxy/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
