• Tidak ada hasil yang ditemukan

DAFTAR PUSTAKA. Binanto, I., multimedia digital-dasar teori dan pengembangannya, yogyakarta.

N/A
N/A
Protected

Academic year: 2021

Membagikan "DAFTAR PUSTAKA. Binanto, I., multimedia digital-dasar teori dan pengembangannya, yogyakarta."

Copied!
24
0
0

Teks penuh

(1)

DAFTAR PUSTAKA

Abdullah. (2003). Tip & Trik Desain Web Dinamis dengan CSS dan JavaScript.

Jakarta: Elex Media Komputindo.

Binanto, I., 2010. multimedia digital-dasar teori dan pengembangannya, yogyakarta.

Camden R., & Matthews A. (2012). jQuery Mobile Web Development Essentials.

United Kingdom: Packt Publishing.

Myer, Thomas. 2011. Beginning Phonegap. John Wiley & Sons

Pressman, R.S. (2010), Software Engineering : a practitioner’s approach, McGraw-Hill, New York, 68.

Soekresno. (2000). Manajemen Food and Beverage Service Hotel. Jakarta:

PT.Gramedia Pustaka Utama.

Whitten, J.L., Bentley, L.D. 2007. Systems Analysis & Design Methods.(7th edition).New York: McGraw-Hill

Yudistira, Y., (2011). Membuat Aplikasi iPhone, Android & Blackberry.

ItuGampang, jakarta.

(2)

LAMPIRAN Kumpulan Kodingan

// Proses Splashscreen Java

package com.RMT;

import android.app.Activity;

import android.os.Bundle;

import android.content.Intent;

import android.widget.ProgressBar;

import android.os.Handler;

public class Loading extends Activity{

private static int progress = 0;

private int status = 0;

ProgressBar progressBar;

Handler handler = new Handler();

public void onCreate(Bundle savedInstanceState) {

super.onCreate(savedInstanceState);

setContentView(R.layout.loading);

progressBar = (ProgressBar) findViewById(R.id.progg);

new Thread(new Runnable() {

@Override public void run() {

while(status < 8){

status = loading();

handler.post(new Runnable() {

@Override public void run() {

progressBar.setProgress(status);

} });

}

handler.post(new Runnable() {

(3)

// Lanjutan koding Proses Splashscreen Java

//koding Splashscreen layout xml

@Override

public void run() {

Intent inten = new Intent(Loading.this, MenuUtama.class);

Loading.this.startActivity(inten);

Loading.this.finish();

} });

}

public int loading(){

try{

Thread.sleep(1000);

}catch(InterruptedException ie){

ie.printStackTrace();

}

return ++progress;

}

}).start();

} }

<?xml version="1.0" encoding="utf-8"?>

<LinearLayout

xmlns:android="http://schemas.android.com/apk/res/android"

android:orientation="vertical"

android:layout_width="fill_parent"

android:layout_height="fill_parent"

android:gravity="bottom"

android:background="@drawable/loading">

<ProgressBar

android:id="@+id/progg"

style="?android:attr/progressBarStyleSmall"

android:layout_gravity="center"

android:layout_width="42dp"

android:layout_height="45dp"

android:layout_marginBottom="20dp"/>

</LinearLayout>

(4)

//koding layout halaman utama xml

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"

xmlns:tools="http://schemas.android.com/tools"

android:layout_width="match_parent"

android:layout_height="match_parent"

android:paddingBottom="@dimen/activity_vertical_margin"

android:paddingLeft="@dimen/activity_horizontal_margin"

android:paddingRight="@dimen/activity_horizontal_margin"

android:paddingTop="@dimen/activity_vertical_margin"

android:background="@drawable/awal"

tools:context="com.RMT.MenuUtama" >

<Button

android:id="@+id/start"

android:layout_width="200dp"

android:layout_height="60dp"

android:layout_marginTop="100dp"

android:layout_alignParentTop="true"

android:layout_centerHorizontal="true"

android:background="@drawable/start"

