• Tidak ada hasil yang ditemukan

Aplikasi Pembelajaran Penggunaan Sistem Operasi Windows 7 Berbasis Android Mobile

N/A
N/A
Protected

Academic year: 2017

Membagikan "Aplikasi Pembelajaran Penggunaan Sistem Operasi Windows 7 Berbasis Android Mobile"

Copied!
32
0
0

Teks penuh

(1)

Listing Program :

1. Android Manifest.xml

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

xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.fauzansaef.penggunaanwindows7">

<uses-permission

android:name="android.permission.INTERNET" />

<application

android:allowBackup="true"

android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:supportsRtl="true"

android:theme="@style/AppTheme"> android:name=".JSONParser">

<activity android:name=".home"> <intent-filter>

<action

android:name="android.intent.action.MAIN" />

<category

android:name="android.intent.category.LAUNCHER" /> </intent-filter>

</activity>

<activity android:name=".materi" /> <activity android:name=".soal" /> <activity android:name=".video" /> <activity android:name=".about" /> <activity android:name=".help" />

(2)

<activity android:name=".tampilmateri4" />

<activity android:name=".tampilmateri5"></activity> </application>

</manifest>

2. home.java

package com.example.fauzansaef.penggunaanwindows7;

import android.content.Intent;

import android.support.v7.app.AppCompatActivity; import android.os.Bundle;

import android.view.View;

import android.widget.ImageButton;

public class home extends AppCompatActivity {

@Override

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

setContentView(R.layout.activity_home);

ImageButton a = (ImageButton) findViewById(R.id.btnmateri);

a.setOnClickListener(new View.OnClickListener() { public void onClick(View v) {

Intent pindah = new Intent(home.this, materigadar.class);

startActivity(pindah); }

(3)

ImageButton b = (ImageButton) findViewById(R.id.btnsoal);

b.setOnClickListener(new View.OnClickListener() { public void onClick(View v) {

Intent pindah = new Intent(home.this, soalgadar.class);

startActivity(pindah); }

});

ImageButton c = (ImageButton) findViewById(R.id.btnvideo);

c.setOnClickListener(new View.OnClickListener() { public void onClick(View v) {

Intent pindah = new Intent(home.this, videogadar.class);

startActivity(pindah);

} });

ImageButton d = (ImageButton) findViewById(R.id.btnabout);

d.setOnClickListener(new View.OnClickListener() { public void onClick(View v) {

Intent pindah = new Intent(home.this, aboutgadar.class);

startActivity(pindah);

} });

(4)

e.setOnClickListener(new View.OnClickListener() { public void onClick(View v) {

Intent pindah = new Intent(home.this, helpgadar.class);

startActivity(pindah);

} });

} }

3. JSONParser.java

package com.example.fauzansaef.penggunaanwindows7;

import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream;

import java.io.InputStreamReader;

import java.io.UnsupportedEncodingException; import java.util.List;

import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.NameValuePair;

import org.apache.http.client.ClientProtocolException; import org.apache.http.client.entity.UrlEncodedFormEntity; import org.apache.http.client.methods.HttpGet;

import org.apache.http.client.methods.HttpPost;

import org.apache.http.client.utils.URLEncodedUtils; import org.apache.http.impl.client.DefaultHttpClient; import org.json.JSONException;

(5)

import android.util.Log;

public class JSONParser {

static InputStream is = null; static JSONObject jObj = null; static String json = "";

// constructor

public JSONParser() { }

// function get json from url

// by making HTTP POST or GET mehtod

public JSONObject makeHttpRequest(String url, String method,

List<NameValuePair> params) {

// Making HTTP request try {

// check for request method if (method == "POST") {

// request method is POST // defaultHttpClient

DefaultHttpClient httpClient = new DefaultHttpClient();

HttpPost httpPost = new HttpPost(url); httpPost.setEntity(new

UrlEncodedFormEntity(params));

HttpResponse httpResponse = httpClient.execute(httpPost);

HttpEntity httpEntity = httpResponse.getEntity();

(6)
(7)

}

// try parse the string to a JSON object try {

jObj = new JSONObject(json); } catch (JSONException e) {

Log.e("JSON Parser", "Error parsing data " + e.toString());

}

// return JSON String return jObj;

} }

4. materi.java

package com.example.fauzansaef.penggunaanwindows7;

import android.content.Intent;

import android.support.v7.app.AppCompatActivity; import android.os.Bundle;

import android.view.View; import android.widget.Button;

