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
2
votes
2 answers

Monotouch dialog multiline element height not growing

I have a simple custom multiline element whose linebreak mode i've set to wordwrap, and lines property i set to 7. My text seems to wrap just fine, but the cell height stays the same, so the text extends the bounds of the cell. I've tried…
DeleO
  • 108
  • 2
  • 8
2
votes
2 answers

Sample code for file-picker in Xamarin android

Can anyone show me how to implement a file-chooser/picker for Android using Mono? Thanks in advance, Tery
Tery Emilson
  • 43
  • 2
  • 4
2
votes
1 answer

Xamarin.Mobile Camera image stream

I am trying to use the new http://xamarin.com/mobileapi and (while awesome) I can't find the functionality I need - I need to access the camera stream and sample it. Using the MediaPicker class I can get video and images but I need to analyze the…
Shy
  • 401
  • 1
  • 5
  • 15
1
vote
1 answer

Unable to Save Contact using Xamarin.Mobile Component in Xamarin.Android

I am using this Xamarin.Mobile component in Xamarin.Android project. After a lot of googling and going through their samples, i found only the way to retrieve the contacts from phone to my app. Below is my code: AddressBook book = new…
sriman reddy
  • 763
  • 8
  • 22
1
vote
0 answers

Xamarin Mobile Geolocation Task Never Resolves

While using Xamarin.Mobile.Geolocator I've come across an odd bug that seems to be blocking me from resolving the Task. For example: var locator = new Geolocator (); if (locator.IsGeolocationAvailable) { …
Cameron
  • 86
  • 1
  • 2
  • 16
1
vote
1 answer

Xamarin.Mobile Contacts API takes up a lot of time while fetching contacts?

I'm using Xamarin.Mobile Component for Android to fetch contacts using the code: var book = new AddressBook (Activity) {PreferContactAggregation = true}; var contData = data.Data; var cur = Activity.ManagedQuery (contData, null, null, null,…
Aniket Sharma
  • 241
  • 3
  • 26
1
vote
1 answer

MvvmCross vnext : monodroid use a VideoView inside a plugin

I was playing with Xamarin Mobile api MediaPicker which uses MediaRecorder with monodroid to make a plugin to record a video. Android must preview the video inside a VideoView. This restriction applies to wp7 and ios too for privacy. So, I need to…
0
votes
1 answer

Error reading contacts in Xamarin Forms using Xamarin.Mobile

I am getting the below error while looping through the contacts in Xamarin.Forms android project "Expression of type 'System.Collections.Generic.IEnumerable1[Xamarin.Contacts.Contact]' cannot be used for return type…
0
votes
0 answers

Embed Google Maps area to put it in an App (build with xamarin) and lay picture over the map

Right now I am working on a project for university. I'm really struggling due to my not existent experience with xamarin. The plan is to make an app for a zoo and there has to be a function that can tell you where exactly you are with GPS and to…
0
votes
1 answer

Xamarin camera access in a shared project

I'm building a shared project and I want to access the camera. For now i'm just trying to get this to work on android. I found this here in stackoverflow and it works but I'm not being able to put this to work in my project becouse I want to call…
João Zão
  • 170
  • 1
  • 11
0
votes
0 answers

Xamarin is displaying photos with a random rotation

I'm working with a hybrid xamarin application. The pictures stored in my decvices (like images) are displayed good, but the photos (new photos or photos stored in my device) when I display those images, are displayed with a rotation of 45° or 90°,…
Benjamin RD
  • 11,516
  • 14
  • 87
  • 157
0
votes
1 answer

What does this stack trace indicate? Crash caused by Xamarin.Media.MediaPicker.TakePhotoAsync on iOS8

What does this stack trace indicate? Crash caused by Xamarin.Media.MediaPicker.TakePhotoAsync on iOS8 on iPad2 I've logged a bug at... https://bugzilla.xamarin.com/show_bug.cgi?id=22853 But I'd like to make sure that it is not something I'm doing.…
Felix
  • 1,346
  • 1
  • 12
  • 25
0
votes
1 answer

MvvmCross picturechoosen plugin and camera stuck issue

Hi I'm experiencing a strange problem with a MvvmCross picturechooser plugin for iOS development using Xamarin. I am developing a form where user can choose/take multiple photos and a video. My app allow users to add multiple photos either from the…
SoftSan
  • 2,482
  • 3
  • 23
  • 54
0
votes
1 answer

Xamarin.Mobile Component multiple file saved getting deleted without calling delete function for iOS

We are using Xamarin.Mobile component for taking and storing photos in an local app directory. Now, its works fine when I am storing a single photo but if I am storing multiple photo and trying to access those, only last image exist, all other…
0
votes
1 answer

Xamarin.Mobile Create, Update & Delete Contacts

On what platforms does Xamarin.Mobile allow creation, updating and deleting of Contacts? Specifically, does it allow this on Android? Doesn't seem to be the case, according to my research of the APIs.
Herman Schoenfeld
  • 8,464
  • 4
  • 38
  • 49