android:onClick="Start"

android:layout_marginBottom="10dp"

android:text=""

android:textSize="30sp" />

<Button

android:id="@+id/about"

android:layout_width="200dp"

android:layout_height="60dp"

android:layout_marginBottom="10dp"

android:layout_alignLeft="@+id/start"

android:layout_below="@+id/start"

android:background="@drawable/about"

android:onClick="about"

android:text=""

android:textSize="30sp" />

<Button

android:id="@+id/exit"

android:layout_width="200dp"

android:layout_height="60dp"

android:layout_alignLeft="@+id/about"

android:layout_below="@+id/about"

android:layout_centerHorizontal="true"

android:background="@drawable/exit"

android:onClick="exit"

android:text="" />

</RelativeLayout>

(5)

//proses koding halaman utama Java

package com.RMT;

import android.app.Activity;

import android.app.AlertDialog;

import android.content.DialogInterface;

import android.content.Intent;

import android.os.Bundle;

import android.view.View;

public class MenuUtama extends Activity {

@Override

public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

setContentView(R.layout.menu_utama);

}

public void Start(View v){

Intent intent = new Intent(MenuUtama.this, Menu2.class);

startActivity(intent);

}

public void about(View v){

Intent intent = new Intent(MenuUtama.this, About.class);

startActivity(intent);

}

public void exit(View v){

AlertDialog.Builder alt_bld = new AlertDialog.Builder(this);

alt_bld.setMessage("Anda Yakin Ingin Keluar") .setCancelable(false)

.setPositiveButton("Ya", new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int id) {

// Action for 'Yes' Button

Intent exit = new Intent(Intent.ACTION_MAIN);

exit.addCategory(Intent.CATEGORY_HOME);

exit.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);

startActivity(exit);

} })

.setNegativeButton("Tidak", new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int id) {

// Action for 'NO' Button }

});

AlertDialog alert = alt_bld.create();

alert.show();

}

}

(6)

//

koding layout halaman about xml

//proses koding halaman about java

<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

android:layout_width="match_parent"

android:layout_height="match_parent"

android:orientation="vertical"

android:background="#8217528a" >

<TextView

android:id="@+id/isi"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:text="ISI" />

</LinearLayout>

package com.RMT;

import android.app.Activity;

import android.content.Intent;

import android.os.Bundle;

import android.view.View;

import android.widget.TextView;

public class About extends Activity { TextView isi;

@Override

public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

setContentView(R.layout.about);

isi = (TextView)findViewById(R.id.isi);

isi.setText("NAMA : DENI NUROFIK \n" +

"NIM : 4510010049 \n"+

"APLIKASI INI DI BUAT UNTUK MEMENUHI SYARAT TUGAS AKHIR TEKNIK INFORMATIKA DI UNIVERSITAS MERCUBUANA \n"+

"\n"+

"\n"+

"Email :[email protected] \n"+

"\n"+ "[email protected]");

} }

(7)

// Layout halaman pilih Provinsi xml

<?xml version="1.0" encoding="utf-8"?>

<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"

android:layout_width="match_parent"

android:layout_height="fill_parent"

android:background="@drawable/provinsi">

<LinearLayout

android:layout_width="fill_parent"

android:layout_height="wrap_content"

android:orientation="vertical" >

<Button

android:id="@+id/jateng"

android:layout_width="210dp"

android:layout_height="50dp"

android:layout_above="@+id/jatim"

android:layout_alignLeft="@+id/jatim"

android:layout_marginBottom="10dp"

android:layout_marginTop="200dp"

android:background="@drawable/jateng"

android:onClick="jateng"

android:text=""

android:textSize="20dp" />

<Button

android:id="@+id/dki"

android:layout_width="210dp"

android:layout_height="50dp"

android:layout_above="@+id/jateng"

android:layout_alignLeft="@+id/jateng"

android:layout_marginBottom="10dp"

android:background="@drawable/dki"

android:onClick="DKI"

android:text=""

