I had the exact same issue. Tried to give the Context of my Activity to the
dialog too, but no luck either. If anyone knows a solution will be of great
help.


On Mon, Nov 5, 2012 at 2:24 PM, vani reddy <vani.reddy.bl...@gmail.com>wrote:

>
> HI friends,
> I am using Sherlock library for android
>
> progressDisplay = new LoadingDialog();
> progressDisplay.setCancelable(false);
>  progressDisplay.show(getSherlockActivity().getSupportFragmentManager(),
>  "LoadingDialog");
>
> LoadingDialog is the class which extends  SherlockDialogFragment.
> When i click on home button and close it, and again relaunch it on long
> press of home press app is force closing in the below line:
>
> progressDisplay.show(getSherlockActivity().getSupportFragmentManager(),
> "LoadingDialog");
>
> Any clues why it is happeneing??
> Please give me ideas how to solve it.
>
>
> --
> Regards,
> Vani Reddy
>
>  --
> 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

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