<?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>FalconIA&#039;s BLOG &#187; android</title>
	<atom:link href="https://falconia.org/blog/archives/tag/android/feed" rel="self" type="application/rss+xml" />
	<link>https://falconia.org/blog</link>
	<description>FalconIA&#039;s Lazy Blog</description>
	<lastBuildDate>Tue, 02 Dec 2014 01:45:41 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.38</generator>
	<item>
		<title>Turn airplane mode on/off via ADB</title>
		<link>https://falconia.org/blog/archives/468</link>
		<comments>https://falconia.org/blog/archives/468#comments</comments>
		<pubDate>Tue, 02 Dec 2014 01:03:21 +0000</pubDate>
		<dc:creator><![CDATA[FalconIA]]></dc:creator>
				<category><![CDATA[技术杂烩]]></category>
		<category><![CDATA[adb]]></category>
		<category><![CDATA[android]]></category>

		<guid isPermaLink="false">http://falconia.org/blog/?p=468</guid>
		<description><![CDATA[Method 1 (4.2 or higher): settings put global airplane_mode_on 1 am broadcast -a android.intent.action.AIRPLANE_MODE --ez state true settings put global airplane_mode_on 0 am broadcast -a android.intent.action.AIRPLANE_MODE --ez state true Method 2: adb shell am start -a android.settings.AIRPLANE_MODE_SETTINGS adb shell input keyevent 19 adb shell input keyevent 23 adb shell input keyevent 4 Method 3: sqlite3 [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Method 1 (4.2 or higher):<br />
<code>settings put global airplane_mode_on 1<br />
am broadcast -a android.intent.action.AIRPLANE_MODE --ez state true</code><br />
<code>settings put global airplane_mode_on 0<br />
am broadcast -a android.intent.action.AIRPLANE_MODE --ez state true</code></p>
<p>Method 2:<br />
<code>adb shell am start -a android.settings.AIRPLANE_MODE_SETTINGS<br />
adb shell input keyevent 19<br />
adb shell input keyevent 23<br />
adb shell input keyevent 4</code></p>
<p>Method 3:<br />
<code>sqlite3 /data/data/com.android.providers.settings/databases/settings.db "update system set value='1' where name='airplane_mode_on';"</code></p>
]]></content:encoded>
			<wfw:commentRss>https://falconia.org/blog/archives/468/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to modify SystemUI.apk to remove volume soft keys in system bar</title>
		<link>https://falconia.org/blog/archives/449</link>
		<comments>https://falconia.org/blog/archives/449#comments</comments>
		<pubDate>Tue, 28 Jan 2014 02:58:29 +0000</pubDate>
		<dc:creator><![CDATA[FalconIA]]></dc:creator>
				<category><![CDATA[程序相关]]></category>
		<category><![CDATA[android]]></category>

		<guid isPermaLink="false">http://falconia.org/blog/?p=449</guid>
		<description><![CDATA[Environment: Android with root access. Windows with drivers for Android device. Java(JRE) installed. Prepare: apktool.jar (http://code.google.com/p/android-apktool/downloads/list) adb.exe (android-sdk\platform-tools) notepad++ or similar text editor which supported UTF-8 without BOM, not notepad or wordpad. Steps: 1. Pull SystemUI.apk from your device. CMD&#62;adb pull /system/app/SystemUI.apk . 2. Extract res in apk. CMD&#62;apktool d -b -s SystemUI.apk 3. Edit [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><strong>Environment:</strong><br />
Android with root access.<br />
Windows with drivers for Android device.<br />
Java(JRE) installed.</p>
<p><strong>Prepare:</strong><br />
apktool.jar (<a href="http://code.google.com/p/android-apktool/downloads/list">http://code.google.com/p/android-apktool/downloads/list</a>)<br />
adb.exe (android-sdk\platform-tools)<br />
notepad++ or similar text editor which supported UTF-8 without BOM, not notepad or wordpad.</p>
<p><span id="more-449"></span><br />
<strong>Steps:</strong><br />
1. Pull SystemUI.apk from your device.<br />
<code>CMD&gt;adb pull /system/app/SystemUI.apk .</code></p>
<p>2. Extract res in apk.<br />
<code>CMD&gt;apktool d -b -s SystemUI.apk</code></p>
<p>3. Edit the XML file in 'SystemUI/res/layout/system_bar.xml'.<br />
You can find several KeyButtonView like:<br />
<code>&lt;com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/volume_down" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_volume_down" systemui:keyCode="25" systemui:glowBackground="@drawable/ic_sysbar_highlight" /&gt;</code><br />
Change 'android:layout_width="@dimen/navigation_key_width"' to 'android:layout_width="0.0dp"' in the KeyButtonView which you want to hide.</p>
<p>4. Combine edited apk.<br />
<code>CMD&gt;apktool b SystemUI</code><br />
Now get new dictionary 'build' under SystemUI.</p>
<p>5. Open SystemUI.apk using 7-Zip/WinRar/WinZip.<br />
Extract 'META-INF' and 'AndroidManifest.xml' in apk to path 'SystemUI/build/apk'</p>
<p>4. Recombine apk as step 4.<br />
<code>CMD&gt;apktool b SystemUI</code><br />
Now you can get a new apk under 'SystemUI\dist'.</p>
<p>5. Make '/system' writable in your device.<br />
<code>CMD&gt;adb shell</code><br />
<code>root@android:/ # busybox mount -o remount,rw /system<br />
root@android:/ # exit</code></p>
<p>6. Push new apk to your device.<br />
<code>CMD&gt;adb push SystemUI\dist\SystemUI.apk /system/app/SystemUI.apk</code></p>
<p>7. Reboot you Android device by hand,<br />
or use command.<br />
<code>CMD&gt;adb reboot</code></p>
<p>8. Congratulation!</p>
]]></content:encoded>
			<wfw:commentRss>https://falconia.org/blog/archives/449/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to fix android exception of Sherlock: unable to pause activity</title>
		<link>https://falconia.org/blog/archives/429</link>
		<comments>https://falconia.org/blog/archives/429#comments</comments>
		<pubDate>Sun, 25 Nov 2012 17:08:55 +0000</pubDate>
		<dc:creator><![CDATA[FalconIA]]></dc:creator>
				<category><![CDATA[程序相关]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[sherlock]]></category>

		<guid isPermaLink="false">http://falconia.org/blog/?p=429</guid>
		<description><![CDATA[How to fix android exception of Sherlock: unable to pause activity Replace the android-support-v4.jar in the libs folder with the latest one from the SDK Manager.]]></description>
				<content:encoded><![CDATA[<p>How to fix android exception of Sherlock: unable to pause activity</p>
<p>Replace the android-support-v4.jar in the libs folder with the latest one from the SDK Manager.</p>
]]></content:encoded>
			<wfw:commentRss>https://falconia.org/blog/archives/429/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
