Derived Pages generate incorrect code.
I'm trying to derive all may pages from a base class in my Visual Studio Xamarin Forms project, but it generates incorrect code that when compiled gives the follow error: error CS0234: The type or...
View ArticleHow to change Navigation Bar Color
Here is my code: public partial class MainPage : MasterDetailPage { public MainPage() { Detail = new NavigationPage(new RootPage()); } } <?xml version="1.0" encoding="UTF-8"?> <ContentPage...
View ArticleSpecified cast is not valid. when using ExportRenderer in XAML.Forms?
What's wrong with this code, I get runtime error ? ==> [assembly: ExportRendererAttribute (typeof (CheckVATeuView), typeof (formContentXAML))] checkVateuView is a XAML page in my PCL (derived from...
View ArticleError adding second Project in an existing Solution.
I want to build 2 separate applications that share a common code base - and build each for Android, iOs, Windows. Here's the Solution setup I have in mind ... MyApp (Portable) MyApp.Application1...
View ArticlePassing data between ModelViews
I have two View Models and two Pages. Each Page has its ownView Model. The first Page has a property that displays the length called 'Length'. The second Page has the ability to change 'Length', but...
View ArticleCross Platform Location
I would like to use Xamarin Forms to target at least two platforms. One item we will need to collect from the device is its location. I have been looking at the docs and this seems to require platform...
View ArticleGet Device Location Using Xamarin.Forms Maps Geocoder
Hello, I can't find a way to get my latitude and longitude using Geocoder from Xamarin.Forms Maps. Does anyone know? Thanks.
View ArticleHow to communicate bluetooth paired devices in Xamarin
Hi Any One please let me know process or sample code for getting Bluetooth paired devices in Xamarin.forms or if it will not support from PCL please suggest for from Native level i.,e separate...
View ArticleXF Maps polyline - codeline hits, but nothing gets drawn?
I'm running the sample project here: https://developer.xamarin.com/recipes/cross-platform/xamarin-forms/maps/map-overlay/polyline/ The code hits all the place it's supposed to hit, I can see it's...
View ArticleEditor inside Scrollview not scrolling.
I have an editor control inside a StackLayout which is inside a ScrollView. I can scroll all the controls but when I go into an editor control if the text superpasses the editor's height I cannot...
View ArticleBackground task with completion handler is not working(IOS)?
Hello, I'm working on a project where I want to run a long running background task (Xamarin forms ios). I used Background task with completion handler, but the problem is, it works only while debugging...
View ArticleGoogle Maps on Cross?
An early doubt: could you use Google Maps in a Xamarin.Forms solution for all of its projects?
View ArticleXamarin Map and IOS google map
Hello everyone! I'm a newbie with xamarin and want to ask if somebody can help me, because can't find answer in google. Do somebody know how to use google map instead of default apple map , when I use...
View ArticleHow can I use google maps in XF for both iOS and Android?
I have a requirement to use an image to overlay on a map with given coordinates. So, basically, I have a detailed image of a large area. I want to be able to overlay that image on a map given the...
View ArticleGoogle Maps Integration
Hi, We are using Google Maps for our Android app, Bing Maps for WinPhone and iMap for iOS. We have an existing Xamarin.Forms app that uses MVVM. What needs to be done to wire up my viewmodels in my PCL...
View ArticleGoogle Maps on iOS when using Xamarin Forms?
Hello, I am wondering if Xamarin Forms Map can use google maps rather than apple maps on iOS? Thanks for your help in advance!
View ArticleUsing Google Maps for iOS on Xamarin Forms
Okay, I have this app that I need to render Google Maps on both iOS and Android. Xamarin.Forms.Maps renders its native maps based on the OS used by the device e.g. Google Maps for Android and MapKit...
View ArticleUsing Google Maps on Xamarin.Forms for Android
So we need to create an app that renders a map and we are currently using Xamarin.Forms to integrate it. However, we will not use Xamarin.Forms.Maps since we have to use the Google Maps API for iOS and...
View Article