ऐसा करने का कोई मानक तरीका नहीं है। AFAIK पैनोरमा, फोटोएयर गैलरी 3 डी (Google द्वारा प्रदान की गई) की स्वामित्व वाली विशेषताएं हैं पैकेज com.google.android.gallery3d। यह डिवाइस के फर्मवेयर पर निर्भर करता है।
ApplicationManifest.xml
<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);
से इस गतिविधि शुरू करने के लिए कोशिश की है, लेकिन यह कैमरा एप्लिकेशन में NullPointerException फेंकता है।
स्रोत
2013-03-17 20:09:56
उपयोग इस आशय कार्रवाई "INTENT_ACTION_STILL_IMAGE_CAMERA" –