Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Browsing all 91519 articles
Browse latest View live

Pass data between Page and Activity for external application

Ciao. I've a PCL Xamarin.Forms application. I've to call an external application, so I have to create a PageRenderer and an Activity. In the activity, using StartActivityForResult, I can start the...

View Article


Navigating from Android activity back to forms

I have forms project where I use a custom ContentPage and a PageRenderer based on this code: forums.xamarin.com/discussion/18014/mixing-forms-content-and-native-activity I can navigate to my android...

View Article


Setting background for every page in Xamarin forms

Hi , I would like to set the background image for every page and it should be accessible for every where .I have seen and got some information about how to do it in the net from the following link...

View Article

Changing the UI localisation within an app.

Hi, I have a localised app running for forms (I've effectively used the example from the xamarin website). What I'm trying to do is alter the UI language from a picker. While the code works, the...

View Article

Change Referenced Assembly (.dll) Name

Hello, I'm Having an issue using diferentes assemblies with the same names. I need to use both of them but cant because the namespace has the same name. I saw that a solution could be external alias...

View Article


Component for showing image

Hi, I wonder if there is any component for full-screen image display, by clicking on the picture to show it in full screen, like on the Facebook app. Thanks!

View Article

3D rendering performance : Xamarin.Forms with OpenGL/TK vs. three.js with WebGL

Hi, Is there any difference regarding 3D rendering performance to be expected between an application developed with Xamarin + OpenGL/Open TK, compared with a java-script application using...

View Article

MasterDetailPage IsPresented is completely ignored.

Two issues: (1) If I set IsPresented = true on the OnAppearing() method of my MasterDetailPage, the Master menu is shown and then is immediately closed automatically. A video showing the Master closing...

View Article


What will be the best MVVM framework in Xamarin.Form

Hi Folks, What will be the best framework for Xamarin.Form? Can I use MVVMLight in Xamarin.Form? Please advise. Cheers

View Article


Select a Grid in code behind

Hy guys, I am a bit baffled here. I want to select a grid declared in XAML but in code behind. Usually this is done by selecting the grid's name, id or any other identifier. However I am not able to...

View Article

TapGestureRecognizer not firing for Android

TapGestureRecognizer is working for WinPhone but on Android although the Application Output is showing [ViewRootImpl] ViewPostImeInputStage ACTION_DOWN but the Tapped evenit isn't being called... var...

View Article

DependencyService.Get() best practice?

In all of the examples that I've seen in the documentation dependencies are retrieved (DependencyService.Get()) each time the particular interface is needed. This seems like it could be more processing...

View Article

Cross Geolocator Consent Event Notifier

I'm successfully using the Geolocator Plugin from @JamesMontemagno in a Xamarin.Forms app to query a user's location. On iOS: 1) It successfully shows the consent dialog box upon the first (ever)...

View Article


System.IO.Compression It does not work - Microsoft.Bcl.Compression

I've a xamarin form project, when i use this code ... var re =await client.Execute(request); var gs = new GZipStream(new MemoryStream(re.RawBytes), System.IO.Compression.CompressionMode.Decompress); .....

View Article

Is there a way to dismiss Page.DisplayAlert() on background xamarin.forms app?

In regular android you'd save off the dialog and close it on home button pressing. But you're not given a dialog object you can dismiss in Forms. Is there some mechanism to close the dialog after the...

View Article


Object Reference error updating Xamarin.Forms to 1.5.1.6471

Hi All, I'm using NuGet to update my Xamarin.Forms application to 1.5.1.6471 (I'm on a 1.4 version) and am experiencing an object reference not set to instance of an object error when doing so. Has...

View Article

Xamarin.Forms.Entry FontFamily property

I've got a Xamarin.Forms project in which I'm trying to use an Entry and set its FontFamily in XAML. I keep getting a XAML exception about the FontFamily property not existing. I'm working in Xamarin...

View Article


Sidebar Navigation integration into a Xamarin Forms project

hi, I'm trying to get the Sidebar Navigation component working in a Xamarin Forms iOS/Android project. For some reason though my project doesn't show the menu on the top right of the root form as...

View Article

Xamarin.Forms iOS UIKit.UIImage Error

I've been working with making a mobile app using Xamarin.Forms. I have everything working on android, but when I try to launch on iOS I get the error: System.Exception: Could not initialize an instance...

View Article

MR.Gestures handles ALL touch gestures

With MR.Gestures you can handle the Tapping, Tapped, DoupleTapped, LongPressing, LongPressed, Panning, Panned, Swiped, Pinching, Pinched, Rotating and Rotated gestures on all layouts, cells, views and...

View Article
Browsing all 91519 articles
Browse latest View live


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