I have worked my way through the Notepad example and sort-of understand how the intents are passed back and forth.
Basically, in Notepad the intents are read (mostly) in onPrepareOptionsMenu(). The system is "polling" the intent status within the code. That strikes me as a somewhat arbitrary decision; menu items are not directly connected to intents, and intents themselves are asynchronous activities. Other apps appear to work similarly. What I was expecting was a method called something like onReceivedNewIntent() which I could override, and centralise my intent handling logic. That would mean that intents were using the same pattern as UI events, and explicit polling logic is unneccesary. Is this it? Do I have to include my intent checking logic into some other handler that I know will be called, like onPrepareOptionsMenu, or is there some way of explicitly wiring an event handler to a received intent? Sorry about the noob question; I still don't "get it", and feel like I am missing something important. . -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

