Force an app to use the selfie camera?

  • Thread starter Thread starter Office_Shredder
  • Start date Start date
  • Tags Tags
    App Camera Force
AI Thread 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,702
Reaction score
1,587
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 came across a video regarding the use of AI/ML to work through complex datasets to determine complicated protein structures. It is a promising and beneficial use of AI/ML. AlphaFold - The Most Useful Thing AI Has Ever Done https://www.ebi.ac.uk/training/online/courses/alphafold/an-introductory-guide-to-its-strengths-and-limitations/what-is-alphafold/ https://en.wikipedia.org/wiki/AlphaFold https://deepmind.google/about/ Edit/update: The AlphaFold article in Nature John Jumper...
Thread 'Urgent: Physically repair - or bypass - power button on Asus laptop'
Asus Vivobook S14 flip. The power button is wrecked. Unable to turn it on AT ALL. We can get into how and why it got wrecked later, but suffice to say a kitchen knife was involved: These buttons do want to NOT come off, not like other lappies, where they can snap in and out. And they sure don't go back on. So, in the absence of a longer-term solution that might involve a replacement, is there any way I can activate the power button, like with a paperclip or wire or something? It looks...

Similar threads

Back
Top