<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://sdkwiki.wizarpos.com/index.php?action=history&amp;feed=atom&amp;title=How_to_block_and_get_home_button</id>
	<title>How to block and get home button - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://sdkwiki.wizarpos.com/index.php?action=history&amp;feed=atom&amp;title=How_to_block_and_get_home_button"/>
	<link rel="alternate" type="text/html" href="http://sdkwiki.wizarpos.com/index.php?title=How_to_block_and_get_home_button&amp;action=history"/>
	<updated>2026-04-11T08:41:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.5</generator>
	<entry>
		<id>http://sdkwiki.wizarpos.com/index.php?title=How_to_block_and_get_home_button&amp;diff=3182&amp;oldid=prev</id>
		<title>Mahong: Created page with &quot;The system provides the AIDL interface to block and get the power button, when block, the status bar can not be slided down. When connect the service, the package name is com....&quot;</title>
		<link rel="alternate" type="text/html" href="http://sdkwiki.wizarpos.com/index.php?title=How_to_block_and_get_home_button&amp;diff=3182&amp;oldid=prev"/>
		<updated>2023-06-25T05:53:19Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The system provides the AIDL interface to block and get the power button, when block, the status bar can not be slided down. When connect the service, the package name is com....&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The system provides the AIDL interface to block and get the power button, when block, the status bar can not be slided down. When connect the service, the package name is com.wizarpos.wizarviewagentassistant, and the class name is com.wizarpos.wizarviewagentassistant.SystemExtApiService. When the application uses the interface, it must import wizarviewagentassistant and add permissions to the Android manifest file.&lt;br /&gt;
&lt;br /&gt;
Version of wizarviewagentassistant should equal or larger than 2.10.57.&lt;br /&gt;
== Permission ==&lt;br /&gt;
The application declares the following permissions in the manifest：&lt;br /&gt;
  android.permission.CLOUDPOS_LOCK_STATUS_BAR&lt;br /&gt;
&lt;br /&gt;
== API Overview ==&lt;br /&gt;
=== &amp;lt;big&amp;gt;setStatusBarLocked&amp;lt;/big&amp;gt;===&lt;br /&gt;
   &amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;void setStatusBarLocked(boolean lock);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Set the status bar locked as true will make the status bar can not be pull down.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wizarpostable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; colspan=&amp;quot;2&amp;quot; | Parameters&lt;br /&gt;
|-&lt;br /&gt;
| lock|| &amp;#039;&amp;#039;&amp;#039;boolean:&amp;#039;&amp;#039;&amp;#039;  true for lock, false for disable lock.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
=== AIDL file ===&lt;br /&gt;
Please download the [http://ftp.wizarpos.com/advanceSDK/ISystemExtApi.aidl aidl file]&lt;br /&gt;
=== Demo ===&lt;br /&gt;
Please download the [http://ftp.wizarpos.com/advanceSDK/sample_blockstatusbar.7z demo APP]&lt;/div&gt;</summary>
		<author><name>Mahong</name></author>
	</entry>
</feed>