diff options
| author | Paul Buetow <paul@buetow.org> | 2025-09-13 10:54:41 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-09-13 10:54:41 +0300 |
| commit | b93fcd57868a53ad0f98ed450bd4c964f370442b (patch) | |
| tree | 6d2c398496dae417a98e2705dd13f8c7e8bef3f8 /android | |
| parent | 4f4d430db11f4d7be9cb7c6562d611f088cc01cc (diff) | |
Android share integration: add overlay manifest and ShareActivity, move Java to android/src/main/java for fyne-cross merge; read shared text from UserCacheDir; load on startup and foreground. Update README for Mage usage.
Diffstat (limited to 'android')
| -rw-r--r-- | android/AndroidManifest.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml new file mode 100644 index 0000000..51edc1b --- /dev/null +++ b/android/AndroidManifest.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<manifest xmlns:android="http://schemas.android.com/apk/res/android" + package="org.buetow.quicklogger"> + + <application> + <!-- Share receiver activity: writes text to cache and launches main app --> + <activity + android:name=".ShareActivity" + android:exported="true" + android:excludeFromRecents="true" + android:taskAffinity="" + android:theme="@android:style/Theme.Translucent.NoTitleBar"> + <intent-filter> + <action android:name="android.intent.action.SEND" /> + <category android:name="android.intent.category.DEFAULT" /> + <data android:mimeType="text/plain" /> + <data android:mimeType="text/*" /> + </intent-filter> + </activity> + </application> +</manifest> + |
