How can I close DataFieldAlert from code

I'm counting down in my DataFieldAlert's onUpdate and then when I'd like to close the alert I call:

WatchUi.popView(SLIDE_DOWN);

but I get: Exception: Page control not allowed in current app type (or mode) - Data Field
Is there any way I can close (or time out) a DataFieldAlert from code?
In the simulator I found Data Fields > Timeout Alert, which does close it, similar to pressing the back button, but where can that timeout be set? Is there a way to set it from code? Where can it be set on a real device?

Top Replies

All Replies