English 中文(简体)
• 轻松地在安乐器上播放MP4视频吗? (与较高的SO版本相对应)
原标题:Exists a easy way to play MP4 videos on Android 1.5? (compatible with higher versions of the SO)
  • 时间:2011-11-24 11:44:09
  •  标签:
  • android
  • mp4

在我看一开始的时候,我需要拍摄短的MP4录像。

I m 搜索信息,了解如何装上4摄像机,但我无法找到在1.5英寸的图像。

我的用意应当与安的1.5至4.0兼容。

• 轻松地在安乐器上播放MP4视频吗?

增 编

最佳回答

您可以使用录像。 • 制作标语和制成视频。 如果你试图从翻版中录制成录像,那么URI教区:

Uri video = Uri.parse("android.resource://com.pac.myapp/raw/video_name");

如果是你包裹的名称和录像——姓名是你的录像带的名号。

在你通过视频采访功能使用后

setVideoURI(Uri uri)

如果你想在活动之后开始播放录像,则超越活动清单的变更功能,并在你从职能参数上起起作用。

http://www.ohchr.org。

VideoView view=(VideoView) findViewById(R.id.video_view);
Uri videPath=Uri.parse("android.resource://com.example.myapp/raw/1");
view.setVideoUri(videoPath);

如果是例外,请在此重复。 我将高兴地提供帮助。

问题回答

暂无回答




相关问题
Android - ListView fling gesture triggers context menu

I m relatively new to Android development. I m developing an app with a ListView. I ve followed the info in #1338475 and have my app recognizing the fling gesture, but after the gesture is complete, ...

AsyncTask and error handling on Android

I m converting my code from using Handler to AsyncTask. The latter is great at what it does - asynchronous updates and handling of results in the main UI thread. What s unclear to me is how to handle ...

Android intent filter for a particular file extension?

I want to be able to download a file with a particular extension from the net, and have it passed to my application to deal with it, but I haven t been able to figure out the intent filter. The ...

Android & Web: What is the equivalent style for the web?

I am quite impressed by the workflow I follow when developing Android applications: Define a layout in an xml file and then write all the code in a code-behind style. Is there an equivalent style for ...

TiledLayer equivalent in Android [duplicate]

To draw landscapes, backgrounds with patterns etc, we used TiledLayer in J2ME. Is there an android counterpart for that. Does android provide an option to set such tiled patterns in the layout XML?

Using Repo with Msysgit

When following the Android Open Source Project instructions on installing repo for use with Git, after running the repo init command, I run into this error: /c/Users/Andrew Rabon/bin/repo: line ...

Android "single top" launch mode and onNewIntent method

I read in the Android documentation that by setting my Activity s launchMode property to singleTop OR by adding the FLAG_ACTIVITY_SINGLE_TOP flag to my Intent, that calling startActivity(intent) would ...

From Web Development to Android Development

I have pretty good skills in PHP , Mysql and Javascript for a junior developer. If I wanted to try my hand as Android Development do you think I might find it tough ? Also what new languages would I ...

热门标签