This file contains hidden or 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
import 'package:flutter/material.dart'; | |
import 'package:barcode_scan/barcode_scan.dart'; | |
import 'package:flutter/services.dart'; | |
class QrCodeScan extends StatefulWidget { | |
@override | |
_QrCodeScanState createState() => _QrCodeScanState(); | |
} | |
class _QrCodeScanState extends State<QrCodeScan> { |
This file contains hidden or 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
import 'package:flutter/material.dart'; | |
import 'package:scanner_qrcode/qrscanncode.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
// This widget is the root of your application. | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( |
This file contains hidden or 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
public class Loading extends Activity { | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.loading); | |
Loading(); | |
} | |
void Loading(){ |
This file contains hidden or 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
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout 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="fill_parent" | |
android:layout_height="fill_parent" | |
android:orientation="vertical" | |
tools:context=".Menuutama"> | |
<ImageView |
This file contains hidden or 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 | |
if(isset($_POST["Send"])){ | |
$email="email@gmail.com";//$_POST["tujuan"]; | |
$id_user=$_POST["id_user"]; | |
$sql1="select * from `$tbuser` where `email`='$email' "; | |
if(getJum($conn,$sql1)>0){ | |
$d=getField($conn,$sql1); | |
$kode=$d["id_user"]; | |
$nama=$d["nama_user"]; |
This file contains hidden or 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
<form method="post"> | |
<table width="562" id="id_request"> | |
<tr> | |
<td height="42"><label for="tujuan">To </label> | |
<td><strong>:</strong><td colspan="2"><input name="tujuan" type="text" class="form-control" value="<?php echo $advertiser_email;?>" size="25" /> | |
</td></tr> | |
<tr> | |
<td height="32"><td><td colspan="2"> | |
<input name="Send" type="submit" id="Send" value="Send" /> | |
</td></tr> |
This file contains hidden or 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
// Mengatur Dimensi center screen | |
Dimension dim = Toolkit.getDefaultToolkit().getScreenSize(); | |
int x = (dim.width - getSize().width)/2; | |
int y = (dim.height - getSize().height)/2; | |
setLocation(x, y); | |
//filter hanya huruf | |
public void FilterHuruf(KeyEvent a){ | |
if(Character.isDigit(a.getKeyChar())){ |
NewerOlder