Re: I need to have launcher intent compatible with Android 14
Wayne Sherman via fpc-pascal <[email protected]>
| Newsgroups | gmane.comp.compilers.free-pascal.general |
|---|---|
| Message-ID | <CAFRksz+ssN6fNaZKr7RHk6m=iiXeqoVYB3QF5qOc-deYJ-1egA@mail.gmail.com> |
On Tue, Feb 4, 2025 Mgr. Janusz Chmiel wrote: >. App can be installed, but user is > helpless to find its launcher at The launcher desktop. > Here is The short intent. > <intent-filter> > <action android:name ="android.intent.action.MAIN" /> > <category android:name ="android.intent.category.LAUNCHER" /> > </intent-filter> > > I have got AN error from Android 14 from ADB that Intents must be > specified explicitly or simlar message. Possibly related to this change: https://developer.android.com/about/versions/14/behavior-changes-14#safer-intents "For apps targeting Android 14 (API level 34) or higher, Android restricts apps from sending implicit intents to internal app components in the following ways: - Implicit intents are only delivered to exported components. Apps must either use an explicit intent to deliver to unexported components, or mark the component as exported. - If an app creates a mutable pending intent with an intent that doesn't specify a component or package, the system throws an exception." _______________________________________________ fpc-pascal maillist - [email protected] https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal