Day 3 Toast Message and Intent

1509494400000 Andriod

by Start Bootstrap


Toast message should not cost more, We use it to display the server response.

Intent is used to move the Control from one activity to another.

Here's how you can transfer the Intent

Intent intent = new Intent(LoginActivity.this, DashBoardActivity.class);
startActivity(intent);

Here's how you can display a Toast

 

import android.widget.Toast;
Toast.makeText(getApplicationContext(), successMsg, Toast.LENGTH_LONG).show();
 

 


Blog Search
Tags
  • Sysaxiom (4)
  • Github (8)
  • Windows (1)
  • php (25)
  • General Tips (0)
  • GoogleMaps (2)
  • Google App Script (1)
  • Heroku (4)
  • Laravel Middleware (1)
  • xampp (1)
  • Terminal (1)
  • TechCrunch (1)
  • Ubuntu (3)
  • MySQL (2)
Side Widget
can put anything you want inside of these side widgets. They are easy to use, and feature the new Bootstrap 4 card containers!