MMAPI workarounds in different mobile devices: part 2
来源:互联网 发布:拉杆箱 知乎 编辑:程序博客网 时间:2024/05/18 22:17
Today, I was working with “Samsung SGH-U700” device and found some interesting things. I found the following result after some benchmark test:
- microedition.media.version :: 1.1
- supports.mixing :: false
- supports.audio.capture :: true
- supports.video.capture :: false
- supports.recording :: true
- audio.encodings :: encoding=audio/amr
- video.encodings :: encoding=video/H263
- video.snapshot.encodings :: encoding=jpeg encoding-png
- streamable.contents :: video.mpeg
And previously I found (source http://developers.sun.com/mobility/apis/articles/mmapioptions/ ):
microedition.media.version
returns a string representing the version of MMAPI implemented,"1.0"
or"1.1"
if MMAPI is supported, ornull
if it isn’t.supports.mixing
returnstrue
if mixing is supported,false
if it isn’t.supports.audio.capture
returnstrue
if audio capture is supported,false
if it isn’t.supports.video.capture
returnstrue
if video capture is supported,false
if it isn’t.supports.recording
returnstrue
if recording is supported,false
if it isn’t.audio.encodings
returns a string representing the supported audio capture formats, ornull
if audio capture isn’t supported.video.encodings
returns a string representing the supported video capture formats, ornull
if video capture isn’t supported.video.snapshot.encodings
returns a string representing the supported image capture formats, ornull
if video snapshot isn’t supported.streamable.contents
returns a string representing the supported streamable content types, in MIME syntax.
Now have a look at my benchmark result:
- it shows “supports.video.capture” as “false” meaning that it does not support video capture but shows “encoding=video/H263”
as "video.encodings",
representing the supported video capture format as video/H263. Also it shows “video.snapshot.encodings” as “encoding=jpeg encoding-png” which means its supported image capture formats are “jpeg” and “png”. These things are self cotradictory. Ideallyvideo.encodings,
video.snapshot.encodings - In my benchmark I found “supports.recording“ as “true” meaning that recording is supported. At first glance I was astonished thinking that “this handset does not support video capture but supports recording !(I was thinking of video recording as recording) “ . After some googling I came to know that
You may encounter some confusion when trying to reconcile some of the property values mentioned above with what you observe on a real device. For example: the Nokia 3230 and the Nokia 6600 both return
true
for both thesupports.video.capture
and thesupports.recording
properties. So it seems that both devices will support video recording. But there is a catch. Ifsupports.recording
returnstrue
, you can record media using at least one player type — at least one, but not necessarily all. The Nokia 6600 supports the recording of audio, but not the recording of video. But the Nokia 3230 also supports video recording.
(source : http://www.javaworld.com/javaworld/jw-09-2007/jw-09-mobilevideo1.html?page=2)
The case is the same for Nokia-6600 and Samsung-SGH-U700 handsets.
And running my video/image capturing program I always get “javax.microedition.media.MediaException:Not Support Camera”. Then I became sure that Neither video recording nor snap shot is possible on this device with MMAPI.
- MMAPI workarounds in different mobile devices: part 2
- MMAPI workarounds in different mobile devices : part 1
- lesson 2 Supporting Different Devices
- Mobile Media API(MMAPI)
- Set wlan for mobile devices in Wn7
- Tensorflow--GPU/CPU/ contain variables in different devices
- Virtualized In-Cloud Security Services for Mobile Devices
- android-Supporting Different Devices
- Supporting Different Devices笔记
- Interconnecting Cisco Network Devices, Part 2 (ICND2):
- Supporting Different Devices - Supporting Different Screens
- Supporting Different Devices - Supporting Different Platform Versions
- Supporting Different devices - Supporting Different Languages
- AndroidTraining学习------Support-Different-Devices
- Can I use ALTMEMPHY to create a Mobile DDR SDRAM PHY in Cyclone III Devices?
- Performance Optimization for Mobile Devices
- thinking in c++ part 2
- 【2】QoS support in Object-Based Storage Devices
- Xen上的miniOS
- MMAPI workarounds in different mobile devices : part 1
- 浅谈.NET下的多线程和并行计算(一)前言 (转)
- Basic Planning Steps
- javascript 技巧
- MMAPI workarounds in different mobile devices: part 2
- how to setup mysql
- vim 的使用方法
- CentOS开启samba服务(附smb.conf手册)
- 在WIN2003上安装VS2005 SP1报错2755错误代码。
- 《面向对象分析与设计》读后感
- 实现无刷新DropdownList联动效果
- jsp+oracle分页技术
- spring 数据源配置