Skip to content

Commit

Permalink
Initial multi-window/DEX support
Browse files Browse the repository at this point in the history
  • Loading branch information
iiordanov committed Sep 16, 2017
1 parent 77e17c9 commit 4d6382e
Show file tree
Hide file tree
Showing 10 changed files with 82 additions and 41 deletions.
6 changes: 3 additions & 3 deletions eclipse_projects/Opaque/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.undatech.opaque"
android:versionCode="1430"
android:versionName="1.4.3" >
android:versionCode="1440"
android:versionName="1.4.4" >

<uses-sdk
android:minSdkVersion="12"
Expand Down Expand Up @@ -55,7 +55,7 @@
<activity
android:name="com.undatech.opaque.RemoteCanvasActivity"
android:screenOrientation="unspecified"
android:configChanges="orientation|screenSize|keyboardHidden|keyboard"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|density|screenLayout"
android:windowSoftInputMode="stateHidden|adjustResize"
android:theme="@android:style/Theme.DeviceDefault"
android:launchMode="singleTask">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -882,6 +882,7 @@ private void correctAfterRotation () {
@Override
public void onConfigurationChanged(Configuration newConfig) {
super.onConfigurationChanged(newConfig);
enableImmersive();
if (connection.isRotationEnabled()) {
try {
setExtraKeysVisibility(View.GONE, false);
Expand Down
17 changes: 11 additions & 6 deletions eclipse_projects/bVNC/AndroidManifest.xml.aRDP
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.iiordanov.aRDP" android:installLocation="auto"
android:versionCode="3951" android:versionName="v3.9.5">
android:versionCode="3963" android:versionName="v3.9.6">

<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="21"></uses-sdk>
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
Expand All @@ -25,18 +25,20 @@
android:screenOrientation="unspecified"
android:configChanges="orientation|keyboardHidden"
android:windowSoftInputMode="stateHidden|adjustResize"
android:theme="@android:style/Theme.DeviceDefault">
android:theme="@android:style/Theme.DeviceDefault"
android:resizeableActivity="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"></action>
<category android:name="android.intent.category.LAUNCHER"></category>
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER"></category>
</intent-filter>
</activity>
<activity android:screenOrientation="unspecified"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|density|screenLayout"
android:name="com.iiordanov.bVNC.RemoteCanvasActivity"
android:windowSoftInputMode="stateHidden|adjustResize"
android:theme="@android:style/Theme.DeviceDefault">
android:theme="@android:style/Theme.DeviceDefault"
android:resizeableActivity="true">
<intent-filter>
<action android:name="android.intent.action.VIEW"></action>
</intent-filter>
Expand Down Expand Up @@ -64,7 +66,8 @@
<activity android:name="com.iiordanov.bVNC.ConnectionListActivity"
android:label="@string/shortcut_label"
android:windowSoftInputMode="stateHidden|adjustResize"
android:theme="@android:style/Theme.DeviceDefault">
android:theme="@android:style/Theme.DeviceDefault"
android:resizeableActivity="true">
<intent-filter>
<action android:name="android.intent.action.CREATE_SHORTCUT" />
<category android:name="android.intent.category.DEFAULT" />
Expand All @@ -74,7 +77,8 @@
android:configChanges="keyboardHidden|orientation"
android:windowSoftInputMode="stateHidden|adjustResize"
android:screenOrientation="unspecified"
android:theme="@android:style/Theme.DeviceDefault"/>
android:theme="@android:style/Theme.DeviceDefault"
android:resizeableActivity="true"/>
<uses-library android:required="false" android:name="com.sec.android.app.multiwindow"> </uses-library>
<meta-data android:name="com.sec.android.support.multiwindow"
android:value="true" />
Expand All @@ -86,5 +90,6 @@
android:resource="@dimen/app_minimumsize_w" />
<meta-data android:name="com.sec.android.multiwindow.MINIMUM_SIZE_H"
android:resource="@dimen/app_minimumsize_h" />
<meta-data android:name="com.samsung.android.keepalive.density" android:value="true"/>
</application>
</manifest>
22 changes: 16 additions & 6 deletions eclipse_projects/bVNC/AndroidManifest.xml.aSPICE
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.iiordanov.aSPICE" android:installLocation="auto"
android:versionCode="3951" android:versionName="v3.9.5">
android:versionCode="3963" android:versionName="v3.9.6">

<uses-sdk android:minSdkVersion="12" android:targetSdkVersion="12"></uses-sdk>
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
Expand All @@ -25,18 +25,20 @@
android:screenOrientation="unspecified"
android:configChanges="orientation|keyboardHidden"
android:windowSoftInputMode="stateHidden|adjustResize"
android:theme="@android:style/Theme.DeviceDefault">
android:theme="@android:style/Theme.DeviceDefault"
android:resizeableActivity="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"></action>
<category android:name="android.intent.category.LAUNCHER"></category>
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER"></category>
</intent-filter>
</activity>
<activity android:screenOrientation="unspecified"
android:configChanges="orientation|keyboardHidden|keyboard"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|density|screenLayout"
android:name="com.iiordanov.bVNC.RemoteCanvasActivity"
android:windowSoftInputMode="stateHidden|adjustResize"
android:theme="@android:style/Theme.DeviceDefault">
android:theme="@android:style/Theme.DeviceDefault"
android:resizeableActivity="true">
<intent-filter>
<action android:name="android.intent.action.VIEW"></action>
</intent-filter>
Expand All @@ -50,11 +52,17 @@
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="application/vnd.vnc" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="application/vnd.spice" />
</intent-filter>
</activity>
<activity android:name="com.iiordanov.bVNC.ConnectionListActivity"
android:label="@string/shortcut_label"
android:windowSoftInputMode="stateHidden|adjustResize"
android:theme="@android:style/Theme.DeviceDefault">
android:theme="@android:style/Theme.DeviceDefault"
android:resizeableActivity="true">
<intent-filter>
<action android:name="android.intent.action.CREATE_SHORTCUT" />
<category android:name="android.intent.category.DEFAULT" />
Expand All @@ -64,7 +72,8 @@
android:configChanges="keyboardHidden|orientation"
android:windowSoftInputMode="stateHidden|adjustResize"
android:screenOrientation="unspecified"
android:theme="@android:style/Theme.DeviceDefault"/>
android:theme="@android:style/Theme.DeviceDefault"
android:resizeableActivity="true"/>
<uses-library android:required="false" android:name="com.sec.android.app.multiwindow"> </uses-library>
<meta-data android:name="com.sec.android.support.multiwindow"
android:value="true" />
Expand All @@ -76,5 +85,6 @@
android:resource="@dimen/app_minimumsize_w" />
<meta-data android:name="com.sec.android.multiwindow.MINIMUM_SIZE_H"
android:resource="@dimen/app_minimumsize_h" />
<meta-data android:name="com.samsung.android.keepalive.density" android:value="true"/>
</application>
</manifest>
17 changes: 11 additions & 6 deletions eclipse_projects/bVNC/AndroidManifest.xml.bVNC
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.iiordanov.bVNC" android:installLocation="auto"
android:versionCode="3951" android:versionName="v3.9.5">
android:versionCode="3963" android:versionName="v3.9.6">

<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="10"></uses-sdk>
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
Expand All @@ -25,18 +25,20 @@
android:screenOrientation="unspecified"
android:configChanges="orientation|keyboardHidden"
android:windowSoftInputMode="stateHidden|adjustResize"
android:theme="@android:style/Theme.DeviceDefault">
android:theme="@android:style/Theme.DeviceDefault"
android:resizeableActivity="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"></action>
<category android:name="android.intent.category.LAUNCHER"></category>
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER"></category>
</intent-filter>
</activity>
<activity android:screenOrientation="unspecified"
android:configChanges="orientation|keyboardHidden|keyboard"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|density|screenLayout"
android:name="com.iiordanov.bVNC.RemoteCanvasActivity"
android:windowSoftInputMode="stateHidden|adjustResize"
android:theme="@android:style/Theme.DeviceDefault">
android:theme="@android:style/Theme.DeviceDefault"
android:resizeableActivity="true">
<intent-filter>
<action android:name="android.intent.action.VIEW"></action>
</intent-filter>
Expand All @@ -54,7 +56,8 @@
<activity android:name="com.iiordanov.bVNC.ConnectionListActivity"
android:label="@string/shortcut_label"
android:windowSoftInputMode="stateHidden|adjustResize"
android:theme="@android:style/Theme.DeviceDefault">
android:theme="@android:style/Theme.DeviceDefault"
android:resizeableActivity="true">
<intent-filter>
<action android:name="android.intent.action.CREATE_SHORTCUT" />
<category android:name="android.intent.category.DEFAULT" />
Expand All @@ -64,7 +67,8 @@
android:configChanges="keyboardHidden|orientation"
android:windowSoftInputMode="stateHidden|adjustResize"
android:screenOrientation="unspecified"
android:theme="@android:style/Theme.DeviceDefault"/>
android:theme="@android:style/Theme.DeviceDefault"
android:resizeableActivity="true"/>
<uses-library android:required="false" android:name="com.sec.android.app.multiwindow"> </uses-library>
<meta-data android:name="com.sec.android.support.multiwindow"
android:value="true" />
Expand All @@ -76,5 +80,6 @@
android:resource="@dimen/app_minimumsize_w" />
<meta-data android:name="com.sec.android.multiwindow.MINIMUM_SIZE_H"
android:resource="@dimen/app_minimumsize_h" />
<meta-data android:name="com.samsung.android.keepalive.density" android:value="true"/>
</application>
</manifest>
17 changes: 11 additions & 6 deletions eclipse_projects/bVNC/AndroidManifest.xml.freeaRDP
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.iiordanov.freeaRDP" android:installLocation="auto"
android:versionCode="3951" android:versionName="v3.9.5">
android:versionCode="3963" android:versionName="v3.9.6">

<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="21"></uses-sdk>
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
Expand All @@ -25,18 +25,20 @@
android:screenOrientation="unspecified"
android:configChanges="orientation|keyboardHidden"
android:windowSoftInputMode="stateHidden|adjustResize"
android:theme="@android:style/Theme.DeviceDefault">
android:theme="@android:style/Theme.DeviceDefault"
android:resizeableActivity="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"></action>
<category android:name="android.intent.category.LAUNCHER"></category>
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER"></category>
</intent-filter>
</activity>
<activity android:screenOrientation="unspecified"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|density|screenLayout"
android:name="com.iiordanov.bVNC.RemoteCanvasActivity"
android:windowSoftInputMode="stateHidden|adjustResize"
android:theme="@android:style/Theme.DeviceDefault">
android:theme="@android:style/Theme.DeviceDefault"
android:resizeableActivity="true">
<intent-filter>
<action android:name="android.intent.action.VIEW"></action>
</intent-filter>
Expand Down Expand Up @@ -64,7 +66,8 @@
<activity android:name="com.iiordanov.bVNC.ConnectionListActivity"
android:label="@string/shortcut_label"
android:windowSoftInputMode="stateHidden|adjustResize"
android:theme="@android:style/Theme.DeviceDefault">
android:theme="@android:style/Theme.DeviceDefault"
android:resizeableActivity="true">
<intent-filter>
<action android:name="android.intent.action.CREATE_SHORTCUT" />
<category android:name="android.intent.category.DEFAULT" />
Expand All @@ -74,7 +77,8 @@
android:configChanges="keyboardHidden|orientation"
android:windowSoftInputMode="stateHidden|adjustResize"
android:screenOrientation="unspecified"
android:theme="@android:style/Theme.DeviceDefault"/>
android:theme="@android:style/Theme.DeviceDefault"
android:resizeableActivity="true"/>
<uses-library android:required="false" android:name="com.sec.android.app.multiwindow"> </uses-library>
<meta-data android:name="com.sec.android.support.multiwindow"
android:value="true" />
Expand All @@ -86,5 +90,6 @@
android:resource="@dimen/app_minimumsize_w" />
<meta-data android:name="com.sec.android.multiwindow.MINIMUM_SIZE_H"
android:resource="@dimen/app_minimumsize_h" />
<meta-data android:name="com.samsung.android.keepalive.density" android:value="true"/>
</application>
</manifest>
Loading

0 comments on commit 4d6382e

Please sign in to comment.