Android Open Source - AndroidWifiCracker Video






From Project

Back to project page AndroidWifiCracker.

License

The source code is released under:

MIT License

If you think the Android project AndroidWifiCracker listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.d13.harris.video;
//  www.j  a v  a 2s.c o m
import android.os.Bundle;
import android.app.Activity;
import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
//import android.view.View;
import android.view.Window;
import android.view.WindowManager;
//import android.widget.Button;
import android.widget.MediaController;
import android.widget.VideoView;

public class Video extends Activity {
  private VideoView m;  
  private String path = "/video/new_drone.mp4";
  @Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    requestWindowFeature(Window.FEATURE_NO_TITLE);
        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,   
                   WindowManager.LayoutParams.FLAG_FULLSCREEN);

    setContentView(R.layout.video);
    m = (VideoView) findViewById(R.id.video_view);   
        m.setVideoPath(path);
        m.setMediaController(new MediaController(this));
        m.requestFocus();
        m.start();
        
 //       Button myButton = (Button)findViewById(R.id.button);
 //       myButton.setOnClickListener(new Button.OnClickListener()
 //       {
 
  //          public void onClick(View arg0) 
  //          {
    //          Video.this.finish();
  //          }        
 //       });
  }
}

final class MyVideoView extends VideoView {
  public MyVideoView(Context c) { super(c); }
  public MyVideoView(Context c, AttributeSet a) { super(c, a); }
  public MyVideoView(Context c, AttributeSet a, int d) { super(c, a, d); }
  @Override
  public boolean onTouchEvent(MotionEvent e) {
    return true;
  }
}




Java Source Code List

com.d13.harris.video.Splash.java
com.d13.harris.video.Video.java
com.department13.skryfi.CrackerListener.java
com.department13.skryfi.Cracker.java
com.department13.skryfi.HomeScreen.java
com.department13.skryfi.MoreInfoScreen.java
com.department13.skryfi.NetworkDatabase.java
com.department13.skryfi.NetworkDevice.java
com.department13.skryfi.NetworkListScreen.java
com.department13.skryfi.Network.java
com.department13.skryfi.NodesScreen.java
com.department13.skryfi.SortEncryption.java
com.department13.skryfi.SortName.java
com.department13.skryfi.SortOptions.java
com.department13.skryfi.SortSignalStrength.java
com.department13.skryfi.SortingNetworkObject.java
com.department13.skryfi.SurveyListScreen.java
com.department13.skryfi.SurveyListener.java
com.department13.skryfi.SurveyManagerService.java
com.department13.skryfi.SurveyManager.java
com.department13.skryfi.Survey.java