Well, I normally think of an Intent in the same way I think of a http request to a web server. I'm requesting to have something happen (show me a page in the browser = go to new activity, ask the server to do some long running processing = start service). And when I think of how intents are used in just my application versus how they are used in the entire system, it's maybe comparable to sending the user to one of my application pages versus forwarding them to a different site.
On Apr 22, 1:09 pm, WildLuka <[EMAIL PROTECTED]> wrote: > Hi, > > I'm still in the process of grasping the true concept of intents. > Surely I do understand that they are events and that they can > propagate through the system. Obviously I'm not referring to the kind > of intents used to fire Activities. > Now, I'm trying to develop a local service, which one day I'd like to > turn into a remote service, which is an abstraction of a xmpp chat > library. First of all, can I use intents to loosely propagate > exceptions, or rather exceptional events ? Imagine a login function > located in a service that instead of throwing an exception or > returning nothing, uses an intent to communicate to a LoginDialog that > either the operation was successful or the exact opposite. Or how > does a service > > I might have totally misunderstood the true intent of intents ! ( pan > intended this time ! ). is it just a means of interconnecting > applications ? Could they be used to link software components ( still > running within the same application ) as mere interface ? > > I am sensing a shift in the OO paradigm. > > Luka > > as an afterthought, am I the only one who thinks he's missing out on > something that might dramatically improve app design ? Diane Larsen- > Freeman, an applied linguist, believes that any grammar point can be > thoroughly explained through the "form - meaning - use" formula. ... > as I said ... just an afterthought. > > ps. I'd be grateful if you could provide examples along with your > explanation. --~--~---------~--~----~------------~-------~--~----~ 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] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

