Android open up apps that use the camera permission? - android

I want to send the user away from my app to their camera app. The intention is that the user will be directed to open a camera app that allows for the scanning of QR codes.
What will work:
Attempt to open the default camera (not sure this is possible considering all the variables across Android)
A dialog chooser that shows apps that use the camera permission
A chooser that show camera apps as an option
What won't work:
MediaStore.ACTION_IMAGE_CAPTURE
So far from what I have seen all of google's camera specific intents (MediaStore) open up a simplifed version of the camera app. I don't need the user to take a photo, I need them to open the "real" camera app.
My second option is via an intent chooser/dialog. See this example: By adding a map url android will show I dialog of all apps that can take a map uri. But I have not found a way to do this type of functionality with apps that take images.
Unsolved question with the same problem
Any help would be appreciated,
Thanks!

Related

Camera launching when I click an app

I am trying to do an android app where I will use facial recognition for providing security to the other applications present in phone. I am retrieving all applications and showing them in a list. I kept a button(ON/OFF) beside every application mentioned in the list. When I select ON for an app I provide security for that app using facial recognition.
Now, when I am trying to open the corresponding app it should first go to front camera. Here is where I am facing problem. Since I am new to android I don't understand how to redirect to front camera when I open an application.
Please help me if anyone has an idea on how to do it.

Using Goggles or Zxing Barcode scanner with a PhoneGap application

I am trying to set up my current app (it's a HTML5 application compiled with phonegap build) where when I press a button, it pops up an option to select which bar code scanner to use(Or prompt to download the bar code scanner). When I select and scan it, I want to retrieve the information.
For example:
Retrieving via Zxing scanner would give me a set of numbers.
Retrieving via Goggles will give me more information like the number and product details.
I have seen some guides which are for native Android where they use Zxing but not Goggles. Seen no guides for using Goggles in an application. Closest I saw is a reverse engineered attempt dated few years back and not for HTML5 plat.
All I need to do is press a button from my app, go out into one of the scanner apps and retrieve the information back to my app to display.
Is there anyway I can do this? Is there a set of APIs available to access Zxing and Goggles via a HTML5/PhoneGap application?
It is definitely possible. Seen it on few applications.
This one for example: An app on Google Play
Please assist.
Screenshot additions for reference.
Screenshot 1
Screenshot 2

How to react to camera events in android

I want to make an app and in this app i want to save all the user taken images like this:
user takes picture with default camera app
my app give a notification it has succesfully backed up the image
Is there a way i can see the event of the camera app? and use this in my service?
I tryied searching for it on google and cant find anything
im trying to get to in with a service running in the background of my application
i know i need to import the camera classes
Hi You are able to cature the Image From this Example Url:
http://www.androidhive.info/2013/09/android-working-with-camera-api/
And also You are able to Make a Notification that The Captured Image are saved in the Location.
user takes picture with default camera app
There are ~1.5 billion Android devices, spanning thousands of device models, with hundreds of "default camera app" implementations. There are also hundreds more camera apps that the user might install through the Play Store or other channels.
my app give a notification it has succesfully backed up the image
There is no requirement that your app have the ability to access the image, wherever it gets stored. For example, the camera app might upload it directly to a Web service, or might store it on removable storage.
Is there a way i can see the event of the camera app?
There is no documented protocol, let alone a requirement to follow it, where camera apps let arbitrary third party apps know that a picture was taken.
i know i need to import the camera classes
Only if you are going to write your own camera app.

Configure android choose an action of file upload

I am currently developing a web based system using asp.net. the user would used a company provided phone which is android phone equipped with an camera application call solocator.
The problem is. I want to be able to allow the user to directly upload a photo from the application itself. is there anyway to configure android to allow user to select solocator when they click on the upload button.
Currently picture below is showing the available option when the user choose upload a file.
i want the solocator application be available on the list
There is no solution for this question as the solocator itself is not an camera application. If the solocator is categorised as camera application. it would be there.
the answer is provided by the solocator team itself..
sorry for all the trouble.

Using camera when launching a website as a mobile app using PhoneGap/Apache Cordova

I got a question! The thing is that I'm building a PhoneGap/Apache Cordova app. The only thing that it does is to launch a website (I need to do it this way because it's the only way to connect to a local database, so...).
If you go directly to the website from Chrome or any other browser on a mobile device, and choose to upload a photo, an option will pop up allowing you to use the camera to take the picture. In addition to that you can also upload pictures from your album.
The problem comes when you open the app from an Android device. The App goes directly to the websit and it works just fine, but when you choose the option to upload a photo the camera option is gone. I have tried several ways and the camera option won't appear.
<input type="file" name="image" accept="image/*;capture=camera">
This is the tag I use to upload a photo and as I said it works on the website, but it doesn't work in the app.
Thanks for helping me out!

Categories

Resources