I have tried to take a picture from back and front camera and send it with email with Xamarin without user will need to click on any button like picture button.
I could not do that.
Is it possible to take a picture from back and front camera without any user click with Xamarin??
It will depend in how are you taking the picture. If you are using Xamarin.Essentials, then no, you can't.
You will need a little more control of the camera. Either a native implementation or a plugin.
You can use CameraView from Xamarin Community Toolkit. Check the example, you can trigger the ShutterCommand to get the picture.
Related
I'm looking for some way to either create the following or if it already exists be provided with it. After much looking I have not been able to find it. What I want is for a person to be able to scan a QR code which acts like clicking a web link (Or something else?) then for their iphone or android default camera app to open. Perhaps its a stretch but if I could turn the camera onto a selfie that would be even better.
I am NOT asking for how I can in any way have access to what shows up. I simply want to be able to open the camera app after clicking a link. If it exists I please comment it.
I want to create a Photo Capture app using Ionic. I have gone through Cordova Camera Plugin and the examples only shows how to open native camera on button click.
Is there a way to load the Camera view directly in the app (like default camera app, snapchat etc.)?
I want to open camera inside the app because I want to further add options to the camera, open gallery when user slides the camera etc.
Any help is much appreciated.
Thanks
The problem is similar to this question but the response does not solve my problem.
I don't know how to accomplish this with the plugins that currently exist but it might be helpful for you to know what terminology is used when describing this problem. Specifically it sounds like you're wanting to use a custom camera overlay or what is sometimes called a custom camera. You'd likely need to create your own plugin to do what you described but could use something like this as a base: https://github.com/performanceactive/phonegap-custom-camera-plugin
You can use cordova-plugin-camera-preview that allows camera interaction from inside the application.
The custom camera application that I have implemented at the moment for an application gives really bad picture quality and I don't want to use Camera intent to take picture but want a standalone application that has its own camera rather than navigating to camera application.
Is it possible to modify the native camera application (since it is open source) to include my own custom user interface for taking picture and so on as shown in the example below?
If you have done something like this then please let me know.Thanks in advance.
Yes you can take a look at this example and costumize your UI
I don't want my app to open the existing camera app via an intent such as:
http://developer.android.com/guide/topics/media/camera.html#intents
I basically want to use my own custom Camera object with a SurfaceView (which is simple enough and fully documented) but I want the camera layout to look like the phone's stock graphics for a camera. The take photo button, flash button, etc. though I don't believe I have access the the native android.r.drawables for these specific buttons correct? And I can't simply copy the graphic for a particular button from the sdk folder and put that in my own drawables folder as it has to be dynamic per device to look like that phone's camera app.
Can anyone find official documentation from Android that says this can't be done? I need to know officially this is or is not doable.
Thanks in advance.
You can download the source of the camera app. It contains all of the resources.
See this post https://stackoverflow.com/a/1105311/661079
I'm developing a photo manipulation app and am wondering if there is a way to have something come up for my app after the user takes an image of a picture (by somehow changing the camera app). Another example of something like what I want to do would be something like changing the calender app to also put in a location and use GPS to find directions to that location. Is there a way to do this? If so how?
As I understand from your question, you want your app to appear when the user takes a photo using the native camera app. Although that's possible (not saying it's easy), a better solution would be to launch the camera intent from YOUR app (or display what the camera sees in a SurfaceView), and use it as you wish. You wouldn't want to change the default behavior of built-in apps in the system, and users will thank you for not doing so.
There are countless tutorials out there that teaches you how to make use of built-in apps' functionalities for your own. As an example, here's an SO thread that teaches how to use the built-in camera to take a picture, and use the resulting data in your app.
If you want direction of a location, you need to use Google Maps API (or similar), not GPS. To put stuff into Google Calendar, look at their API as well.
I don't know if you can change the app itself, but you can definitely integrate your application with another android applications. There are several examples that can show you how to acess the camera app to take a picture and return this picture to your app for manipulation, or accessing a picture from your gallery (take a look in Intent class, and you can use it with startActivityonResult, and on onActivityResult, inside your activity, you manipulate the picture).
Hope that helps