Jurrien Dokter
Jurrien Dokter

Reputation: 1

Can a codenameone application receive share intents?

I've been working and reading through the documentation, and the API docs, but so far I haven't been able to find anything related to receiving intents or sharing something towards a codenameone app.

Is this possible at all? Or are the apps purely working on their own, regardless of their surroundings?

Upvotes: 0

Views: 128

Answers (1)

Shai Almog
Shai Almog

Reputation: 52760

Intents can be invoked through the Display class which allows them to return a value.

However, the ability to respond to an intent and embed a foreign activity is very Android specific and has no equivalent parallel on other platforms. You can create such cases by using the native interfaces support built into Codename One (with build arguments for adding entries to the manifest), this also allows for other Android specific concepts such as widgets. However, all such code is obviously Android specific and will only appear when the Android version is built.

Upvotes: 0

Related Questions