android:textSize="20dp" />

<Button

android:id="@+id/Jabar"

android:layout_width="210dp"

android:layout_height="50dp"

android:layout_above="@+id/dki"

android:layout_alignRight="@+id/dki"

android:layout_marginBottom="10dp"

android:background="@drawable/jabar"

android:onClick="jabar"

android:text=""

android:textSize="20dp" />

(8)

//Lanjutan layout halaman pilih Provinsi

//Proses koding Halaman pilih Provinsi java

<Button

android:id="@+id/banten"

android:layout_width="210dp"

android:layout_height="50dp"

android:layout_above="@+id/jabar"

android:layout_alignLeft="@+id/dki"

android:layout_marginBottom="10dp"

android:background="@drawable/banten"

android:onClick="Banten"

android:text=""

android:textSize="20dp" />

<Button

android:id="@+id/jatim"

android:layout_width="210dp"

android:layout_height="50dp"

android:layout_alignParentBottom="true"

android:layout_alignParentLeft="true"

android:layout_marginBottom="40dp"

android:background="@drawable/jatim"

android:onClick="jatim"

android:text=""

android:textSize="20dp" />

</LinearLayout>

</ScrollView>

package com.RMT;

import android.app.Activity;

import android.content.Intent;

import android.os.Bundle;

import android.view.View;

public class Menu2 extends Activity {

@Override

public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

setContentView(R.layout.menu2);

}

public void Banten(View v){

Intent inten = new Intent(this, Resep_Banten.class);

startActivity(inten);

}

(9)

//lanjutan proses koding halaman pilih Provinsi

//Layout halaman pilih menu resep Provinsi Banten

public void DKI(View v){

Intent inten = new Intent(this, Resep_DKI.class);

startActivity(inten);

}

public void jabar(View v){

Intent inten = new Intent(this, Resep_Jabar.class);

startActivity(inten);

}

public void jateng(View v){

Intent inten = new Intent(this, Resep_Jateng.class);

startActivity(inten);

}

public void jatim(View v){

Intent inten = new Intent(this, Resep_Jatim.class);

startActivity(inten);

} }

<?xml version="1.0" encoding="utf-8"?>

<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"

android:layout_width="match_parent"

android:layout_height="match_parent"

android:background="@drawable/resep">

<LinearLayout

android:layout_width="fill_parent"

android:layout_height="wrap_content"

android:orientation="vertical" >

<Button

android:id="@+id/Laksa"

android:layout_width="250dp"

android:layout_height="50dp"

android:layout_alignParentTop="true"

android:layout_centerHorizontal="true"

android:layout_marginTop="150dp"

android:onClick="Laksa"

android:background="@drawable/button"

android:text="Laksa" />

(10)

//Lanjutan Layout halaman pilih menu resep Provinsi Banten

<Button

android:id="@+id/sate_bandeng"

android:background="@drawable/button"

android:layout_width="250dp"

android:layout_height="50dp"

android:layout_alignLeft="@+id/Laksa"

android:layout_below="@+id/Laksa"

android:layout_marginTop="10dp"

android:onClick="sate_bandeng"

android:text="Sate Bandeng" />

<Button

android:id="@+id/nasi_sumsum"

android:background="@drawable/button"

android:layout_width="250dp"

android:layout_height="50dp"

android:layout_alignLeft="@+id/sate_bandeng"

android:layout_below="@+id/sate_bandeng"

android:layout_marginTop="10dp"

android:onClick="nasi_sumsum"

android:text="Nasi Sumsum" />

<Button

android:id="@+id/Rabeg"

android:background="@drawable/button"

android:layout_width="250dp"

android:layout_height="50dp"

android:layout_alignLeft="@+id/nasi_sumsum"

android:layout_below="@+id/nasi_sumsum"

android:layout_marginTop="10dp"

android:onClick="Rabeg"

android:text="Rabeg" />

<Button

android:id="@+id/pecak_bandeng"

android:background="@drawable/button"

android:layout_width="250dp"

