A Microsoft framework for building cross-platform mobile apps using .NET and C# with native performance and user interfaces.
Camera in Xamarin Android
I want to add camera to my xamarin android app. I dont' want to capture photo I want to stream live video and then process it in real time. I need a simple example of camera in xamarin android (in FrameLayout position).
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@ hide /appbar_scrolling_view_behavior"
tools:showIn="@layout/app_bar_main">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_centerInParent="true"
android:contentDescription="pippo"
android:id="@+id/imageView1"/>
</RelativeLayout>
Thanks
Alessio