<?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>ostebaronen.dk &#187; adb</title>
	<atom:link href="http://ostebaronen.dk/tag/adb/feed/" rel="self" type="application/rss+xml" />
	<link>http://ostebaronen.dk</link>
	<description>write letters and shit, yo!</description>
	<lastBuildDate>Fri, 20 Aug 2010 09:35:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Install batches of apps through adb</title>
		<link>http://ostebaronen.dk/install-batches-of-apps-through-adb/</link>
		<comments>http://ostebaronen.dk/install-batches-of-apps-through-adb/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 13:19:39 +0000</pubDate>
		<dc:creator>ostebaronen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[adb]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Cellphone]]></category>
		<category><![CDATA[Language]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ostebaronen.dk/?p=291</guid>
		<description><![CDATA[I made a small script just to test the syntax highlighting plug-in I installed for WordPress. So here it goes: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 #!/bin/bash # Scipt that installs a batch of apk files on an Android device, # through the adb tool from Android [...]]]></description>
			<content:encoded><![CDATA[<p>I made a small script just to test the syntax highlighting plug-in I installed for WordPress. So here it goes:<br />
<span class="notranslate"></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #666666; font-style: italic;"># Scipt that installs a batch of apk files on an Android device,</span>
<span style="color: #666666; font-style: italic;"># through the adb tool from Android SDK.</span>
<span style="color: #007800;">adbPath</span>=<span style="color: #ff0000;">&quot;/home/tomasz/android/android-sdk/tools/adb&quot;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$#</span> <span style="color: #660033;">-ne</span> <span style="color: #000000;">1</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;usage: <span style="color: #780078;">`basename $0`</span> foldername&quot;</span>
        <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">for</span> f <span style="color: #000000; font-weight: bold;">in</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span> <span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #ff0000;">&quot;$1&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">do</span>
        <span style="color: #007800;">$adbPath</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$f</span>&quot;</span>
<span style="color: #000000; font-weight: bold;">done</span></pre></td></tr></table></div>

<p></span><br />
The script is very simple and installs apk files in a folder through adb (Android Debug Bridge). This of course requires the Android SDK and a some kind of a Linux distribution.</p>
]]></content:encoded>
			<wfw:commentRss>http://ostebaronen.dk/install-batches-of-apps-through-adb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
