I found a solution, thanks to Streets of Boston and laminina.

Since every app uses 2 images (background and other image), i created
2 images in my Application class (global variables) and not in the XML
(laminina idea). Each app at the onCreate/onResume phase will call
these images from the Application, destroying  its previous instances
and creating the new ones the way Streets of Boston said.

So at most, i have 2 images in memory. Works like a charm :)

Thanks to your replies!

On Sep 23, 6:13 am, ashok chakravarthy <[email protected]> wrote:
> You can  try the approach suggested by streets of bosten or you can try
> something like below
>
> i). create baseactivity and all remaing activities extends this activity
> ii). override onKeydown in the base actiivty
> iii).finish the previous activity when you move to next activity. and when
> you press the back on the activity based on the index start the previous
> activity.
>
> Thanks,
> Ashok.
>
>
>
>
>
>
>
> On Fri, Sep 23, 2011 at 6:06 AM, lbendlin <[email protected]> wrote:
> >http://code.google.com/p/android/issues/detail?id=8488
>
> >  --
> > 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

-- 
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

Reply via email to