java - Writting pseudocode for android app -


I'm trying to write a pseudocode for an Android GPS app, for example, I know that there is no standard but it Is this acceptable or a better and more obvious way?

  Define class main activity handles the Android activity class and applies the LocationListener interface Override zero on startup MainActivity Start the CREATE method of the activity class Setting the buttons of the main screen layout: Set To set 'My Point Button' to set the 'Geolocation Class Set' Settings Button 'Setting Class Set' Address Button 'To Set Up My Address Class A 'help image_button' to begin the help class, override the zero, the resumption method of the activity class, the initial request will end every 5 seconds // and so on  

and activity life cycle What about representing? Can it represent this kind of?

  When activity was created ........... when done the activity was resumed and //  

and then I will write to other classes

thanks

A high-level description of the pseudocode algorithm is. Therefore, it is best to avoid using language-specific words or low-level expressions and structures. The goal of pseudocode is to describe such algorithms that it can be implemented in any language. (Possibly as much as possible).

For example, , applicable , zero , override , etc.

Although (almost) writing any pseudo code will be technically valid, you should try to follow a structured syntax, whether it be you or a famous person

  Process Some algorithm (number: integer) number & lt; - Number + 42 If Number & gt; 50th Number - & gt; Termination of performance if the duration of the work  

Comments