public class materi extends AppCompatActivity {

Button btncarainstalasi, btnedisi, btnfitur, btnkelebihankekurangan, btnsejarah;

Intent intent;

@Override

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

(8)

btncarainstalasi = (Button)findViewById(R.id.button); btnedisi = (Button)findViewById(R.id.button2);

btnfitur = (Button)findViewById(R.id.button3); btnkelebihankekurangan =

(Button)findViewById(R.id.button4);

btnsejarah = (Button)findViewById(R.id.button5);

btncarainstalasi.setOnClickListener(onClickListener); btnedisi.setOnClickListener(onClickListener);

btnfitur.setOnClickListener(onClickListener);

btnkelebihankekurangan.setOnClickListener(onClickListener); btnsejarah.setOnClickListener(onClickListener); }

public View.OnClickListener onClickListener = new View.OnClickListener() {

@Override

public void onClick(View view) { switch (view.getId()){

case R.id.button:

intent = new Intent(materi.this, tampilmateri.class);

intent.putExtra("materi", "carainstalasi");

intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP);

startActivity(intent); break;

(9)

intent = new Intent(materi.this, tampilmateri2.class);

intent.putExtra("materi", "edisi");

intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP);

startActivity(intent); break;

case R.id.button3:

intent = new Intent(materi.this, tampilmateri3.class);

intent.putExtra("materi", "fitur");

intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP);

startActivity(intent); break;

case R.id.button4:

intent = new Intent(materi.this, tampilmateri4.class);

intent.putExtra("materi", "kelebihankekurangan");

intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP);

startActivity(intent); break;

case R.id.button5:

intent = new Intent(materi.this, tampilmateri5.class);

(10)

intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP);

startActivity(intent); break;

} } }; }

5. tampilmateri.java

package com.example.fauzansaef.penggunaanwindows7;

import android.app.ProgressDialog; import android.content.Intent; import android.os.AsyncTask;

import android.support.v7.app.AppCompatActivity; import android.os.Bundle;

import android.widget.TextView;

import org.apache.http.NameValuePair; import org.json.JSONArray;

import org.json.JSONException; import org.json.JSONObject;

import java.util.ArrayList; import java.util.List;

public class tampilmateri extends AppCompatActivity {

String mtrJson = "";

(11)

private static String Url_Check = "http://10.0.2.2/kepgadar/";

private static final String TAG_SUKSES = "sukses";

private ProgressDialog pDialog; JSONArray Data_Ck=null;

TextView materi;

@Override

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

setContentView(R.layout.activity_tampilmateri);

mtrJson = "";

materi = (TextView)findViewById(R.id.textView);

it = getIntent();

Url_Check += "tampilcarainstalasi.php"; new ambilMateri().execute();

}

private class ambilMateri extends AsyncTask<Void, Void, Void> {

@Override

protected void onPreExecute() { super.onPreExecute();

// Showing progress dialog

pDialog = new ProgressDialog(tampilmateri.this); pDialog.setMessage("Please wait...");

(12)

pDialog.show(); }

@Override

protected Void doInBackground(Void... params) { JSONParser json_parser = new JSONParser();

List<NameValuePair> param = new ArrayList<NameValuePair>();

JSONObject json =

json_parser.makeHttpRequest(Url_Check, "GET", param);

try{

int sukses = json.getInt(TAG_SUKSES); if(sukses == 1){

Data_Ck = json.getJSONArray("data"); for (int i = 0; i < Data_Ck.length(); i++){

JSONObject chk = Data_Ck.getJSONObject(i);

mtrJson = chk.getString("materi"); }

}

}catch (JSONException e){ e.printStackTrace(); }

(13)

@Override

protected void onPostExecute(Void aVoid) { pDialog.dismiss();

super.onPostExecute(aVoid);

materi.setText(mtrJson); }

}

@Override

public void onBackPressed() { super.onBackPressed();

Intent intent = new Intent(tampilmateri.this, com.example.fauzansaef.penggunaanwindows7.materi.class); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP);

startActivity(intent);

} }

6. tampilmateri2.java

package com.example.fauzansaef.penggunaanwindows7;

import android.app.ProgressDialog; import android.content.Intent; import android.os.AsyncTask;

import android.support.v7.app.AppCompatActivity; import android.os.Bundle;

import android.widget.TextView;

import org.apache.http.NameValuePair; import org.json.JSONArray;

(14)

import org.json.JSONObject;

import java.util.ArrayList; import java.util.List;

