Question

How do I trigger toast notification at application start time?

No correct solution

OTHER TIPS

Add the toast into the onCreate Method:

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);

    Toast.makeText(this, "This is my Toast!", Toast.LENGTH_LONG).show();
}
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top