Android Lessons

Submitted by: Submitted by

Views: 135

Words: 4505

Pages: 19

Category: Other Topics

Date Submitted: 04/10/2014 08:51 AM

Report This Essay

Basic language

In computer programming, basic (an acronym which stands for Beginner's All-Purpose Symbolic Instruction Code) is a family of high-level programming languages designed to be easy to use. the original dartmouth basic was designed in 1964 by john george kemeny and thomas eugene kurtz at Dartmouth College in New Hampshire, Usa to provide computer access to non-science students. At the time, nearly all use of computers required writing custom software, which was something only scientists and mathematicians tended to do. the language and its variants became widespread on microcomputers in the late 1970s and 1980s. basic remains popular to this day in a handful of highly modified dialects and new languages influenced by basic such as microsoft visual basic.

Program flow

This is a summary of the more detailed explanations in process and activity life cycle.

'Activity module

Sub process_globals

'These global variables will be declared once when the application starts.

'These variables can be accessed from all modules.

End sub

Sub globals

'These global variables will be redeclared each time the activity is created.

'These variables can only be accessed from this module.

End sub

Sub activity_create(firsttime as boolean)

End sub

Sub activity_resume

End sub

Sub activity_pause (userclosed as boolean)

End sub

The program goes through following routines when starting from top to down

Process_Globals Routine

Dedicated to the declaration of process global variables. Variables that are valid during the whole life time of the process and accessible from everywhere in the program.

Globals Routine

Dedicated to the declaration of activity global variables. Variables that are valid only during the life Time of the activity and accessible only insides the activity. As soon as the activity is paused, these variables are no more available

Activity_Create (Firsttime As Boolean) Routine

Area to...