android:layout_height="50dp"

android:layout_alignLeft="@+id/Rabeg"

android:layout_below="@+id/Rabeg"

android:layout_marginTop="10dp"

android:layout_marginBottom="50dp"

android:onClick="pecak_bandeng"

android:text="Pecak Bandeng" />

</LinearLayout>

</ScrollView>

(11)

//Proses koding halaman menu resep Provinsi Banten package com.RMT;

import android.app.Activity;

import android.content.Intent;

import android.os.Bundle;

import android.view.View;

public class Resep_Banten extends Activity {

@Override

public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

setContentView(R.layout.resep_banten);

}

public void Laksa(View v){

Intent inten = new Intent(this, Banten_Laksa.class);

startActivity(inten);

}

public void sate_bandeng(View v){

Intent inten = new Intent(this, Banten_Sate_Bandeng.class);

startActivity(inten);

}

public void nasi_sumsum(View v){

Intent inten = new Intent(this, Banten_Nasi_Sumsum.class);

startActivity(inten);

}

public void Rabeg(View v){

Intent inten = new Intent(this, Banten_Rabeg.class);

startActivity(inten);

}

public void pecak_bandeng(View v){

Intent inten = new Intent(this, Banten_Pecak_Bandeng.class);

startActivity(inten);

}

public void DKI(View v){

Intent inten = new Intent(this, MenuUtama.class);

startActivity(inten);

}

}

(12)

//Layout halaman pilih menu resep Provinsi DKI

<?xml version="1.0" encoding="utf-8"?>

<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"

android:layout_width="match_parent"

android:layout_height="match_parent"

android:background="@drawable/resep">

<LinearLayout

android:layout_width="fill_parent"

android:layout_height="wrap_content"

android:orientation="vertical" >

<Button

android:id="@+id/soto_betawi"

android:layout_width="250dp"

android:layout_height="50dp"

android:layout_alignParentTop="true"

android:layout_centerHorizontal="true"

android:layout_marginTop="150dp"

android:onClick="soto_betawi"

android:background="@drawable/button"

android:text="Soto Betawi" />

<Button

android:id="@+id/gado_gado"

android:background="@drawable/button"

android:layout_width="250dp"

android:layout_height="50dp"

android:layout_alignLeft="@+id/soto_betawi"

android:layout_below="@+id/soto_betawi"

android:layout_marginTop="10dp"

android:onClick="gado_gado"

android:text="gado_gado" />

<Button

android:id="@+id/semur_jengkol"

android:background="@drawable/button"

android:layout_width="250dp"

android:layout_height="50dp"

android:layout_alignLeft="@+id/gado_gado"

android:layout_below="@+id/gado_gado"

android:layout_marginTop="10dp"

android:onClick="semur_jengkol"

android:text="Semur Jengkol" />

<Button

android:id="@+id/lontong_sayur"

android:background="@drawable/button"

android:layout_width="250dp"

android:layout_height="50dp"

android:layout_alignLeft="@+id/semur_jengkol"

android:layout_below="@+id/semur_jengkol"

android:layout_marginTop="10dp"

android:onClick="lontong_sayur"

android:text="Lontong Sayur" />

(13)

//Lanjutan Layout halaman pilih menu resep Provinsi DKI

//Proses koding halaman pilih menu resep Provinsi DKI

<Button

android:id="@+id/tauge_goreng"

android:background="@drawable/button"

android:layout_width="250dp"

android:layout_height="50dp"

android:layout_alignLeft="@+id/lontong_sayur"

android:layout_below="@+id/lontong_sayur"

android:layout_marginTop="10dp"

android:onClick="tauge_goreng"

android:layout_marginBottom="50dp"

android:text="Tauge Goreng" />

</LinearLayout>

</ScrollView>

import android.app.Activity;

import android.content.Intent;

import android.os.Bundle;

import android.view.View;

public class Resep_DKI extends Activity {

@Override

public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

setContentView(R.layout.resep_dki);

}

