I like to share my faketoast function I wrote yesterday evening.It's not as elegant as the Android showtoast() (no fading and blocking while shown), but it's useful to get a better impression of how the programm looks like on Android (needs more parameter polishing, the parameters used here were a quick shot).

Use it like a real toast. Mind that the function does not change font properties back to the properties before calling the function. Radius of the edges can get adjusted as can the thickness of the borders of the toast or the duration of getting it shown (a simple wait). I use a fixed id (1000) for brush and sprite here, probaby a dynamically ID woud be better, but I was too lazy...

Mind you to check the id for the toast sprite and the timeout - i just chose 1000 rather randomly.This version has one behavioral difference to original toasts: If a new toast comes in before the last diappeared it gets shown immediately and the old one gets disposed (rather overwritten). In some cases this behaviour has advantages in some disadvantages. Hence i kept it.