Alert application source code and note application source code

Source: Internet
Author: User
Tags time and date

Alert application source code and note application source code

Recently, there was a small module of my schedule in the company project. Let me do it. This is also my first time most similar to this kind of thing. So I made a demo and studied The results first.
<Ignore_js_op>
Long press a date to jump to the page for adding a calendar,
<Ignore_js_op>
The return and save buttons are displayed on the titlebar. You can click the date to exit the date control,
<Ignore_js_op> This is the date Selection control, and the demo ends here. However, I added many logic optimization and bug modifications to the project, and added a new page to go to the calendar editing page by clicking the calendar list on the home page ,:
<Ignore_js_op> in fact, it uses the same layout as the calendar, but adds a delete button to hide and display it based on the jump entry. This demo does not contain this function, because it involves some database modifications and so on. I will upload the demo to share with you, another question raised by my colleagues is how to enable this application before reminding me of the Schedule alarm.

Http://android.662p.com/thread-5845-1-1.html


Easy language Notepad source code

. Version 2
. Supports library iext2
. Supports library iext
. Supports library eAPI

. Assembly window assembly 1
. Assembly variable file path, text type
. Whether the Assembly variable is currently typing, logical

. Subroutine _ super edit box 1 _ the content is changed, and the color of the Super edit box is changed.
. Local variable color, character format

Color. text color = color value (random number (0,255), random number (0,255), random number (0,255 ))
Super edit box 1. Set the character format (color) of the selection area)
Status Entry 1. set text (0, "line" + to text (Super edit box 1. number of rows () + "text length" + to text (Super edit box 1. take the text length ()))

. Subroutine _ start window _ created, and set general dialog box

General Dialog Box 1. Filter = "txt | *. txt"
General Dialog Box 1. default file suffix = "txt"
General Dialog Box 1. Title = "legend notepad save dialog box ..."
_ Time and date _ selected ()
_ Hyun Yin skin _ selected ()
Memorandum reminder ()

. Subroutine _ start window _ The position is changed, and the super edit box is also changed after the position is changed (Button 1 also changes)

. If it is true (_ start window. Position = 3)
Super edit box 1. width = screen width ()-3
Super edit box 1. Height = screen height ()-80-button 1. Height-10
Button 1. Top edge = screen height ()-Status Bar 1. Height-100
Button 1. width = screen width ()-5
Button 1. Height = Status Bar 1. height + 10
. If it really ends
. If it is true (_ start window. Position = 0)
Super edit box 1. width = _ start window. Width-10
Super edit box 1. Height = _ startup window. Height-55-button 1. Height-10
Button 1. Top side = 200
Button 1. width = 560

. If it really ends

. Subroutine _ New _ selected, New file

. If it is true (Super edit box 1. content = "")
. If it is true (information box ("You haven't saved it yet! Do you want to save it ?", 4,) = # Yes)
General Dialog Box 1. type = 1
General Dialog Box 1. open ()
Write to file (General Dialog Box 1. file name, to the byte set (Super edit box 1. Content ))
. If it really ends

. If it really ends

. Subroutine _ Open _ selected, Open File

General Dialog Box 1. type = 0
General Dialog Box 1. open ()
. If it is true (General Dialog Box 1. File name = "")
Super edit box 1. content = to text (Read File (General Dialog Box 1. File Name ))
File Path = Common Dialog Box 1. File Name

. If it really ends

. Subroutine _ Save _ selected, Save file

. If it is true (File Path = "")
General Dialog Box 1. type = 1
General Dialog Box 1. open ()
Write to file (General Dialog Box 1. file name, to the byte set (Super edit box 1. Content ))
. If it really ends
. If it is true (File Path = "")
Write to file (file path, to the byte set (Super edit box 1. Content ))
. If it really ends

. Subroutine _ Save to _ selected, Save As file

General Dialog Box 1. type = 1
General Dialog Box 1. open ()
. If it is true (General Dialog Box 1. File name = "")
Write to file (General Dialog Box 1. file name, to the byte set (Super edit box 1. Content ))
. If it really ends

. Subroutine _ withdrawal ...... remaining full text>

Use NotePad to open the application and display the binary code or what is useful.

Currently, all programs are shelled, and the code is directly opened after being shelled. these codes are useless to non-professionals. if you want to know the source code of the program, you need to decompress the program code, Shell and so on ....

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.