As as java script we show a alert dailoge box.
Java Code:
protected void alertbox(String title, String mymessage)
{
new AlertDialog.Builder(this)
.setMessage(mymessage)
.setTitle(title)
.setCancelable(true)
.setNeutralButton(android.R.string.cancel,
new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int whichButton){}
})
.show();
}
{
new AlertDialog.Builder(this)
.setMessage(mymessage)
.setTitle(title)
.setCancelable(true)
.setNeutralButton(android.R.string.cancel,
new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int whichButton){}
})
.show();
}
Not working...
ReplyDeleteCan you show me your code..
ReplyDeletenice.... it is very useful for me..... can u post database connection coding.??
ReplyDeleteWhere are you db in phone or on web server?
DeleteThanks for this!!
ReplyDeleteWelcome :)
Delete