public class tampilmateri2 extends AppCompatActivity { String mtrJson = "";

Intent it;

private static String Url_Check = "http://10.0.2.2/kepgadar/";

private static final String TAG_SUKSES = "sukses";

private ProgressDialog pDialog; JSONArray Data_Ck=null;

TextView materi;

@Override

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

setContentView(R.layout.activity_tampilmateri);

mtrJson = "";

materi = (TextView)findViewById(R.id.textView);

it = getIntent();

Url_Check += "tampiledisi.php"; new ambilMateri().execute();

(15)

private class ambilMateri extends AsyncTask<Void, Void, Void> {

@Override

protected void onPreExecute() { super.onPreExecute();

// Showing progress dialog

pDialog = new ProgressDialog(tampilmateri2.this); pDialog.setMessage("Please wait...");

pDialog.setCancelable(false); pDialog.show();

}

@Override

protected Void doInBackground(Void... params) { JSONParser json_parser = new JSONParser();

List<NameValuePair> param = new ArrayList<NameValuePair>();

JSONObject json =

json_parser.makeHttpRequest(Url_Check, "GET", param);

try{

int sukses = json.getInt(TAG_SUKSES); if(sukses == 1){

Data_Ck = json.getJSONArray("data"); for (int i = 0; i < Data_Ck.length(); i++){

(16)

mtrJson = chk.getString("materi"); }

}

}catch (JSONException e){ e.printStackTrace(); }

return null; }

@Override

protected void onPostExecute(Void aVoid) { pDialog.dismiss();

super.onPostExecute(aVoid);

materi.setText(mtrJson); }

}

@Override

public void onBackPressed() { super.onBackPressed();

Intent intent = new Intent(tampilmateri2.this, com.example.fauzansaef.penggunaanwindows7.materi.class); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP);

startActivity(intent);

(17)

7. tampilmateri3.java

package com.example.fauzansaef.penggunaanwindows7;

import android.app.ProgressDialog; import android.content.Intent; import android.os.AsyncTask;

import android.support.v7.app.AppCompatActivity; import android.os.Bundle;

import android.widget.TextView;

import org.apache.http.NameValuePair; import org.json.JSONArray;

import org.json.JSONException; import org.json.JSONObject;

import java.util.ArrayList; import java.util.List;

public class tampilmateri3 extends AppCompatActivity { String mtrJson = "";

Intent it;

private static String Url_Check = "http://10.0.2.2/kepgadar/";

private static final String TAG_SUKSES = "sukses";

private ProgressDialog pDialog; JSONArray Data_Ck=null;

TextView materi;

@Override

(18)

setContentView(R.layout.activity_tampilmateri);

mtrJson = "";

materi = (TextView)findViewById(R.id.textView);

it = getIntent();

Url_Check += "tampilfitur.php"; new ambilMateri().execute();

}

private class ambilMateri extends AsyncTask<Void, Void, Void> {

@Override

protected void onPreExecute() { super.onPreExecute();

// Showing progress dialog

pDialog = new ProgressDialog(tampilmateri3.this); pDialog.setMessage("Please wait...");

pDialog.setCancelable(false); pDialog.show();

}

@Override

protected Void doInBackground(Void... params) { JSONParser json_parser = new JSONParser();

List<NameValuePair> param = new ArrayList<NameValuePair>();

JSONObject json =

(19)

try{

int sukses = json.getInt(TAG_SUKSES); if(sukses == 1){

Data_Ck = json.getJSONArray("data"); for (int i = 0; i < Data_Ck.length(); i++){

JSONObject chk = Data_Ck.getJSONObject(i);

mtrJson = chk.getString("materi"); }

}

}catch (JSONException e){ e.printStackTrace(); }

return null; }

@Override

protected void onPostExecute(Void aVoid) { pDialog.dismiss();

super.onPostExecute(aVoid);

materi.setText(mtrJson); }

}

@Override

(20)

super.onBackPressed();

Intent intent = new Intent(tampilmateri3.this, com.example.fauzansaef.penggunaanwindows7.materi.class); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP);

startActivity(intent);

} }

8. tampilmateri4.java

package com.example.fauzansaef.penggunaanwindows7;

import android.app.ProgressDialog; import android.content.Intent; import android.os.AsyncTask;

import android.support.v7.app.AppCompatActivity; import android.os.Bundle;

import android.widget.TextView;

import org.apache.http.NameValuePair; import org.json.JSONArray;

import org.json.JSONException; import org.json.JSONObject;

import java.util.ArrayList; import java.util.List;

