Sunday 11 November 2012

How to display Toast messages ?

Toast.makeText(getApplicationContext(),
               (String)data.result, Toast.LENGTH_LONG).show();
Other example

Toast.makeText(getApplicationContext(), "this is my Toast message!!! =)",
Toast.LENGTH_LONG).show();

Any one know the Answer Please post as a Comment.

No comments:

Post a Comment