Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Camera access with PCL

$
0
0

I've been using PCL project for a while and I can't get the camera to work. I've gone through online Xamarin Docs and some samples like https://github.com/XLabs/Xamarin-Forms-Labs/wiki/Camera but no help, either the referances to the project are outdated which forces me to update them or my current environment doesn't support to build the project. Plus I could not get reference Xamarin.Mobile via NuGet in my project, I'm not sure whats wrong, I got following error.

"Could not install package 'xamstore-xamarin.mobile 0.7.1'. You are trying to install this package into a project that targets 'portable-net45+win+wp80+MonoAndroid10+xamarinios10+MonoTouch10', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author."

I'm using Xamarin Studio version 5.9.3 (Build 5) and I would like to run the app on "Android" and "IPhone" which includes, taking photographs by front and rear camera.
Any help would be appreciated.


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>