This isn't something that's ever troubled me when writing Android apps (where afaik there's no unique identifier for intents either). However, using a browser, a user can repeat the intent (probably inadvertently) by simply refreshing the page; I don't think there is an analogue to this on Android.
This arose because the first service I'm writing is a simple "snooper" that displays the fields of the intent it was launched with together with a 'history' (stored using indexeddb). My naive implementation is subject to the problem that refreshing the page 'replays' the intent, creating dupes in the database.
The spec seems silent on the subject of what happens in the event that the service page is refreshed (though I may have missed it because I haven't read it closely), but to not redeliver the intent strikes me as a much greater fault. Certainly, redelivery of the intent matched my expectations.
If the service page is refreshed, the passed in intent data will still be present.
--
You received this message because you are subscribed to the Google Groups "Web Intents discuss" group.
To post to this group, send email to web-inten...@googlegroups.com.
To unsubscribe from this group, send email to web-intents-dis...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/web-intents-discuss?hl=en.
If the service page is refreshed, the passed in intent data will still be present.