public void soto_betawi(View v){

Intent inten = new Intent(this, DKI_Soto.class);

startActivity(inten);

}

public void gado_gado(View v){

Intent inten = new Intent(this, DKI_Gado_Gado.class);

startActivity(inten);

}

public void semur_jengkol(View v){

Intent inten = new Intent(this, DKI_Semur_Jengkol.class);

startActivity(inten);

}

public void lontong_sayur(View v){

Intent inten = new Intent(this, DKI_Lontong_Sayur.class);

startActivity(inten);

}

http://digilib.mercubuana.ac.id/

(14)

//Lanjutan proses koding halaman pilih menu resep provinsi DKI

//Layout halaman pilih menu resep Provinsi Jawa Barat

public void tauge_goreng(View v){

Intent inten = new Intent(this, DKI_Tauge_Goreng.class);

startActivity(inten);

} }

<?xml version="1.0" encoding="utf-8"?>

<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"

android:layout_width="match_parent"

android:layout_height="match_parent"

android:background="@drawable/resep" >

<LinearLayout

android:layout_width="fill_parent"

android:layout_height="wrap_content"

android:orientation="vertical" >

<Button

android:id="@+id/empal_gentong"

android:layout_width="210dp"

android:layout_marginBottom="10dp"

android:layout_height="50dp"

android:layout_alignParentTop="true"

android:layout_centerHorizontal="true"

android:layout_marginTop="150dp"

android:onClick="empal_gentong"

android:background="@drawable/button"

android:text=" Empal Gentong" />

<Button

android:id="@+id/karedok"

android:background="@drawable/button"

android:layout_width="210dp"

android:layout_height="50dp"

android:layout_alignLeft="@+id/empal_gentong"

android:layout_below="@+id/empal_gentong"

android:layout_marginBottom="10dp"

android:onClick="karedok"

android:text=" Karedok" />

<Button

android:id="@+id/nasi_lengko"

android:background="@drawable/button"

android:layout_width="210dp"

android:layout_height="50dp"

android:layout_alignLeft="@+id/karedok"

android:layout_below="@+id/karedok"

android:layout_marginBottom="10dp"

android:onClick="nasi_lengko"

android:text="Nasi Lengko" />

(15)

//Lanjutan layout halaman pilih menu resep Provinsi Jawa Barat

//Proses koding halaman pilih menu resep Provinsi Jawa Barat

<Button

android:id="@+id/mie_kocok"

android:layout_width="210dp"

android:background="@drawable/button"

android:layout_height="50dp"

android:layout_alignLeft="@+id/nasi_lengko"

android:layout_below="@+id/nasi_lengko"

android:layout_marginBottom="10dp"

android:onClick="mie_kocok"

android:text="Mie Kocok Bandung" />

<Button

android:id="@+id/nasi_tutug"

android:background="@drawable/button"

android:layout_width="210dp"

android:layout_height="50dp"

android:layout_alignLeft="@+id/nasi_tutug"

android:layout_below="@+id/nasi_tutug"

android:onClick="nasi_tutug"

android:layout_marginBottom="50dp"

android:text=" Nasi Tutug Oncom" />

</LinearLayout>

</ScrollView>

package com.RMT;

import android.app.Activity;

import android.content.Intent;

import android.os.Bundle;

import android.view.View;

public class Resep_Jabar extends Activity {

@Override

public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

setContentView(R.layout.resep_jabar);

}

public void nasi_tutug(View v){

Intent inten = new Intent(this, Jabar_Nasi_Tutug.class);

startActivity(inten);

}

public void empal_gentong(View v){

Intent inten = new Intent(this, Jabar_Empal_Gentong.class);

startActivity(inten);

}

(16)

//Lanjutan proses koding halaman pilih menu resep Provinsi Jawa Barat

//Layout halaman pilih menu resep Provinsi Jawa Tengah

public void karedok(View v){

Intent inten = new Intent(this, Jabar_Karedok.class);

startActivity(inten);

}

