Android Open Source - NativeVideoPlayerComponent Start Activity






From Project

Back to project page NativeVideoPlayerComponent.

License

The source code is released under:

MIT License

If you think the Android project NativeVideoPlayerComponent 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 org.anchorer.videoplayer.example;
/*from  w w w  . j a  v a 2 s.  c om*/
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

/**
 * ?????
 *
 * Created by Anchorer on 2014/9/26.
 */
public class StartActivity extends Activity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        Intent intent = new Intent(this, NativeVideoPlayerActivity.class);
        intent.putExtra("path", "http://dance-video.b0.upaiyun.com/video/3c/0a/0ee083a6263a4342bc9c903f2510_n.mp4");
        startActivity(intent);
    }
}




Java Source Code List

Anchorer.myapplication.ApplicationTest.java
org.anchorer.videoplayer.ApplicationTest.java
org.anchorer.videoplayer.BaseMediaControllerHolder.java
org.anchorer.videoplayer.BaseNativeVideoPlayerActivity.java
org.anchorer.videoplayer.NativeMediaController.java
org.anchorer.videoplayer.example.NativeVideoPlayerActivity.java
org.anchorer.videoplayer.example.StartActivity.java