This demo shows how to add a custom event fired the first time (and the first time only) you run the application from the homescreen.

Add this page to the homescreen and then run the app from there.