public class tampilmateri4 extends AppCompatActivity {

String mtrJson = "";

(21)

private static String Url_Check = "http://10.0.2.2/kepgadar/";

private static final String TAG_SUKSES = "sukses";

private ProgressDialog pDialog; JSONArray Data_Ck=null;

TextView materi;

@Override

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

setContentView(R.layout.activity_tampilmateri);

mtrJson = "";

materi = (TextView)findViewById(R.id.textView);

it = getIntent();

Url_Check += "tampilkelebihankekurangan.php"; new ambilMateri().execute();

}

private class ambilMateri extends AsyncTask<Void, Void, Void> {

@Override

protected void onPreExecute() { super.onPreExecute();

// Showing progress dialog

pDialog = new ProgressDialog(tampilmateri4.this); pDialog.setMessage("Please wait...");

(22)

pDialog.show(); }

@Override

protected Void doInBackground(Void... params) { JSONParser json_parser = new JSONParser();

List<NameValuePair> param = new ArrayList<NameValuePair>();

JSONObject json =

json_parser.makeHttpRequest(Url_Check, "GET", param);

try{

int sukses = json.getInt(TAG_SUKSES); if(sukses == 1){

Data_Ck = json.getJSONArray("data"); for (int i = 0; i < Data_Ck.length(); i++){

JSONObject chk = Data_Ck.getJSONObject(i);

mtrJson = chk.getString("materi"); }

}

}catch (JSONException e){ e.printStackTrace(); }

(23)

@Override

protected void onPostExecute(Void aVoid) { pDialog.dismiss();

super.onPostExecute(aVoid);

materi.setText(mtrJson); }

}

@Override

public void onBackPressed() { super.onBackPressed();

Intent intent = new Intent(tampilmateri4.this, com.example.fauzansaef.penggunaanwindows7.materi.class); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP);

startActivity(intent);

} }

9. tampilmateri5.java

package com.example.fauzansaef.penggunaanwindows7;

import android.app.ProgressDialog; import android.content.Intent; import android.os.AsyncTask;

import android.support.v7.app.AppCompatActivity; import android.os.Bundle;

import android.widget.TextView;

(24)

import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject;

import java.util.ArrayList; import java.util.List;

public class tampilmateri5 extends AppCompatActivity {

String mtrJson = "";

Intent it;

private static String Url_Check = "http://10.0.2.2/kepgadar/";

private static final String TAG_SUKSES = "sukses";

private ProgressDialog pDialog; JSONArray Data_Ck=null;

TextView materi;

@Override

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

setContentView(R.layout.activity_tampilmateri);

mtrJson = "";

materi = (TextView)findViewById(R.id.textView);

it = getIntent();

(25)

}

private class ambilMateri extends AsyncTask<Void, Void, Void> {

@Override

protected void onPreExecute() { super.onPreExecute();

// Showing progress dialog

pDialog = new ProgressDialog(tampilmateri5.this); pDialog.setMessage("Please wait...");

pDialog.setCancelable(false); pDialog.show();

}

@Override

protected Void doInBackground(Void... params) { JSONParser json_parser = new JSONParser();

List<NameValuePair> param = new ArrayList<NameValuePair>();

JSONObject json =

json_parser.makeHttpRequest(Url_Check, "GET", param);

try{

int sukses = json.getInt(TAG_SUKSES); if(sukses == 1){

(26)

JSONObject chk = Data_Ck.getJSONObject(i);

mtrJson = chk.getString("materi"); }

}

}catch (JSONException e){ e.printStackTrace(); }

return null; }

@Override

protected void onPostExecute(Void aVoid) { pDialog.dismiss();

super.onPostExecute(aVoid);

materi.setText(mtrJson); }

}

@Override

public void onBackPressed() { super.onBackPressed();

Intent intent = new Intent(tampilmateri5.this, com.example.fauzansaef.penggunaanwindows7.materi.class); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP);

startActivity(intent);

(27)

10. about.java

package com.example.fauzansaef.penggunaanwindows7;

import android.support.v7.app.AppCompatActivity; import android.os.Bundle;

import android.widget.TextView;

public class about extends AppCompatActivity {

@Override

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

setContentView(R.layout.activity_about); TextView tv = new TextView(this);

tv.setText("\n Made By : Kang Mahsya \n Copyright 2016 \n D3 Teknik Informatika \n \n \n 'Jika anda tidak ingin

belajar, tak seorang pun yang akan menolong anda. Sebaliknya jika anda memutuskan untuk belajar, tak seorang pun yang mampu menghentikan anda' ");

setContentView(tv); }

}

11. help.java

package com.example.fauzansaef.penggunaanwindows7;

import android.support.v7.app.AppCompatActivity; import android.os.Bundle;

import android.widget.TextView;

