The new android photo picker ( https://developer.android.com/training/data-storage/shared/photopicker ) allows us to use a native picker, however there is no way to open the camera from there.
Is there any way to add customisable options?
checking the documentation and tutorials I have no seen a way to do it.
Related
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.
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.
Is it possible to make image picker in android like date picker or time picker? Actually i am making an app in which i need to make a image picker from where user can select small image. Like date picker or time picker here in this picker user can scroll and select small images then numbers. Please anybody help me to achieve this.
I think you want to use UI controller like iphone. Basically you are talking about wheel UI controller of android. Specifically it is not in-built android UI Controller but you have to make it costume. Please check this tutorial is exactly what you want : Here
Hope you got solution.
There is no imagepicker available in android . You can use intent to pick image, Click on the below link Android image picker for local files only.
Hope it helps.
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