And calling super.onPause in your onPause.

On Oct 15, 10:54 am, Prakash Iyer <thei...@gmail.com> wrote:
> I don't think you need to recycle the image in onPause. May be in onStop? If
> you want to do it onPause, then you might want to let the Canvas know that
> it's underlying image is no longer available in some fashion.
>
> You should call super.X() when you override X as a general rule, so I think
> DanH is referring to what looks like you are calling super.onPause in your
> override of onDestroy. So you should be calling super.onDestroy...
>
> On Fri, Oct 15, 2010 at 12:21 AM, Lisa <lpk...@gmail.com> wrote:
> > thank you very much、for your answers. (⌒.⌒)/
> > ----------------------------------------------
> > viktor :
> > I switching image, implements the following:
>
> > if (imgViewBG != null) {
> >   final Bitmap imageBG = BitmapFactory.decodeFile(strFile+".png");
> >   imgViewBG.setImageBitmap(imageBG);
> > }
> > ----------------------------------------------
> > Daniel :
> > the size of the image is
> > Yes I using big image 854x480, I did display "full screen", It's
> > necesary in my app. f(・_・)
> > I used BitmapFactory.Options for preferably to the size, but image
> > quality not good.
> > My image have letters, so image quality is important.should write
> > letters?
>
> > I sorry , the second question is do not quite understand, how to as
> > checking
> > My english is not good. p(~_~?)
> > ----------------------------------------------
> > Prakash Iyer:
> > then where should reomever the bitmap? (・_・?)
> > ----------------------------------------------
> > DanH :
> > but if I not put super.onPause (); show the following error:
>
> > 10-15 02:16:10.778: ERROR/AndroidRuntime(193):
> > android.app.SuperNotCalledException: Activity {cai.eigojozu/
> > cai.eigojozu.episode.EpisodeActivity} did not call through to
> > super.onPause()
> > Can I do? (・_・?)
> > ----------------------------------------------
> > fr4gus :
> > I'm looking, but do not quite understand, for example the difference
> > between hard and soft cahce. as used, etc.
> > Can you explain me? m(_ _)m  please. ┌(_ _)┐
>
> > thank you very much indeed.
> > Thanks a lot for all your replies.
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> > 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to