Android, managing views and taks and activities
<p>I need general advice.</p>

<p>I'm building an app that can be started via the icon (normal way) but also with an intent triggered by a click in the notification area (the app places an icon in the notification area).   The is awaken when a time event / alarm occurs.</p>

<p>The app has 5 to 10 views.  Is it better to open a new activity for each view?  How can I be sure not to have mutliple tasks open?  Say if my app is Activity-A, Activity-B, Activity-C and can be started from Activity-A and Activity-B (depending on if it's opened via the icon or the notification area) ... how do I clean everything upon app close? </p>

<p>Or is it better to have one activity and just switch views (xml layouts)?</p>