public class help extends AppCompatActivity {

@Override

(28)

super.onCreate(savedInstanceState); setContentView(R.layout.activity_help); TextView tv = new TextView(this);

tv.setText("\n For help : 085297863536/081397241981 \n Line: abiezamhs");

setContentView(tv); }

}

12. activity_home.xml

<?xml version="1.0" encoding="utf-8"?> <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" tools:context="com.example.fauzansaef.fauzansaef.home">

<ImageButton

android:layout_width="128dp" android:layout_height="128dp" android:id="@+id/btnmateri" android:src="@drawable/materi"

android:layout_alignParentTop="true" android:layout_alignParentLeft="true" android:layout_alignParentStart="true" />

<ImageButton

(29)

android:layout_height="128dp" android:id="@+id/btnsoal" android:src="@drawable/soal"

android:layout_alignTop="@+id/btnmateri" android:layout_alignParentRight="true" android:layout_alignParentEnd="true" />

<ImageButton

android:layout_width="128dp" android:layout_height="128dp" android:id="@+id/btnvideo" android:src="@drawable/video"

android:layout_centerVertical="true" android:layout_alignParentLeft="true" android:layout_alignParentStart="true" />

<ImageButton

android:layout_width="128dp" android:layout_height="128dp" android:id="@+id/btnabout" android:src="@drawable/about"

android:layout_alignTop="@+id/btnvideo" android:layout_alignLeft="@+id/btnsoal" android:layout_alignStart="@+id/btnsoal" />

<ImageButton

android:layout_width="128dp" android:layout_height="128dp" android:id="@+id/btnhelp" android:src="@drawable/help"

(30)

<ImageButton

android:layout_width="128dp" android:layout_height="128dp" android:id="@+id/btnexit" android:src="@drawable/exit"

android:layout_alignTop="@+id/btnhelp" android:layout_alignLeft="@+id/btnabout" android:layout_alignStart="@+id/btnabout" /> </RelativeLayout>

13. activity_materi.xml

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

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

android:background="@drawable/background" 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"

tools:context="com.example.mhdpradanaakbar.penggunaanwindows7. materigadar">

<Button

android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Cara Instalasi WIndows 7" android:id="@+id/button"

(31)

android:layout_marginTop="54dp"

android:layout_alignParentRight="true" android:layout_alignParentEnd="true" />

<Button

android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Edisi Windows 7"

android:id="@+id/button2"

android:layout_below="@+id/button" android:layout_alignParentLeft="true" android:layout_alignParentStart="true" android:layout_alignRight="@+id/button" android:layout_alignEnd="@+id/button" />

<Button

android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Fitur-Fitur Windows 7" android:id="@+id/button3"

android:layout_below="@+id/button2" android:layout_alignParentLeft="true" android:layout_alignParentStart="true" android:layout_alignRight="@+id/button2" android:layout_alignEnd="@+id/button2" />

<Button

android:layout_width="wrap_content" android:layout_height="wrap_content"

android:text="Kelebihan dan Kekurangan Windows 7" android:id="@+id/button4"

(32)

android:layout_alignParentRight="true" android:layout_alignParentEnd="true" />

<Button

android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Sejarah"

android:id="@+id/button5"

android:layout_below="@+id/button4" android:layout_alignParentLeft="true" android:layout_alignParentStart="true" android:layout_alignParentRight="true" android:layout_alignParentEnd="true" />

<SearchView

android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/searchView"

android:layout_alignParentRight="true" android:layout_alignParentEnd="true" />

Referensi

Dokumen terkait

disebut stopped. Activity akan tetap berada dalam memori dengan semua keadaan dan informasi yang ada. Namun akan menjadi kandidat utama untuk dieksekusi oleh sistem

public class frmKomp extends javax.swing.JFrame { public String nama_file= &#34;&#34;;. public String

public class PencarianFragment extends Fragment { View view ;. SQLiteOpenHelper helper ; SQLiteDatabase

public class DatabaseOpenHelper extends SQLiteAssetHelper { private static final int DATABASE_VERSION = 1;. private static final String DATABASE_NAME =

public void onReceive(Context context, Intent intent) { Intent notificationIntent = new Intent(context, MainActivity. class );. TaskStackBuilder stackBuilder =

public class MainActivity extends TabActivity { public void onCreate(Bundle savedInstanceState) {

public class Kuiz2 extends Activity implements OnClickListener { RadioButton radio1, radio2, radio3, radio4;. Button lanjut;

Gambar 7 public class Grafik3 extends javax.swing.JFrame implements Runnable { private Gambar g ; private String s ; private int rNumber; private Dimension area; private Thread