Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Android: Toast notifications

This isn't a question, more of a "here-ya-go".

Was doing some snooping tonight on the commits on Gihub, and Toast notification do, in fact, exist for Android, and DO WORK.

var toast = Titanium.UI.createNotification({
    duration: 2000,
    message: "Hi, I'm a toast!"

toast.cancel() also closes the current active toast. I've noticed that the duration isn't dependable, but I've more testing to do.



— asked September 27th 2010 by Andrew Heebner
  • android
  • android notifications

2 Answers

The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.