Monday, April 14, 2014

How to exclude activity from recent application list on Android

To forbidden your activity in the recent application list, just define this parameter in AndroidManifest.xml for the activity:

android:excludeFromRecents="true"

for example:
        <activity
            android:name="com.test.MainActivity"
            android:noHistory="true"
            android:screenOrientation="portrait"
            android:excludeFromRecents="true"
            android:label="@string/app_name">
            ......
         </activity>

1 comment:

Enable HP Zbook Thunderbolt 3 Dock on Ubuntu

As mention in previously post, I installed Ubuntu on my HP ZBook. After two days used all things work just fine, but the Thunderbolt 3 Dock ...