Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 6

<Project Name>

Design Document

<Project Name>
Design Document

Rapid
Quality
Systems

02 September 2015Detailed Design


In this section the detailed design of the <Project Name> is presented.

Code File: Global.java


This document contains documentation for the code file Global.java, and its contents.

Namespace: bandungRoute.paket.map
package bandungRoute.paket.map;
import java.util.ArrayList;
import android.app.Application;
import android.widget.Toast;

Class: Global
Attribute: KEY_SERVER
public String KEY_SERVER = "42a6d1543af2fd3ce638417348bd58f0";

Attribute: CHECK_USER_SERVER
public static String CHECK_USER_SERVER = "?cekpwd=1";

Attribute: NAMA_RUTE
public static String NAMA_RUTE = "?rute=1&idx=1";

Attribute: ID_RUTE
public static String ID_RUTE = "?rute=1&idx=0";

Attribute: KETERANGAN_KOORDINAT

Documentation generated using Code Rocket

Page 2 of 6

<Project Name>
Design Document

Rapid
Quality
Systems

public static String KETERANGAN_KOORDINAT = "?koordinat=1&idx=2";

Attribute: LAT_KOORDINAT
public static String LAT_KOORDINAT = "?koordinat=1&idx=3";

Attribute: LNG_KOORDINAT
public static String LNG_KOORDINAT = "?koordinat=1&idx=4";

Attribute: ID_RUTE_KOORDINAT
public static String ID_RUTE_KOORDINAT = "?koordinat=1&idx=1";

Attribute: ID_KOORDINAT
public static String ID_KOORDINAT = "?koordinat=1&idx=0";

Attribute: HOST_SERVER
public static String HOST_SERVER =
"http://www.programmerbdg.com/bdgnav/service.php";

Attribute: SPLIT_TEXT
public static String SPLIT_TEXT = "<br>";

Attribute: SPACE_TEXT
public static String SPACE_TEXT = "%20";

Attribute: SPACE_EMPTY
public static String SPACE_EMPTY = "";

Attribute: INPUT_OK
public static int INPUT_OK = -1;

Attribute: CHECK_OK
Documentation generated using Code Rocket

Page 3 of 6

<Project Name>
Design Document

Rapid
Quality
Systems

public static boolean CHECK_OK = true;

Attribute: CHECK_NOT
public static boolean CHECK_NOT = false;

Attribute: CEK_OK
public static String CEK_OK = "1";

Attribute: CEK_NOT
public static String CEK_NOT = "0";

Attribute: monthName
public String[] monthName =
{"Januari","Februari","Maret","April","Juni","Juli","Agustus","Sept
ember","Oktober","November","Desember"};

Procedure: ChangeSpace
public String ChangeSpace(String inpText)
Parameters
inpText - String
Returns String
Pseudocode
Initialise result to inpText
Try
Set result to inpText.replaceAll with " ", SPACE_TEXT
Catch Exception ex
Set result to inpText
EndTry
Return result

Flowchart

Documentation generated using Code Rocket

Page 4 of 6

<Project Name>
Design Document

Documentation generated using Code Rocket

Rapid
Quality
Systems

Page 5 of 6

<Project Name>
Design Document

Documentation generated using Code Rocket

Rapid
Quality
Systems

Page 6 of 6

You might also like