Xamarin.Forms PCL and SWIG PInvoke C++
We have a core set of C++ code that we use in projects on iOS (using Objective-C++) and Android (using SWIG to Java). I would like to reuse this code in a Xamarin Forms based app, but am getting stuck....
View ArticleHow to detect the return keypad
Hello, I would like to know if it's possible to detect when the return keypad is tapped/clicked. Please advise. Thanks, Jay
View ArticleUpdating to Forms 2.0.0 throws Layout cycle detected. Layout could not...
Updating to Forms 2.0.0 throws Layout cycle detected. Layout could not complete exception in WindowsPhone and WinRT. In Android and iOS, I dont experience any crash, but it makes a strange behavior to...
View ArticleHow can i debug app on real device using release mode?
I'm continuously seeing in VS2013 that debugging is off from android project properties. However in the cs project which i edited debug is set to true debugsymbol is set to full but app is not...
View Articlebarcode scanning in a Forms app
I need to integrate barcode scanning into my Xamarin.Forms prototype app. Before I go down this road, has anyone already done it, or does anyone have a suggestion about how to best approach it?
View ArticleA rotator with grids
Hi, I'm quite new to the whole binding concept and are trying to create the following: I have a rotator based on some sample code I found. It binds to an enumerable. Each item in the rotator should...
View ArticleApplication windows are expected to have a root view controller at the end of...
Cry. Suddenly my app I'm working on doesn't work anymore -> I'm now getting the following crash when I start my app: Objective-C exception thrown. Name: NSInternalInconsistencyException Reason:...
View ArticleUnable to find a version of XF compatible with...
I have 5 packages (Xamarin.Android.Support....) that can be updated, but I have this error (for all packages...) Attempting to resolve dependency 'Xamarin.Android.Support.v7.AppCompat (= 23.1.1.0)'....
View ArticleIcons in TabbedPage
I am struggling to get icons showing up in my TabbedPage. The icon property of the Page is a string, so I cannot use the ImageSource.FromFile. Now for IOS i noticed I can set the ResourceId for the...
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 ArticleUnable to update a PCL to include Xamarin.Android without losing .Net...
I am unable to update a PCL to include Xamarin.Android without the .Net Framework being dropped down from 4.6 to 4.5. I have attempted the following: $(MSBuildProgramFiles32)\MSBuild\14.0\Bin I need to...
View ArticleXamarin.Forms.iOS Google Maps Error
I have this error with setting up the CameraPosition for the Google Maps for iOS. ERROR: System.Exception: Could not create an native instance of the type 'Google.Maps.CameraPosition': the native class...
View ArticleMajor bug in tablets with AppCompatActivity
I've reported this since 1.5.2 came out, and it's still the same issue at 2.0.0.6484 Basically, tablet landscape mode will not show toolbar buttons. Here is a picture in Portrait: You can see the...
View ArticleNavigation and AppCompatActivity
Hi all, I switched from XFormsApplicationDroid (I'm using XLabs) to FormsAppCompatActivity (of course for the Android part of the app) But now I have a problem... I have to push a new page and remove...
View ArticleHow to access other control elements of Cell from the button event handler in...
Each row has two buttons with image called A and B in ViewCell, if click on the A button the image of the button B should change. The event handler for button A is in cs file. From this handler how to...
View ArticleDestroy a Task
Hi Friends, and Happy Christmas to all of you. I have this problem. I have an app that, on OnStart(), create a Task Task.Run(async()=> startTimer (60000)); this startTimer() has this code... private...
View ArticleUWP + Forms 2.0 - Custom Page Renderer always shows empty
I have below custom page renderer for UWP app, while the app always shows an empty screen, from the debug with the Loaded event, I can see the border element in the ContainerElement with ActualWidth=0...
View ArticleXamarin.InAppBilling, how to get Activity not Context in Xamarin.Forms
When a user clicks a button, I want the Google popup to show (if on Android platform of course). I can do it, but only in my regular ProjectName.Droid project. I cannot do it with DependencyService...
View ArticleBaseUrl for HtmlWebViewSource: how to use it?
I'm trying to set the BaseUrl of a HtmlWebViewSource for a WebView, so that local resources such as images can be shown when I want to load a web page from a "local" string containing the html. I...
View ArticleWait an activity to finish
Hi, I am making an App to take pictures, I have a method in the Android section using dependency service. This method start an activity for taking the picture and return the path to the picture so I...
View Article