A QML UI with feature parity as the goal: home grid that fills the screen with dense packing and pinned cells, drag to reorder or into an empty cell, widget resize handles snapping to the grid, the app drawer with search and long-press menu, sheets, and the widget picker. HomeActivity (a QtActivity) keeps the Android parts and hosts native widget views over the QML slots, as the WebView shell did. A desktop backend serves the demo data, so qt/tests/e2e.cpp drives the UI end to end offscreen; CI runs it and builds an APK that installs next to the current launcher as ultra Home (Qt). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
84 lines
3.6 KiB
XML
84 lines
3.6 KiB
XML
<?xml version="1.0"?>
|
|
<!-- Qt fills in the %%INSERT_...%% markers when it builds the APK (androiddeployqt). -->
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="dev.ultra.launcher.qt"
|
|
android:installLocation="auto"
|
|
android:versionCode="-- %%INSERT_VERSION_CODE%% --"
|
|
android:versionName="-- %%INSERT_VERSION_NAME%% --">
|
|
|
|
<!-- %%INSERT_PERMISSIONS -->
|
|
<!-- %%INSERT_FEATURES -->
|
|
|
|
<!-- The updater downloads new builds of the launcher and installs them over itself. -->
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
|
|
<!-- Uninstall from the app drawer's long-press menu (ACTION_DELETE needs it on Android 9+). -->
|
|
<uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />
|
|
|
|
<!-- Android 11+ package visibility: list every launchable activity. -->
|
|
<queries>
|
|
<intent>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent>
|
|
</queries>
|
|
|
|
<supports-screens
|
|
android:anyDensity="true"
|
|
android:largeScreens="true"
|
|
android:normalScreens="true"
|
|
android:smallScreens="true" />
|
|
|
|
<application
|
|
android:name="org.qtproject.qt.android.bindings.QtApplication"
|
|
android:hardwareAccelerated="true"
|
|
android:label="@string/app_name"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:theme="@style/Home"
|
|
android:supportsRtl="true"
|
|
android:allowBackup="false">
|
|
|
|
<activity
|
|
android:name="dev.ultra.launcher.HomeActivity"
|
|
android:exported="true"
|
|
android:launchMode="singleTask"
|
|
android:stateNotNeeded="true"
|
|
android:clearTaskOnLaunch="true"
|
|
android:excludeFromRecents="true"
|
|
android:screenOrientation="unspecified"
|
|
android:windowSoftInputMode="adjustNothing"
|
|
android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation|mcc|mnc|density">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.HOME" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
<meta-data
|
|
android:name="android.app.lib_name"
|
|
android:value="-- %%INSERT_APP_LIB_NAME%% --" />
|
|
<meta-data
|
|
android:name="android.app.arguments"
|
|
android:value="-- %%INSERT_APP_ARGUMENTS%% --" />
|
|
</activity>
|
|
|
|
<receiver
|
|
android:name="dev.ultra.launcher.Updater$InstallReceiver"
|
|
android:exported="false" />
|
|
|
|
<!-- Opens Recents for the Windows button; the user turns it on in Accessibility. -->
|
|
<service
|
|
android:name="dev.ultra.launcher.RecentsService"
|
|
android:label="@string/recents_service_label"
|
|
android:exported="true"
|
|
android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
|
|
<intent-filter>
|
|
<action android:name="android.accessibilityservice.AccessibilityService" />
|
|
</intent-filter>
|
|
<meta-data
|
|
android:name="android.accessibilityservice"
|
|
android:resource="@xml/recents_service" />
|
|
</service>
|
|
</application>
|
|
</manifest>
|