I have created a dialogue to accept the name and password.
        d = new Dialog(ctx);
                d.setContentView(R.layout.login);

        Button upload_button = (Button)d.findViewById
(R.id.send_button);
        upload_button.setOnClickListener(new View.OnClickListener()
        {}
        });
        d.show();


It will display the dialog but if I flip the device the dialog will
get dismissed.
How can I avoid that .
I tried d.setcancelable(false)
it works for only back key


Please help me



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