That's is great,
Thanks.
On Tue, Jan 13, 2009 at 7:42 PM, Andrew Stadler wrote:
>
> tmat-
>
> You might want to try this:
> 1. Override your activity's onKeyDown() method.
> 2. If the KeyEvent is KEYCODE_BACK, display your dialog
> 3. If your dialog returns "YES", simply call Activity.fini
No idea at all ??
I've tried to put dialog initialization into onPause() method but obviously
it doesn't work based on Activity Lifecycle so this doesn't work:
@Override
protected Dialog onCreateDialog(int id) {
return new
AlertDialog.Builder(TimeCard.this).setIcon(R.drawable.alert_d
2 matches
Mail list logo