Kadir A, 2003. Pengenalan Sistem Informasi. Andi. Yogyakarta.
Kadir A, 2003. Pemrograman WEB mencakup: HTML, CSS, Java Script & PHP.
Andi. Yogyakarta.
Kadir A, 2005. Dasar Pemprograman Web dengan ASP. Andi yogyakarta:
Yogyakarta.
Kadir A , 2001. Dasar Pemprograman Web menggunakan PHP. Andi Yogyakarta: Yogyakarta.
Brady, M & Loonam, J. 2010. Exploaring the use of entity-relationship diagramming as a technique to support grounded theory inquiry. Emerald Group: Bradford.
Hariyanto B, 2004. Sistem Manajemen Basis Data. Bandung: Informarika.
Ginting, Kharisma S, 2009. Sistem Informasi Penggajian Pegawai Di SMA Methodist 1 Medan. Medan: Universitas Sumatera Utara.
Konixbam, 2009. Web Based Versus Dekstop Based Application.
Mulyadi, 2001. Sistem Akuntansi. Edisi Ketiga, Cetakan Ketiga. Jakarta: Salemba.
Musligudin M, Oktafianto, 2016. Analisis dan Perancangan Sistem Informasi Menggunakan Model Terstruktur dan UML. CV Andi Offset. Yogyakarta.
Siringoringo, Ronny B, 2015. Sistem Informasi Penggajian Pegawai PT Sucofindo Cabang Medan. Medan: Universitas Sumatera Utara.
LISTING PROGRAM
public class Homescreen extends AppCompatActivity {
EditText username, password;
Button btnLogin;
@Override
protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);
setContentView(R.layout.activity_homescreen);
username = (EditText) findViewById(R.id.username);
password = (EditText) findViewById(R.id.password);
btnLogin = (Button)findViewById(R.id.btnLogin);
btnLogin.setOnClickListener(new View.OnClickListener() { @Override
}
public class Secondactivity extends AppCompatActivity {
ImageButton btnprinter,btntablet,btnhp,btnmouse,btnpc,btnlaptop;
@Override
protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);
setContentView(R.layout.activity_secondactivity);
btnhp = (ImageButton) findViewById(R.id.btnhp);
btnlaptop = (ImageButton) findViewById(R.id.btnlaptop);
btnmouse = (ImageButton) findViewById(R.id.btnmouse);
btnpc= (ImageButton) findViewById(R.id.btnpc);
btntablet = (ImageButton) findViewById(R.id.btntblt);
btnprinter = (ImageButton) findViewById(R.id.btnprinter);
}
startActivity(i);
public class MainActivity extends AppCompatActivity { private static int splashInterval = 2500;
@Override
protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
new Handler().postDelayed(new Runnable() {
public class Laptop extends AppCompatActivity { ImageButton btn1,btn2,btn3,btn4,undo;
@Override
protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);
setContentView(R.layout.activity_laptop);
btn1 = (ImageButton) findViewById(R.id.btn1);
btn2 = (ImageButton) findViewById(R.id.btn2);
btn3 = (ImageButton) findViewById(R.id.btn3);
public class Laptop extends AppCompatActivity { ImageButton btn1,btn2,btn3,btn4,undo;
@Override
protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);
setContentView(R.layout.activity_laptop);
public class Laptop extends AppCompatActivity { ImageButton btn1,btn2,btn3,btn4,undo;
@Override
protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);
setContentView(R.layout.activity_laptop);
btn1 = (ImageButton) findViewById(R.id.btn1);
public class Ldua extends AppCompatActivity { ImageButton tr;
@Override
protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);
setContentView(R.layout.activity_ldua);
tr = (ImageButton) findViewById(R.id.tr);
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/lgnpnl"
tools:context="com.example.indridwi.myapplication.Homescreen">
<TextView
android:text="Login Form"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:id="@+id/textView"
android:textAlignment="center"
android:textSize="30sp"
android:textStyle="normal|bold" />
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPersonName"
android:ems="10"
android:id="@+id/username"
android:hint="Username"
android:layout_below="@+id/textView"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_marginTop="37dp" />
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPassword"
android:ems="10"
android:layout_below="@+id/username"
android:layout_alignParentLeft="true"
android:id="@+id/password"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
android:hint="Password" />
<Button
android:text="Log In"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/password"
android:background="@color/colorAccent"
android:layout_centerHorizontal="true"
android:id="@+id/btnLogin" />
</RelativeLayout>
Secondactivity.Java
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.example.indridwi.myapplication.Secondactivity">
<FrameLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:background="@drawable/lgnpnl"></FrameLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Selamat Datang"
android:textSize="25dp"
android:layout_marginTop="20dp"
android:gravity="center"
android:id="@+id/textView" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="65dp"
android:layout_below="@+id/textView"
android:layout_alignParentStart="true">
<ImageButton
android:id="@+id/btnhp"
</RelativeLayout>
</RelativeLayout>
Laptop.xml
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/lgnpnl"
tools:context="com.example.indridwi.myapplication.Laptop">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="16dp">
/>
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/lgnpnl"
tools:context="com.example.indridwi.myapplication.Lsatuorder">
<LinearLayout xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context="com.example.android.justjava.MainActivity">
<EditText
android:layout_width="350dp"
android:layout_height="60dp"
android:hint="Masukan nama anda"
android:id="@+id/edt_name"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<Button
android:layout_width="48dp"
android:layout_height="48dp"
android:onClick="decrement"
android:text="-" />
</LinearLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Harga"
android:textSize="30dp"
android:textAllCaps="true"
android:layout_marginBottom="16dp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="0"
android:textColor="#212121"
android:id="@+id/price_textview"
android:textSize="25dp"/>
<Button
android:layout_width="wrap_content"
android:layout_marginBottom="16dp"
android:onClick="Submitorder"
android:layout_height="wrap_content"
android:text="Order"/>
</LinearLayout>
</ScrollView>
40