<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://ess-wiki.advantech.com.tw/wiki/index.php?action=history&amp;feed=atom&amp;title=IoTGateway%2FBSP%2FAndroid%2FGettingstarted%2FAuto_install_APK</id>
		<title>IoTGateway/BSP/Android/Gettingstarted/Auto install APK - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://ess-wiki.advantech.com.tw/wiki/index.php?action=history&amp;feed=atom&amp;title=IoTGateway%2FBSP%2FAndroid%2FGettingstarted%2FAuto_install_APK"/>
		<link rel="alternate" type="text/html" href="https://ess-wiki.advantech.com.tw/wiki/index.php?title=IoTGateway/BSP/Android/Gettingstarted/Auto_install_APK&amp;action=history"/>
		<updated>2026-05-14T15:58:48Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.28.3</generator>

	<entry>
		<id>https://ess-wiki.advantech.com.tw/wiki/index.php?title=IoTGateway/BSP/Android/Gettingstarted/Auto_install_APK&amp;diff=5688&amp;oldid=prev</id>
		<title>Jerry.liao at 07:25, 6 February 2017</title>
		<link rel="alternate" type="text/html" href="https://ess-wiki.advantech.com.tw/wiki/index.php?title=IoTGateway/BSP/Android/Gettingstarted/Auto_install_APK&amp;diff=5688&amp;oldid=prev"/>
				<updated>2017-02-06T07:25:21Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&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;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 07:25, 6 February 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l18&quot; &gt;Line 18:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 18:&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-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;span style=&amp;quot;font-size:small;&amp;quot;&amp;gt;If the apk named stability_test.apk that put into the root directory of mass storage device wanted to be installed.&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;span style=&amp;quot;font-size:small;&amp;quot;&amp;gt;If the apk named stability_test.apk that put into the root directory of mass storage device wanted to be installed.&amp;lt;/span&amp;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-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;span style=&amp;quot;font-size:small;&amp;quot;&amp;gt;The content of the start_up.sh should be &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;edit &lt;/del&gt;as follow&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;span style=&amp;quot;font-size:small;&amp;quot;&amp;gt;The content of the start_up.sh should be &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;edited &lt;/ins&gt;as follow&amp;lt;/span&amp;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-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;#!/system/bin/sh&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;#!/system/bin/sh&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-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&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-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;UUID=`getprop sys.update.storage`&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;UUID=`getprop sys.update.storage`&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-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;pm install /mnt/media_rw/$UUID/stability_test.apk&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;pm install /mnt/media_rw/$UUID/stability_test.apk&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jerry.liao</name></author>	</entry>

	<entry>
		<id>https://ess-wiki.advantech.com.tw/wiki/index.php?title=IoTGateway/BSP/Android/Gettingstarted/Auto_install_APK&amp;diff=5656&amp;oldid=prev</id>
		<title>Jerry.liao: Created page with &quot;&lt;span style=&quot;font-size:small;&quot;&gt;The current platform can install Android application, apk file,&amp;nbsp;automatically through the mass storage device.&lt;/span&gt;  &lt;span style=&quot;font-si...&quot;</title>
		<link rel="alternate" type="text/html" href="https://ess-wiki.advantech.com.tw/wiki/index.php?title=IoTGateway/BSP/Android/Gettingstarted/Auto_install_APK&amp;diff=5656&amp;oldid=prev"/>
				<updated>2017-02-06T06:46:31Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;span style=&amp;quot;font-size:small;&amp;quot;&amp;gt;The current platform can install Android application, apk file, automatically through the mass storage device.&amp;lt;/span&amp;gt;  &amp;lt;span style=&amp;quot;font-si...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;span style=&amp;quot;font-size:small;&amp;quot;&amp;gt;The current platform can install Android application, apk file,&amp;amp;nbsp;automatically through the mass storage device.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size:large;&amp;quot;&amp;gt;'''1. System requirement'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&amp;lt;span style=&amp;quot;font-size:small;&amp;quot;&amp;gt;A USB mass storage device with &amp;lt;span style=&amp;quot;color:#0000FF;&amp;quot;&amp;gt;'''FAT32'''&amp;lt;/span&amp;gt; filesystem&amp;lt;/span&amp;gt;&lt;br /&gt;
#&amp;lt;span style=&amp;quot;font-size:small;&amp;quot;&amp;gt;The apk files that whated to be installed​&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size:large;&amp;quot;&amp;gt;'''2. How to trigger the&amp;amp;nbsp;apk auto installation'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#&amp;lt;span style=&amp;quot;font-size:small;&amp;quot;&amp;gt;put the apk files into the mass storage device&amp;lt;/span&amp;gt;&lt;br /&gt;
#&amp;lt;span style=&amp;quot;font-size:small;&amp;quot;&amp;gt;'''create folder named startup containing&amp;amp;nbsp;a shell script file, start_up.sh.'''&amp;lt;/span&amp;gt;&lt;br /&gt;
#&amp;lt;span style=&amp;quot;font-size:small;&amp;quot;&amp;gt;'''edit the shell script file, start_up.sh, with the apk installation commands'''&amp;lt;/span&amp;gt;&lt;br /&gt;
#&amp;lt;span style=&amp;quot;font-size:small;&amp;quot;&amp;gt;instert the mass storage device&amp;lt;/span&amp;gt;&lt;br /&gt;
#&amp;lt;span style=&amp;quot;font-size:small;&amp;quot;&amp;gt;wait few minutes and check the applcation list to confirm if the applications are completley installed&amp;amp;nbsp;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size:large;&amp;quot;&amp;gt;'''3. Example'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size:small;&amp;quot;&amp;gt;If the apk named stability_test.apk that put into the root directory of mass storage device wanted to be installed.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size:small;&amp;quot;&amp;gt;The content of the start_up.sh should be edit as follow&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/system/bin/sh&lt;br /&gt;
&lt;br /&gt;
UUID=`getprop sys.update.storage`&lt;br /&gt;
pm install /mnt/media_rw/$UUID/stability_test.apk&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jerry.liao</name></author>	</entry>

	</feed>