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

  • Home
  • SEARCH
  • 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 8487115
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T21:08:34+00:00 2026-06-10T21:08:34+00:00

My app needs a Camera to work. However, it doesn’t matter if it’s a

  • 0

My app needs a Camera to work. However, it doesn’t matter if it’s a rear or frontal camera.

Right now, I have this in my Manifest:

<uses-feature android:name="android.hardware.camera"/>

To require a frontal Camera, I know I could also add this:

<uses-feature android:name="android.hardware.camera.front"/>

But I’d like to support all devices that has EITHER camera. Is there anyway to do this?

For example, I want to support Nexus 7 which has only a frontal camera. But I also want to support devices with rear camera only.

According to some research I’ve made, such as:

http://code.google.com/p/android/issues/detail?id=35166

It seems this is not possible.

I think one way to solve this would be to make 2 separate APKs, one with android.hardware.camera and one with android.hardware.camera.front and upload both to Google Play, using its Multiple APK Support. I haven’t tested it yet, though.

Has anybody found a recommended way to support all devices with a frontal camera, a rear camera or both, but not devices without any cameras?

  • 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-06-10T21:08:36+00:00Added an answer on June 10, 2026 at 9:08 pm

    Several thoughts (no definite answer):

    a) I believe you are right that currently there is no good way to require either camera in on APK.

    b) If you want, you can remove uses-feature and check for a camera in runtime. It will make user experience worse, but it will work.

    c) You can use use required=”false” (http://developer.android.com/guide/topics/manifest/uses-feature-element.html). Hopefully, Google Market prioritize applications using this flag.

    c) Side note. As I know most of Android devices have a camera. So, if you go with solution b) or c) only very small user base will notice the difference

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

Sidebar

Related Questions

my app involves some work with the camera, therefore it needs to handle capturing
I have a Java app which needs to interact with the camera on a
My app needs to have multiple screen e.g. one login page then another page
I have an embedded app that needs to do a lot of writing to
I have an app that has requirements for various hardware needs on the adroid
I have a BlackBerry application that needs to take pictures from the camera and
I have spent days trying to make this work based on the examples in
I dont have access to these devices, but my app needs to test which
I'd like to add a menu option to the Android camera app. Is this
I have an android app which uses camera. I am using a socket connection

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.