How to implement Camera functionality with extra options (like Panorama)?

I am mainly interested in panorama option. Is there a way to open the native Camera app (the enhanced version), so the user can switch between normal photo and panorama view? Is it possible at all or should I stop trying?


Here is the code that I am using right now:

Intent i = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE); 
startActivityForResult(i, CAMERA_REQUEST); 

This is what currently happens:

And this is what I need to achieve:


Thank you!

Apparently, it is not yet possible to use panorama or photosphere modes directly from an application since they depend on proprietary classes provided by Google. Maybe it will be possible in the next Android API release.

See How to open camera directly in panorama/photosphere mode? or How to open photosphere camera?

Using Android's Panorama and Photo Sphere Modes, The stock Android Camera app features shooting modes beyond the standard still image and video options. Two additional The photo sphere mode is like a wraparound panorama, covering left, right, up, down, and all around. The end result is an To create a photo sphere, obey these steps in the Camera app: From the� But before you aim your camera, make sure you take the following steps: Compose Your Image; Use a “Normal” Lens; Level the Tripod; Determine Your Exposure; Make Necessary Image Edits; Stitch Your Photos into a Panorama; 1. Compose Your Image. The first step to take is to decide what you want your panoramic image to look like.

You can open paranoma mode using below code

 Intent intent = new Intent(MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA);
    startActivity(intent);

8 Guidelines To Taking Panoramic Photos With Any Camera, If Your Camera Has A Panorama Mode, Use It. Overlap Amply. Keep It On The Level. Choosing Your Metering Well. Check The Scene For Movement. Be Careful with Super Wide Angle Lenses. Look Up, Look Down, Look All Around. Don't Forget Vertical Panoramas! EXTRA_SCREEN_ORIENTATION. It is used to set the orientation of the screen to vertical or landscape. 4: EXTRA_FULL_SCREEN. It is used to control the user interface of the ViewImage. 5: INTENT_ACTION_VIDEO_CAMERA. This intent is used to launch the camera in the video mode. 6: EXTRA_SIZE_LIMIT. It is used to specify the size limit of video or

There is no standard way to do it. AFAIK Panorama, Photoshere are proprietary features of Gallery3d (provided by Google) package com.google.android.gallery3d. It's depends on firmware of the device.

in manifest file

   <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>

in your 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);

Galaxy S8 camera tips and tricks, Here's a look at the Galaxy S8's camera app, what it can do, and how it of overdoing it on the extra features, the companion camera apps as of There's an option to choose the focus area, as well as options for the metering mode. The wide-angle selfie mode works a lot like the panorama feature for� If you upgraded to iOS 6 or have an iPhone 5 then you probably know about the panorama feature in the camera. Many people ask me can it only go from left to

360 camera apps for iPhone and Android, A pinpointed selection of mobile top 360 camera apps to create panoramic Another cool feature is geo-tagging – to mark location of panoramas or see the similar use app functionality for free, but extra features make it way more comfortable Such extra options as photo alignment and color correction make it one of the� In the first place (when you have the time), you can can simply add a mode to shoot the necessary photo to make panorama. And after users can build the view on their PC (software make it easily, like Hugin).

How to Shoot Large Format Astrophotography Panoramas with Any , Using a medium telephoto lens, like a 100mm, we shoot a mosaic of individual Here's a breakdown of exactly what I currently use for shooting and processing my PTGui is arguably the best, with the exception of a few features in AutoPano Large Format Astrophotography Panorama Camera Settings� The camera to shoot a panorama. You may now and for the first time in the history of panoramic photography take panoramas without a specific camera. You don't even always need a panorama software, since our smartphones are able to stitch them directly.

Support / FAQ, How can I use exactly the same stitching settings for different sets of images? How can I stitch images taken with a 360� one shot camera in PTGui? I would like to stitch my panorama in PTGui Pro, but use another application (e.g. This function is accessible both from the 'Apply Template' item in the File menu, and� For new or advanced camera applications, the newer android.hardware.camera2 API is recommended. The general steps for creating a custom camera interface for your application are as follows: Detect and Access Camera - Create code to check for the existence of cameras and request access.

Comments
  • This won't return the path of the captured image so I don't see how it will be useful here.