public void nasi_lengko(View v){

Intent inten = new Intent(this, Jabar_Nasi_Lengko.class);

startActivity(inten);

}

public void mie_kocok(View v){

Intent inten = new Intent(this, Jabar_Mie_Kocok.class);

startActivity(inten);

} }

<?xml version="1.0" encoding="utf-8"?>

<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"

android:layout_width="match_parent"

android:layout_height="match_parent"

android:background="@drawable/resep">

<LinearLayout

android:layout_width="fill_parent"

android:layout_height="50dp"

android:orientation="vertical" >

<Button

android:id="@+id/soto_kudus"

android:layout_width="250dp"

android:layout_height="50dp"

android:layout_alignParentTop="true"

android:layout_centerHorizontal="true"

android:layout_marginTop="150dp"

android:onClick="soto_kudus"

android:background="@drawable/button"

android:text="Soto Kudus" />

(17)

//Lanjutan layout halaman pilih menu resep Provinsi Jawa Tengah

<Button

android:id="@+id/lumpia"

android:background="@drawable/button"

android:layout_width="250dp"

android:layout_height="50dp"

android:layout_alignLeft="@+id/soto_kudus"

android:layout_below="@+id/soto_kudus"

android:layout_marginTop="10dp"

android:onClick="lumpia"

android:text="Lumpia Semarang" />

<Button

android:id="@+id/nasi_gandul"

android:layout_width="250dp"

android:background="@drawable/button"

android:layout_height="50dp"

android:layout_alignLeft="@+id/lumpia"

android:layout_below="@+id/lumpia"

android:layout_marginTop="10dp"

android:onClick="nasi_gandul"

android:text="Nasi Gandul" />

<Button

android:id="@+id/tahu_petis"

android:background="@drawable/button"

android:layout_width="250dp"

android:layout_height="50dp"

android:layout_alignLeft="@+id/nasi_gandul"

android:layout_below="@+id/nasi_gandul"

android:layout_marginTop="10dp"

android:onClick="tahu_petis"

android:text="Tahu Petis" />

<Button

android:id="@+id/tengkleng_kambing"

android:background="@drawable/button"

android:layout_width="250dp"

android:layout_height="50dp"

android:layout_alignLeft="@+id/tahu_petis"

android:layout_below="@+id/tahu_petis"

android:layout_marginTop="10dp"

android:layout_marginBottom="50dp"

android:onClick="tengkleng_kambing"

android:text="Tengkleng Kambing" />

</LinearLayout>

</ScrollView>

(18)

//Proses koding halaman pilih menu resep Provinsi Jawa Tengah

package com.RMT;

import android.app.Activity;

import android.content.Intent;

import android.os.Bundle;

import android.view.View;

public class Resep_Jateng extends Activity {

@Override

public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

setContentView(R.layout.resep_jateng);

}

public void soto_kudus(View v){

Intent inten = new Intent(this, Jateng_Soto_Kudus.class);

startActivity(inten);

}

public void lumpia(View v){

Intent inten = new Intent(this, Jateng_Lumpia.class);

startActivity(inten);

}

public void nasi_gandul(View v){

Intent inten = new Intent(this, Jateng_Nasi_Gandul.class);

startActivity(inten);

}

public void tahu_petis(View v){

Intent inten = new Intent(this, Jateng_Tahu_Petis.class);

startActivity(inten);

}

public void tengkleng_kambing(View v){

Intent inten = new Intent(this, Jateng_Tengkleng_Kambing.class);

startActivity(inten);

}

}

(19)

//Layout halaman pilih menu resep Provinsi Jawa Timur

<?xml version="1.0" encoding="utf-8"?>

<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"

android:layout_width="match_parent"

android:layout_height="match_parent"

android:background="@drawable/resep" >

<LinearLayout

android:layout_width="fill_parent"

android:layout_height="wrap_content"

android:orientation="vertical" >

<Button

android:id="@+id/rawon"

android:layout_width="210dp"

android:layout_marginBottom="10dp"

