Close

whatsapp

Android  // Browsing posts in Android

Android | Comments Off on Play Video For Android

Play Video For Android

Play Video For Android

Video.java //Implement SurfaceHolder interface to Play video //Implement this interface to receive information about changes to the surface public class VideoPlayerbokeh extends Activity implements SurfaceHolder.Callback{ MediaPlayer mediaPlayer; SurfaceView surfaceView; SurfaceHolder surfaceHolder; boolean pausing = false;; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.video); Button buttonPlayVideo = […]

Read more...

Android | Comments Off on Penjualan online for android part 4

Penjualan online for android part 4

Penjualan online  for android part 4

setelah kita membuat form registrasi kemudian kita membuat listmenu.java package com.aplikasimotor; import java.io.IOException; import java.util.List; import java.util.Locale; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import android.content.Intent; import android.location.Address; import android.location.Geocoder; import android.location.Location; import android.location.LocationListener; import android.os.Bundle; import android.text.Html; import android.text.TextUtils; import android.view.KeyEvent; import android.view.View; import android.widget.AdapterView; import android.widget.ListView; import android.widget.TextView; import android.widget.Toast; import android.widget.AdapterView.OnItemClickListener; […]

Read more...

Android | Comments Off on Penjualan online for android part 3

Penjualan online for android part 3

Penjualan online  for android part 3

lanjut ke tutorial ke tiga pada tutorial ini membuat form registrasi.java package com.aplikasimotor; import driver.Utils; import driver.XMLParser; import android.os.Bundle; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.view.KeyEvent; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.RadioButton; import android.widget.TextView; public class registrasi extends Activity { XMLParser parser = new XMLParser(); String username,password,nama,alamat,telepon; EditText txtTelepon,txtNama,txtUser,txtPass,txtAlamat; @Override […]

Read more...

Android | Comments Off on Penjualan online for android part 2

Penjualan online for android part 2

Penjualan online  for android part 2

lanjut ke tutorial ke dua, pada tutorial ke dua disini kita membuat class login java login.java package com.aplikasimotor; import driver.Utils; import driver.XMLParser; import android.os.Bundle; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.content.DialogInterface.OnClickListener; import android.view.KeyEvent; import android.view.Menu; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.ImageView; public class login extends Activity { String nama,pass; String […]

Read more...

Android | Comments Off on Penjualan online for android part 1

Penjualan online for android part 1

Penjualan online  for android part 1

disini saya akan memberi trik trik cara membuat toko online menggunakan android. langkah pertama yaitu : buat projek pada eclipse : pada MainActivity.java package com.aplikasimotor; import android.os.Bundle; import android.app.Activity; import android.content.Intent; public class MainActivity extends Activity { String kode_penumpang="PNP1411001"; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); LOADING(); } public void LOADING(){ new Thread() { […]

Read more...

Chat with Ranto