This article is a mirror article of machine translation, please click here to jump to the original article.

View: 643699|Reply: 387

[E4A] E4A double-click the return button to exit the program [Source Code]

  [Copy link]
Posted on 6/3/2017 7:05:26 PM | | | |


I am a beginner of e4a, and I find that the compiled Android program cannot be exited

Well, it should be the code that needs to be written by yourself

Pressing the back button twice within two seconds will exit the program

Pressing once within two seconds will not exit the program, the effect is as above,

The code is as follows:
Tourists, if you want to see the hidden content of this post, pleaseReply


The source code is as follows:
Tourists, if you want to see the hidden content of this post, pleaseReply





Previous:bootstrap Click on the text to enlarge the image
Next:E4A Display sqlite database queries as tables [source code]
Posted on 4/30/2019 4:46:30 AM |
The variable Start Time is a long integer type assembly variable
Event Program Window. Press a key (key code is integer type, address shield is logical)
        If Key Code = Return Key then
                Pop-up prompt ("Press again to exit the program")
                If you take Start Time ()-Start Time< 2000
                        If Key Code = Return Key then
                                End Procedure ()
                        End If
                       
                Otherwise
                        Start time = take the start time ()
                End If
        End If
       
End Event


Small optimization
 Landlord| Posted on 6/3/2017 10:43:26 PM |
Posted on 3/31/2019 5:35:02 PM |
After downloading an error appeared: window 1 code: line 104: illegal characters


Error: window 1 code: line 104: illegal characters

Error: window 1 code: line 104: illegal characters

Error: window 1 code: line 104: illegal characters

Error: Window 1 Code: Line 105: Found Window 1. Press a key to repeat the definition

Error: Window 1 code: line 106: illegal characters

Error: Window 1 code: line 106: illegal characters
Error: Window 1 code: No. 106
Row: Illegal characters
Posted on 6/4/2017 6:33:55 AM |
The landlord's mobile phone program can also be written
Posted on 6/4/2017 6:34:29 AM |
The owner can also write mobile phone programs, which is awesome
 Landlord| Posted on 6/4/2017 4:25:13 PM |
liyunong posted on 2017-6-4 06:34
The owner can also write mobile phone programs, which is awesome

Understand a little, understand a little
Posted on 6/4/2017 7:19:13 PM |
Chinese programming Android development
Posted on 6/5/2017 2:26:58 PM |
The sofa of Stephen Stephen Stephen

Score

Number of participants1MB-1 contribute-1 Collapse reason
QWERTYU -1 -1 Please do not pour water, it is the duty of every member to improve the reply information.

See all ratings

Posted on 6/5/2017 2:27:25 PM |
Stephen Stephen Stephen is utility bill

Score

Number of participants1MB-1 contribute-1 Collapse reason
QWERTYU -1 -1 Please do not pour water, it is the duty of every member to improve the reply information.

See all ratings

Posted on 6/5/2017 8:18:02 PM |

The landlord's mobile phone program can also be written
 Landlord| Posted on 6/5/2017 8:38:51 PM |
2237701589 Posted on 2017-6-5 20:18
The landlord's mobile phone program can also be written

Will a little bit, know a little
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com