xamarin forms livecast-like page-inline camera - ios

I was wondering if anyone here knows how to add a camera area like this one(similar to snapchat I guess) in Xamarin Forms (preferably,mainly with XAML)Camera area is suppose to have a livecast & it is going to be on iOS
needed this screen:
I tried Xam.Plugins.Media but couldn't manage to create the needed screen

The media plugin, goes into the platform specific Camera Screen, takes a picture then returns. You can't put extra buttons on the screen in this way.
To get a video feed and manage the capture yourself, you will need to implement a lot of platform specific things.
Android
https://developer.xamarin.com/recipes/android/media/video/record_video/
iOS (Look at the AV samples)
https://developer.xamarin.com/samples/ios/Media/

Related

Suggestions for activating front facing camera within Safari on iPad

I'm trying to create a kiosk-style customer registration process with an iPad, but doing it an an entirely web-based environment, rather than a purpose-built app.
During the registration process, the user is required to take a photo of their own face using the iPad camera.
I have been experimenting with the HTML5 Media Capture tools, but unfortunately, this always defaults to the iPad's back camera, rather than the front-facing camera. This means the user must then switch to the front facing camera, which isn't ideal as part of the user experience.
I can't see any way of forcing the iPad to default to the front camera in the device settings, and my searches haven't revealed any way of doing this with HTML only.
I've had a look at apps such as "Picup", but they don't seem to offer much more than is already achievable with HTML5 with regard to camera control.
Can anyone offer any suggestions? Does anyone know of any other iOS apps (like Picup) that might give the ability to activate the camera for uploading images in a form, but can be configured to use the front facing camera as default?
Or am I going to have to go down the path of creating a purpose-built app to get the control I need?
Any suggestions would be welcomed, and thanks in advance for your reply.
The Media API currently doesn't allow you to distinguish between front and rear cameras, so there is currently no method (that I know of) that allows you to select the front camera.
However I would suggest perhaps building your app the way you are, but using PhoneGap Build (which can package your app into an iOS app) and the Camera Plugin (http://docs.phonegap.com/en/2.6.0/cordova_camera_camera.md.html) which does allow you to specify the front camera (see options->cameraDirection) apparently (I haven't tried it myself).

Phonegap plugin half-screen camera ala Taptalk

I am trying to mimic the half-screen camera as exists in apps like Taptalk. The goal is to have a live camera in a self-contained view on the upper half of the screen controlled by a Cordova plugin, with the lower half of the screen containing the normal HTML-based Cordova content.
I know the standard cordova camera plugin allows you to bring up the fullscreen camera component, and I know that doing this natively, at least on iOS would be relatively straightforward, but I'm really not sure where I would start trying to do this in a cross-platform way within a larger phonegap app (via Ionic).
I'm guessing I need to write a custom Cordova plugin ala this excellent article, but the main conceptual issue I'm worried about is that I think I'd have to use a view positioned and sized to only fill the top half of the screen, as opposed to a fullscreen ViewController (focusing on iOS for now).
Does anyone have any advice for implementing this approach?
I ended up writing my own Cordova plugin, SnapsCamera.
It uses a half-screen-sized view with UIImagePickerController's UIView added as a subview.

Augmented reality API for IPAD specifically

i'm looking for an AR API (possibly free) or SDK that may be used on IPAD.
I've tried Wikitude so far, but it's not adapted for IPAD for the moment, and most of the well known API seems to be only made for iPhone..
Any clue on this one?
Any chance that this API offer the possibility to add the AR view as a subview (for example as an element of a tab bar..:))
Thanks a lot
Why are you going for 3rd party library? You can apply AR using local library. On your ViewController make 2 UIView. The one in the back implement Camera View on it. And the one on the front implement whatever you want to show on the live preview of camera. Then if you want to capture the screen just simply take a screenshot and it'll be saved.

blackberry camera Application

I am implementing camera application using then example comes with blackberry plugin for eclipse named "CameraDemo" the problem is that when the screen loses focus It does not display the camera view istead of it shows like this
has anybody faced such problem whats the solution?
This way of taking picture (using the Player and VideoControl.getSnapshot()) does not work nice on all BB models. I'd even say it works nice only on a narrow set of BB models. So if you are going to use your app on a wide range of BB models, then this is not the right way to go.
Instead to take a picture use a built-in Camera app. Here is a starting point on how to do that.
Basically you invoke the built-in Camera app and listen for the file-system changes to detect a new image file path. Then you need to close the built-in Camera app somehow - it's possible to do that by simulating two 'Esc' button presses.
Yes, this sounds a bit hacky/over-complicated, but that's how BB engeneers arranged that for us. :) BTW, this is actually not so bad if compare with Android where different device manufactorers violate the common rules and implement the Camera app in their specific way so you are not able to write the code once covering all Androids.

Custom Camera view for UIImagePickerController that uses the base camera UI?

I'm trying to build a slightly modified UIImagePickerController with a UIImagePickerControllerSourceTypeCamera source-type. I would like to retain the default controls of Flash, Front/Read facing camera, and Photo Capture but replace the default cancel button with a smaller cancel button & a button to launch the user's device photo-library. Is there a way to do this without having to recreate the entire camera UI? If there's not a way, is there a 3rd party library (commercial or open-source) that allows for this? Thanks.
I can tell you that there is no way to modify the standard camera UI unless you recreate it entirely, but I don't know if there is any library to help you with this. I had to create a new UI and I didn't find it difficult. You can easily bind the UI elements with the functionalities you need. This might get you started.

Resources