DroidScript wiki

(was AndroidScript) unofficial documentation by the community

User Tools

Site Tools


sample_code:custom_dialog

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
sample_code:custom_dialog [2015/03/03 15:40]
octazid created
sample_code:custom_dialog [2015/08/20 04:55]
89.2.148.59 There was a typo.
Line 1: Line 1:
 =====Custom Yes-No-Dialog===== =====Custom Yes-No-Dialog=====
-(Sample posted by Chris Hopkins ​in the DroidScrip ​Google Group)\\ \\ +(Sample posted by Chris Hopkin ​in the DroidScript ​Google Group)\\ \\ 
 If you want to show a popup window on exit, you could use a custom Dialog.\\ For example, this is a small app that pops up a custom dialog when the back button is pressed\\ If you want to show a popup window on exit, you could use a custom Dialog.\\ For example, this is a small app that pops up a custom dialog when the back button is pressed\\
  
Line 8: Line 8:
     {     {
         app.EnableBackKey( false );         app.EnableBackKey( false );
-        app.ShowPopup( "Touch the Back Buttom" );+        app.ShowPopup( "Touch the Back Button" );
     }     }
        
sample_code/custom_dialog.txt ยท Last modified: 2015/08/20 04:55 by 89.2.148.59