Without seeing your code, it is difficult to point out where the
problem would be.

--
Jack Ha
Open Source Development Center
・T・ ・ ・Mobile・ stick together

The views, opinions and statements in this email are those of
the author solely in their individual capacity, and do not
necessarily represent those of T-Mobile USA, Inc.


On Aug 8, 5:20 am, martina <agrawal.suni...@gmail.com> wrote:
> I have one widget....when i open it one activity is launched...I can
> close it....or I can go back..In onDestroy i am closing my
> cursor......when i press back, and again click on widget it goes to
> onCreate and then onResume...
>
>  but when I press on Home key,and click on widget to open it,then my
> control goes to onResume, here some values are retrieved  from
> database,this thing works fine in all situations except when i come
> back after pressing Home key..
>
> Problem is that Cursor is not closing,even if I close cursor in onStop
> or onPause .It is giving StaleDataException......
>
> I cannot finish the activity in onPause or onStop,coz it creates
> problem when I change orientation..
>
> any reply will help me a lot,coz this is urgent...
>
> Thanks in advance...
--~--~---------~--~----~------------~-------~--~----~
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