Force an app to use the selfie camera?

  • Thread starter Thread starter Office_Shredder
  • Start date Start date
  • Tags Tags
    App Camera Force
Click For Summary
The Pixel 3 XL user is facing an issue with the primary camera being broken while the selfie camera remains functional. They need to use an app that requires scanning a QR code, which only utilizes the broken camera. The user is seeking a way to switch the camera being used, either through Android settings or a specific app. However, it is noted that there is likely no Android-level setting to change the camera, as apps typically use the Camera API to define which camera to operate. This means that switching cameras would require modifications to the app's source code, which is not feasible for users. Suggestions include checking with a phone store for potential solutions or tech support.
Office_Shredder
Staff Emeritus
Science Advisor
Gold Member
Messages
5,705
Reaction score
1,589
I have a pixel 3xl. The normal camera broke this weekend, but the selfie camera still works. I have an app that I need to scan a qr code once a day for work that only attempts to use the now broken camera. If I could get it to use the selfie camera getting it to line up would be a little annoying but at least I won't have to buy a new phone. Does anyone know if there's an Android level setting to switch which camera is being used (or even an app that will let me do this?). Googling is just finding lots of things that are not actually my problem, possibly because I don't know the right words to use (e.g. the word selfie returns lots of irrelevant stuff)
 
Computer science news on Phys.org
Office_Shredder said:
Does anyone know if there's an Android level setting to switch which camera is being used
Probably no such setting exists.
Office_Shredder said:
even an app that will let me do this?
As far as I know, this is not possible. Apps that operate the camera themselves use the Camera API or wrapper libraries, and they explicitly define which camera to use. This cannot be modified by other apps, because the source code itself has to be edited.
 
Yeah this is a tough one to search on. Have you tried your Phone store? They must have gotten this question or have tech help they can call for your camera.
 
I’ve spent nearly my entire life online, and witnessed AI become integrated into our lives. It’s clear that AI is apart of us now whether we like it or not, unless your a anti tech cabin lover. AI has some form of control over your life. But what I’ve seen very recently is that people are loosing their ingenuity and deciding to use AI. I feel as if it’ll bleed into STEM which is kinda has already and, every idea or thought could become fully reliant on AI. Yeah AI makes life easier but at a...

Similar threads

  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 16 ·
Replies
16
Views
8K
  • · Replies 8 ·
Replies
8
Views
5K
Replies
3
Views
5K
  • · Replies 4 ·
Replies
4
Views
3K