[Resolved] how do I display what is a bit like an "alert" but not(native.showAlert)

Hi,
I was just looking at one of the latest apps built in corona… “knots3d”… Nice app!
I notice they use a message that kind of fades onto the screen and fades off again.
They use this functionality to give users tips on how to use the app.

Its definitely an o.s related api method. Ive seen my own android device display a similar message when I unplug it from a usb port its says “preparing SD card”… how do i use that api method?

Thanks
Aidan [import]uid: 102413 topic_id: 28776 reply_id: 328776[/import]

I havent seen the app you mentioned. But for me I use non-modal storyboard overlays for showing achievements and alerts. I just transition them in, then transition them out after a delay. [import]uid: 144908 topic_id: 28776 reply_id: 115954[/import]

Yeah I was going to do something similar to that thanks Bfintal. But ideally I want to use the above method. worked really well in that knots3d app.

Tar
Aidan [import]uid: 102413 topic_id: 28776 reply_id: 116022[/import]

What the hell!,
a mate who codes in java has got me the android api call for it.
There called “toast notification”. google “toast notification android” to see what I mean.

I dont think there is any corona methods for them… which begs the question how have they done it in knots3d! The app was tweeted by coronalabs. …
I wonder how they used um. [import]uid: 102413 topic_id: 28776 reply_id: 116025[/import]

You may want to ask them, they created a thread which might be an OK place to ask; https://developer.coronalabs.com/forum/2012/07/18/knots-3d-amazon-free-app-day

Peach :slight_smile: [import]uid: 52491 topic_id: 28776 reply_id: 116052[/import]

Tar peach! [import]uid: 102413 topic_id: 28776 reply_id: 116059[/import]

I have wondered the same thing and not found anything, so i wrote my own solution that i’d like to share with everyone ending up here with this question.

I have created a lua script that simulates the android toast message in both behaviour and style.
You can find it here:
http://developer.coronalabs.com/code/toast-notification

[import]uid: 59229 topic_id: 28776 reply_id: 118880[/import]

wow… sweet work lad.
I just ended building my own… tailored to the app. But I will be using the code you stuck up on git next time I need one. Thanks for sharing.
The app in question “simple lists” is now “done un dusted” and is on the android market…
https://play.google.com/store/apps/details?id=com.simplelists [import]uid: 102413 topic_id: 28776 reply_id: 118885[/import]