相关疑难解决方法(0)

如何在Android应用程序中播放实时流媒体?

我想申请板球直播.我想知道以下事情:

  1. 从哪里可以找到播放板球流的链接?
  2. 这些类型的链接是什么?
  3. 是否有玩家可以播放此类视频?

目前,我已经实现了网页,但我正在寻找其他替代方案.

以下是我的代码:

    link1 = (RelativeLayout) findViewById(R.id.link1);
    link2 = (RelativeLayout) findViewById(R.id.link2);
    link3 = (RelativeLayout) findViewById(R.id.link3);
    link4 = (RelativeLayout) findViewById(R.id.link4);
    link5 = (RelativeLayout) findViewById(R.id.link5);
    link6 = (RelativeLayout) findViewById(R.id.link6);
    link7 = (RelativeLayout) findViewById(R.id.link7);
    link1.setOnClickListener(this);
    link2.setOnClickListener(this);
    link3.setOnClickListener(this);
    link4.setOnClickListener(this);
    link5.setOnClickListener(this);
    link6.setOnClickListener(this);
    link7.setOnClickListener(this);
}

@Override
public void onClick(View v) {
    // TODO Auto-generated method stub
    switch (v.getId()) {
    case R.id.link1:
         linkFunction("http://changevssame.blogspot.com/2014/03/willow-cricket-hd-live-streaming.html");

        break;
    case R.id.link2:
        linkFunction("http://changevssame.blogspot.com/2014/03/foxsports-live-streaming.html");
        break;
    case R.id.link3:
        linkFunction("http://changevssame.blogspot.com/2014/03/sky-sports-live-streaming.html");
        break;
    case R.id.link4:
        linkFunction("http://changevssame.blogspot.com/2014/03/ten-sports-live-streaming.html");
        break;
    case R.id.link5:
        linkFunction("http://changevssame.blogspot.com/2014/03/star-cricket.html");
        break;
    case R.id.link6:
        linkFunction("http://changevssame.blogspot.com/2014/03/icc-t20-world-cup-2014-live-streaming.html");
        break; …
Run Code Online (Sandbox Code Playgroud)

java android

9
推荐指数
2
解决办法
1万
查看次数

在rails应用程序中上传视频

我需要在rails应用程序中使用"上传视频"插件.

任何人都可以告诉我如何做到这一点?

video file-upload ruby-on-rails ruby-on-rails-plugins

5
推荐指数
3
解决办法
1万
查看次数