4. what’s new
Animation Framework
Hardware Accelerated 2D Graphics
View support for hardware and soft ware layers
RenderScript 3D Graphics Engine
2011 7 16
15. what’s new
Time lapse video
Texture support for image stream
HTTP live streaming
EXIF data
Camcorder profiles
Digital rights management (DRM)
2011 7 16
16. Time lapse video
• MediaRecoder setProfile(CamcorderProfile)
setCaptureRate(double fps)
MediaRecorder recoder = new MediaRecorder();
recoder.setVideoSource(MediaRecorder.VideoSource.DEFAULT);
recoder.setProfile(CamcorderProfile.get(CamcorderProfile.QUALITY_TIME_LAPSE_480P));
recoder.setCaptureRate(fps);
recoder.setOutputFile(Environment.getExternalStorageDirectory().getAbsolutePath() + "/test.mp4");
recoder.setPreviewDisplay(holder.getSurface());
recoder.prepare();
recoder.start();
2011 7 16
21. EXIF data
• (TAG_APERTURE)
• (TAG_EXPOSURE_TIME)
• ISO (TAG_ISO)
android.media.ExifInterface
2011 7 16
22. Camcorder profiles
Added Fields Added Methods
int QUALITY_1080P boolean hasProfile(int)
int QUALITY_480P boolean hasProfile(int, int)
int QUALITY_720P
int QUALITY_CIF
int QUALITY_QCIF
int QUALITY_TIME_LAPSE_1080P
int QUALITY_TIME_LAPSE_480P
int QUALITY_TIME_LAPSE_720P
int QUALITY_TIME_LAPSE_CIF
int QUALITY_TIME_LAPSE_HIGH
int QUALITY_TIME_LAPSE_LOW
int QUALITY_TIME_LAPSE_QCIF
2011 7 16
23. Digital rights
management (DRM)
• Java API
• DRM
3.0
Optimus Pad
3.1 XOOM Widevine DRM plug-in
2011 7 16
24. 3.0
Graphics
Animation Framework
Hardware Accelerated 2D and 3D
View support for hardware and soft ware Layers
RenderScript 3D Graphics Engine
Multi core
Support for multicore processor architecture
Media
Time lapse video
Texture support for image stream
HTTP live streaming
EXIF data
Camcorder profiles
Digital rights management (DRM)
2011 7 16