code for displaying message in ANDROID.....

 

/**
* This method displays the given text on the screen.
*/
private void displayMessage(String message) {
TextView priceTextView = (TextView) findViewById(R.id.price_text_view);
priceTextView.setText(message);
}

Comments

Popular posts from this blog

Release method for releasing the resources when they are not in use.

Square root using Binary search concept GFG