还有就是要做到这一点没有标准的方式。 AFAIK Panorama,Photoshere是 Gallery3d(由Google提供)package com.google.android.gallery3d的专有功能。这取决于设备的固件的 。
清单文件
<activity clearTaskOnLaunch="true" screenOrientation="0"
name="com.google.android.apps.lightcycle.ProtectedPanoramaCaptureActivity"
theme="resource_id:0x1030007"
configChanges="1184"
label="resource_id:0x7f0a00b2"
windowSoftInputMode="35"
taskAffinity="com.google.android.camera">
<intent-filter>
<action name="android.intent.action.MAIN">
</action>
</intent-filter>
</activity>
在活动
Intent res = new Intent();
String mPackage = "com.google.android.gallery3d";
String mClass = "com.google.android.apps.lightcycle.ProtectedPanoramaCaptureActivity";
res.setComponent(new ComponentName(mPackage,mClass));
startActivity(res);
来源
2014-03-13 13:26:08
Dev
打开paranoma模式,这将不会返回拍摄图像的路径,我不明白它在这里会有用。 –