Reputation: 54949
I am trying to show toast on inserting content into the database. and then it finishes the activity.
code: http://pastebin.com/6aBjwCFh
Upvotes: 0
Views: 591
Reputation: 49410
You need to show()
your toast to display it:
Toast.makeText(ComposeActivity.this, "Mail Sent to " + tousername, 10).show();
Upvotes: 6