Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7180057
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T17:16:05+00:00 2026-05-28T17:16:05+00:00

In my application, I have a SurfaceView showing a Camera preview, and want to

  • 0

In my application, I have a SurfaceView showing a Camera preview, and want to use the stereoscopic camera on my phone to take 3D pictures (for the curious, the app has a novelty viewfinder). The Camera application that came on the phone saves them in .mpo format if you switch to 3D mode.

The available ImageFormat values for Camera don’t include mpo. By default, it seems a newly instantiated Camera is set to return jpg data. Setting parameters.setPictureFormat(ImageFormat.UNKNOWN); caused an IllegalArgumentException.

Does anyone know how to get the onPictureTaken() callback to receive mpo data?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T17:16:07+00:00Added an answer on May 28, 2026 at 5:16 pm

    Turns out: stock Android doesn’t provide for stereoscopic cameras, at least in the ICS release out at the time of writing. What you need are the OEM sdks to take advantage of device-specific libraries to get the appropriate callbacks.

    The HTC Evo has stuff here: http://htcdev.com/devcenter/opensense-sdk

    And the Sharp Aquos phone has stuff here: https://sh-dev.sharp.co.jp/android/modules/sdk/index.php?/sdk

    I wish there were some cross-device methods to use. 🙁 It’s going to be laborious implementing code for each of the 3D devices out there, though there aren’t many yet.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an Application in that I want to capture video using Surfaceview and
I have created an application where i have a camera preview. I am trying
My application have UI similar to Phone.app->Recents: sectioned UITableView and a UISegmentedControl in the
I have recently built an application that shows you a camera preview on screen.
I have a surfaceview which is displaying a camera preview I have it taking
I have an game application I have written for Windows Mobile and I want
I have application which needs to use a dll (also written by me) which
My application have three pages (three tabs) and I want to switch beetween two
My application have some problem on opening 32bit BMP images. some image has alpha
I have an application that is just a surfaceview. All i do is draw

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.