android:layout_height="50dp"

android:layout_alignParentTop="true"

android:layout_centerHorizontal="true"

android:layout_marginTop="150dp"

android:onClick="rawon"

android:background="@drawable/button"

android:text=" Rawon" />

<Button

android:id="@+id/rujak_cingur"

android:background="@drawable/button"

android:layout_width="210dp"

android:layout_height="50dp"

android:layout_alignLeft="@+id/rawon"

android:layout_below="@+id/rawon"

android:layout_marginBottom="10dp"

android:onClick="rujak_cingur"

android:text=" Rujak Cingur" />

<Button

android:id="@+id/lontong_balap"

android:background="@drawable/button"

android:layout_width="210dp"

android:layout_height="50dp"

android:layout_alignLeft="@+id/rujak_cingur"

android:layout_below="@+id/rujak_cingur"

android:layout_marginBottom="10dp"

android:onClick="lontong_balap"

android:text="Lontong Balap" />

<Button

android:id="@+id/soto_lamongan"

android:layout_width="210dp"

android:background="@drawable/button"

android:layout_height="50dp"

android:layout_alignLeft="@+id/lontong_balap"

android:layout_below="@+id/lontong_balap"

android:layout_marginBottom="10dp"

android:onClick="soto_lamongan"

android:text=" Soto Lamongan" />

<Button

android:id="@+id/nasi_tumpang"

android:background="@drawable/button"

android:layout_width="210dp"

android:layout_height="50dp"

http://digilib.mercubuana.ac.id/

(20)

//Lanjutan layout halaman pilih menu resep Provinsi Jawa Timur

//Proses koding halaman pilih menu resep Provinsi Jawa Timur

<Button

android:id="@+id/nasi_tumpang"

android:background="@drawable/button"

android:layout_width="210dp"

android:layout_height="50dp"

android:layout_alignLeft="@+id/soto_lamongan"

android:layout_below="@+id/soto_lamongan"

android:onClick="nasi_tumpang"

android:layout_marginBottom="50dp"

android:text=" Nasi Tumpang" />

</LinearLayout>

</ScrollView>

package com.RMT;

import android.app.Activity;

import android.content.Intent;

import android.os.Bundle;

import android.view.View;

public class Resep_Jatim extends Activity {

@Override

public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

setContentView(R.layout.resep_jatim);

}

public void rawon(View v){

Intent inten = new Intent(this, Jatim_Rawon.class);

startActivity(inten);

}

public void rujak_cingur(View v){

Intent inten = new Intent(this, Jatim_Rujak_Cingur.class);

startActivity(inten);

}

(21)

//Lanjutan Proses koding halaman menu resep Provinsi Jawa Timur

//Layout halaman resep masak

public void lontong_balap(View v){

Intent inten = new Intent(this, Jatim_Lontong_Balap.class);

startActivity(inten);

}

public void soto_lamongan(View v){

Intent inten = new Intent(this, Jatim_Soto_Lamongan.class);

startActivity(inten);

}

public void nasi_tumpang(View v){

Intent inten = new Intent(this, Jatim_Nasi_Tumpang.class);

startActivity(inten);

} }

<?xml version="1.0" encoding="utf-8"?>

<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"

android:layout_width="match_parent"

android:layout_height="fill_parent"

android:background="#8217528a"

>

<LinearLayout

android:layout_width="fill_parent"

android:layout_height="wrap_content"

android:orientation="vertical" >

<ImageView

android:id="@+id/imageView1"

android:layout_width="fill_parent"

android:layout_height="200dp"

android:layout_marginBottom="47dp"

android:src="@drawable/banten_laksa" />

<Button

android:id="@+id/play"

android:onClick="play"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:text="Play" />

<TextView

android:id="@+id/isi"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:text="" />

</LinearLayout>

</ScrollView>

http://digilib.mercubuana.ac.id/

(22)

//Proses koding halaman resep masak

package com.RMT;

import android.app.Activity;

import android.content.Intent;

