Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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:

enter image description hereenter image description here

And this is what I need to achieve:

enter image description here


Thank you!

like image 918
Oleksiy Avatar asked Mar 05 '14 18:03

Oleksiy


People also ask

What is the panorama feature on a camera?

Panorama mode allows you to capture more of the scene by combining images to create a panoramic photo. More information on the different camera modes available, can be found by visiting What are the different camera modes and how do I use them.

What is the use of Panorama in mobile camera?

Open your phone's camera and put it in panorama (or Pano) mode. Hold the phone vertically for a horizontal panorama, or horizontally for a vertical panorama. iPhone users can tap the arrow to change the direction of the panorama. Android users can move left or right without specifying their direction.


1 Answers

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?

like image 86
Esteam Avatar answered Sep 23 '22 19:09

Esteam