This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.putuguna.paymentpaypal; | |
import android.content.Intent; | |
import android.support.v7.app.AppCompatActivity; | |
import android.os.Bundle; | |
import android.util.Log; | |
import android.view.View; | |
import android.widget.Button; | |
import android.widget.EditText; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Intent intent = new Intent(getActivity(), TujuanActivity.class); | |
getActivity().startActivity(intent); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.sangcomz.fishbun.util; | |
import android.content.Context; | |
import android.media.MediaScannerConnection; | |
import android.net.Uri; | |
import java.io.File; | |
public class SingleMediaScanner implements MediaScannerConnection.MediaScannerConnectionClient { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"barang": [], | |
"status": 1, | |
"message": "Sukses" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"barang": [ | |
{ | |
"id_barang": "11", | |
"nama_barang": "Tabung Gas", | |
"stok_barang": "56" | |
}, | |
{ | |
"id_barang": "12", | |
"nama_barang": "Tissue", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"barang": [ | |
{ | |
"id_barang": "1", | |
"nama_barang": "Timun", | |
"stok_barang": "2" | |
}, | |
{ | |
"id_barang": "2", | |
"nama_barang": "Kentang", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once "Connection.php"; | |
class ShowData{ | |
function getAllData(){ | |
$connect = new Connection(); | |
$con = $connect->getConnection(); | |
//buatkan array untu jsonnya | |
$json_barang = array(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Connection{ | |
function getConnection(){ | |
$host = "localhost"; | |
$username = "root"; | |
$password = ""; | |
$dbname = "pagination"; | |
try{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package putugunation.com.mapsroute.activities; | |
import android.Manifest; | |
import android.app.Dialog; | |
import android.content.pm.PackageManager; | |
import android.graphics.Color; | |
import android.location.Criteria; | |
import android.location.Location; | |
import android.location.LocationListener; | |
import android.location.LocationManager; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package putugunation.com.mapsroute.activities; | |
import android.Manifest; | |
import android.app.ProgressDialog; | |
import android.content.Intent; | |
import android.content.pm.PackageManager; | |
import android.location.Criteria; | |
import android.location.Location; | |
import android.location.LocationListener; | |
import android.location.LocationManager; |
NewerOlder