import android.os.Bundle;

import android.view.View;

import android.widget.TextView;

public class Jateng_Tahu_Petis extends Activity { TextView isi;

@Override

public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

setContentView(R.layout.jateng_tahu_petis);

isi = (TextView)findViewById(R.id.isi);

isi.setText("Bahan BahanTahu Petis \n "+

" \n "+

"· Tahu 4 buah \n "+

"· Petis udang 1 sendok makan \n "+

"· Gula merah 1 sendok makan \n "+

"· Lengkuas 1 ruas \n "+

"· Bawang putih 3 siung \n "+

"· Kecap manis 1 sendok makan \n "+

"· air secukupnya \n "+

"· tepung tapioka secukupnya \n "+

"· Garam secukupnya \n "+

"· lada secukupnya \n "+

" \n "+

"Cara Membuat Tahu Petis \n "+

" \n "+

"· goreng tahu hingga matang,angkat dan tiriskan \n "+

"· tumis bawang putih,dan lengkuas sampai terasa harum,masukan gula merah,kecap ,garam,merica dan petisnya,aduk sampai rata dan tambahkan sedikit air \n "+"\n"+

"· Masukan tepungb tapioka kedalam saus,aduk hingga rata

\n "+"\n"+

"· Campur tahu goreng dan siramkan saus petis nya \n

"+"\n"+

"· Tahu petis siap dihidangkan \n ");

}

public void play_tahu(View v){

Intent inten = new Intent(this, Video_Tahu.class);

startActivity(inten);

}

}

(23)

/layout halaman video

//Proses koding halaman Video

<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

android:orientation="vertical"

android:layout_width="fill_parent"

android:layout_height="fill_parent">

<VideoView android:id="@+id/videoView"

android:layout_height="fill_parent"

android:layout_width="fill_parent"/>

</LinearLayout>

package com.RMT;

import android.app.Activity;

import android.net.Uri;

import android.os.Bundle;

import android.widget.MediaController;

import android.widget.Toast;

import android.widget.VideoView;

public class Video_Cingur extends Activity { /** Called when the activity is first created. */

@Override

public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

setContentView(R.layout.video);

VideoView videoView =(VideoView)findViewById(R.id.videoView);

MediaController mediaController= new MediaController(this);

mediaController.setAnchorView(videoView);

Uri uri=Uri.parse("android.resource://"+getPackageName()+"/"+R.raw.rujak);

videoView.setMediaController(mediaController);

videoView.setVideoURI(uri);

videoView.requestFocus();

videoView.start();

}

}

(24)

Referensi

Dokumen terkait

FAKTOR-FAKTOR RISIKO YANG BERKAITAN DENGAN PREVALENSI KURANG TIDUR KRONIS PADA MAHASISWA.. DI DAERAH

Penjajaran adalah sistem penataan rekam medis dalam sekuens yang khusus agar rujukan dan pengambilan kembali menjadi mudah dan cepat.Tujuan penelitian ini adalah untuk mengetahui

Spesifikasi Pekerjaan Pengadaan Peralatan Akses Mobile Phone untuk Server Email.. No Uraian

SASARAN PRIORITAS PEMBANGUNAN : 3.1 Meningkatnya jumlah rumah layak huni serta meningkatnya kualitas lingkungan perumahan.

Penelitian ini bertujuan mendeskripsikan penerapan model problem based learning dan menemukan peningkatan kemampuan pemecahan masalah siswa, peningkatan aktivitas belajar

JUDUL : DONOR MATA DI INDONESIA SANGAT RENDAH MEDIA : REPUBLIKA. TANGGAL : 13

penduduk, peperangan antar kelompok, pahlawan pada masa lalu, pergantian kekuasaan raja, dan sebagainya. Berdasarkan pengamatan peneliti, cerita legenda yang ada di

Cloud computing adalah sebuah bentuk komputasi berbasis internet yang menyediakan layanan pemrosesan komputer bersama dan data kepada komputer maupun perangkat lain