Top "Toast" questions

A toast notification is a transient message to the user that contains relevant, time-sensitive information and provides quick access to related content in an app.

How to use Toast when I cant use "this" as context

I have a location listener activity and I want to make toast notifications. But it will not let me pass …

java android toast
Can I cancel previous Toast when I want to show an other Toast?

In my app, I construct a calendar widget for my activity, when I scroll it to previous or next month, …

android toast
What is the android.widget.Toast equivalent for iOS applications?

I have made Android application a few months ago. The Toast class is very useful for me. I do not …

ios toast
How to display a Toast message in from a class that doesn't extend Activity

Possible Duplicate: How do I make a toast from a non activity class? How can I create and show a …

android android-activity toast
Finish activity after toast message disappears?

Does anybody know, if there is a possibility to do something (in my case finish activity) on toast message will …

android toast
Error due to invalid combination of Toast and OnClickListener

I'm trying to use Toast inside OnCLickListener. My code triggers the following error: The method makeText(Context, CharSequence, int) in …

android toast
using a string resource in a Toast

My code is: public static void ToastMemoryShort (Context context) { CharSequence text = getString(R.string.toast_memoryshort); //error here Toast.makeText(…

java android toast charsequence
Button in custom Android Toast?

Is it possible to have a button in a Toast? In theory, yes because you can build a custom Toast …

android button android-button toast
accessibility service is not started

I want to log all toasts events in android ics (4.0.3), but I was unable to log any system event. Service …

android android-4.0-ice-cream-sandwich toast accessibility-api
How to display Toast from a Service after main Activity finishes?

UPDATE: I don't agree that this is a duplicate - because I am seeking for a way to exit the …

android service android-service toast android-toast