There are two things that might clarify the use of intents. 1. There are internal and external intents. Internal intents start an Activity of the same application (by giving the class name). This is recommended to ensure the lifecycle.
2. Intents can have extra values used as input to the next activity. Thereby, you can easily share objects between Activities of the same application. If in doubt you can also use the ApplicationContext to hold global objects. I did not fully understand your settings example. Maybe you can elaborate on that. Friedger openintents.org On Jan 30, 11:13 am, Raja Nagendra Kumar <[email protected]> wrote: > I remember reading about Activities as functional units, which are > reusuable across the applications and would take life based Intents > raised by other applications.. If this understanding of mine true.. I > have the following questions.. > > 1. In an application.. e.g I display list of folders avaiable in the > intial view, upon selection of the folder, I give the list of files > gif images in that folder.. In such context, fileview is definately > not independent functional unit (we could design it by better desing > by giving filter value etc.. however in my application, I am just > looking to meet the current needs). > > 2. Same is the case from moving settings menu to sub settings menu.. > they are specific to perticular application and does not make > independent two functional units, which would be usful in other > applications. > > Peli, based on these two examples could you pl. let me know what I am > missing.. > > On Jan 27, 5:43 pm, Peli <[email protected]> wrote: > > > > Is it advisable to uses Intent approach from switching from one view > > > of the other, which are part of the same application > > > Yes, it is advisable. > > > Peliwww.openintents.org > > > On Jan 24, 8:22 am, Raja Nagendra Kumar <[email protected]> > > wrote: > > > > Is it advisable to uses Intent approach from switching from one view > > > of the other, which are part of the same application > > > > e.g going form login to main menu, from main menu to submenu.. etc > > > > I am of the understanding that these are on functional unites avaiable > > > to other programs.. Kindly suggest.. I see every android example using > > > Intent approach.. > > > > Regards, > > > Raja Nagendra Kumar, > > > C.T.Owww.tejasoft.com-Hide quoted text - > > > - Show quoted text - > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

