Hi

In My code I am displaying a AlertDialog based on some condition.
if(refIdList.size() < Integer.parseInt(currentassetlimit))
{
String msg = ConstantsUtil.exceedAlertMessage;
                                                                msg = 
msg.replace(":limit", String.valueOf
(currentassetlimit));
                                                                
message.setMessage(msg);
                                                                message.show();
}

Once this alert is displayed there should be a Ok button for this
dailaog and when user pressed this button user should go to previous
view. ( Same as pressing the back button in android )

I tried to call finish();   but its ending my activity this is not
what i want I just want to go to previous page (view).

Somebody pls help me.

Thanks in advance.
Prashanth
--~--~---------~--~----~------------~-------~--~----~
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