Questions tagged [xamarin.mobile]

Xamarin.Mobile is a .NET library that runs on iPhone, Android and Windows Phone 7 which abstracts the underlying functionality and exposes a common API that developers can build against.

Xamarin.Mobile is a .NET library that runs on iPhone, Android and Windows Phone 7 which abstracts the underlying functionality and exposes a common API that developers can build against.

31 questions
35
votes
4 answers

Camera access with Xamarin.Forms

Is anyone able to give a short, self-contained example on how to access the camera with Xamarin.Forms 1.3.x? Simply calling the native camera application and retrieving the resulting picture would be great. Displaying a live view on the…
Falko
  • 17,076
  • 13
  • 60
  • 105
14
votes
2 answers

MonoDevelop 3.1.1 can't find System.Xml.Linq

I just downloaded the trial version of "Mono for Android"/MonoDevelop 3.1.1 for Mac OS X. I am trying to parse some XML using XDocument. But I can't seem to find the import I need: using System.Xml.Linq; I get the following error: The type or…
Sunkas
  • 9,542
  • 6
  • 62
  • 102
9
votes
3 answers

Could not install Xamarin.Mobile in PCL iOS Project

I'm trying to install Xamarin.Mobile in a PCL iOS project by NuGet and i'm gotting this error! Could not install package 'xamstore-xamarin.mobile 0.7.1'. You are trying to install this package into a project that targets …
Pedro Franco
  • 1,926
  • 1
  • 15
  • 37
9
votes
4 answers

Monodroid: Where should I put configuration settings?

From Miguel de Icaza: We use a library profile that is better suited for mobile devices, so we removed features that are not necessary (like the entire System.Configuration stack, just like Silverlight does). After years of .NET development, I'm…
Jim G.
  • 15,141
  • 22
  • 103
  • 166
7
votes
2 answers

Xamarin.Mobile iPad Camera Size

I'm developing an app specifically for the iPad using Xamarin Studio. One feature is to take a picture using the camera so naturally I'm using Xamarin.Mobile. Currently when I invoke the TakePhotoAsync method on the MediaPicker the camera size…
Jason Maxwell
  • 158
  • 10
7
votes
1 answer

does xamarin supports coreBluetooth for iOS?

I am new to Xamarin, and performing a feasibility study. I am not sure if Xamarin provides a Common API for Bluetooth Low energy across platforms including iOS, android, Windows? In iOS, this API is coreBluetooth. Please provide details; I…
Whoami
  • 13,930
  • 19
  • 84
  • 140
5
votes
4 answers

Creating desktop application for Mac, Windows or iOS using C# or VB in Visual Studio

Can i create application in visual studio that can be run on Mac, windows and iOS? My client asked me to create a line of business application that can be run on Mac, Windows or iOS through one click installation, and his precious application was…
ramya
  • 2,350
  • 6
  • 31
  • 57
4
votes
1 answer

How to share Xamarin.Mobile related code in a cross-platform application

I'm working on cross-platform mobile app and as I understood Xamarin.Mobile was developed in order to increase code sharing in cross-platform applications. Though I couldn't put it into PCL. What I got is platform specific implementation of each API…
3
votes
1 answer

Xamarin.Mobile: task-based API marked as obsolete

The latest release of Xamarin.Mobile component obsoletes some Task-based APIs for Android. Release notes briefly comment on this: Given the fragility of the Task<> based API on Android due to Activity lifecycle realities, the async API is now…
yallie
  • 2,200
  • 1
  • 28
  • 26
3
votes
1 answer

Xamarin: MVVMCross info

Adapting the MVVMCross framework in Xamarin crossplatform application development, we have PCL (containing Model and View Model) and View (for each platform) as in here. a) Where does the Xamarin.mobile (for gaining single set of API access) reside?…
user1407804
2
votes
2 answers

Gmail like navigation drawer (master page) in xamarin.forms

I am currently using the master-detail page in xamarin.forms using MVVMlight and it renders based on the default behavior of os it renders perfectly what I wanted but in android master page starts below the navigation bar. I wanted master page to…
2
votes
1 answer

How to read contacts with Xamarin.Mobile for cross-platform apps

I'm doing some evaluation of programs and frameworks to build cross-platform apps. Now, i am just trying to load the contacts of the device with Xamarin.Mobile. I found this guide: http://components.xamarin.com/view/xamarin.mobile but when I enter…
T. Ne
  • 21
  • 3
2
votes
1 answer

GetPositionAsync does not return on real device when indoors - Xamarin Android

I am developing both and iOS and Android version that requires GPS using Xamarin. On iOS it's working fine, however now developing the Android version I have some issues with the GPS. It does not fetch the GPS but times out. However, on a emulator…
Sunkas
  • 9,542
  • 6
  • 62
  • 102
2
votes
1 answer

How to get compass heading in Xamarin.Android

I am trying to get the compass heading on my Android device. Therefore I tried to get the heading with the Xamarin.Mobile component, but as this thread reports the heading is always 0. Is there any other possibility to get the compass heading on my…
fraherm
  • 671
  • 2
  • 11
  • 21
2
votes
1 answer

Xamarin.Mobile crossplatform implementation

I learnt that Xamarin.mobile provides single set of APIs across platforms. But implementing in a cross platform app, how does it look like? A cross platform architecture consists one project containing shared codes (core project) and other project…
user1407804
1
2 3