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

Android: Exceptions in Background Tasks are silently caught

I am testing exception handling in my Xamarin.Forms App. I have to buttons that are bound to two commands. One raises an Exception on the UI thread, the other one is rasied in a background thread....

View Article


TabbedPage with icon on iOS 7 causes exception

I have following code : this.Children.Add (new PanicPage{Title="Panic", Icon="icon_panic" }); this.Children.Add (new StatusPage{Title="Status", Icon="icon_status" }); this.Children.Add (new...

View Article


How to get long live access token from facebook.

Hello Friends , Today i am working on facebook integration in both ios and android.i complete facebook authentication process and after it i want to get long live access token so i make a get request...

View Article

Set value direct from ViewModel

I am integrating a map in my app. As I understand there is no fully supported binding for the Map and Pins, so I am setting it up in my View. But I need to get an address from my ViewModel. This should...

View Article

How can I display my data with chart?Please help me

Hello I'm sorry.My ability is too weak.So After I read customer control knowledge.I still don't know how to let ComponentOne windows phone controls to support Xamarin.Forms. I just want to use some...

View Article


Using System.Reflection.BindingFlags in xamarin forms

Hi! I'm trying to use BindingFlags and GetType().GetProperties() on a xamarin forms app. I have using System.Reflection on the top of the class, but i'm always getting "the name BindingFlags does not...

View Article

LEADTOOLS Multimedia SDK

Anyone try this with Xamarin ? https://www.leadtools.com/sdk/multimedia-suite.htm if not supported what alternative then ? in my mind an idea to create video Downloader App that can Capture any video...

View Article

FilePath from MediaPicker randomly fails

Hi, I'm using the failry standard MediaPicker to select Media from iOS: var mediaPicker = new MediaPicker(); await mediaPicker.PickPhotoAsync().ContinueWith(t => { MediaFile file = t.Result; if...

View Article


Back button on navigation controller not actually changing content when it...

I'm encountering a weird problem with a navigation bar on an iPad Xamarin forms app. It seems to be intermittent so before I go to the effort of trying to nail down a reproducible case to submit a bug...

View Article


Xamarin forms app crashes when device unplugged

Hi. I'm developing a cross platform app with Xamarin forms which uses gps services to get current location. Everything seems to run ok on debug, but I've realized that when the device is unplugged from...

View Article

How to change Instagram User Profile Picture.

Hi, We are working on social accounts, we need to change the Instagram User Profile Picture from my code, please help if any one know how to change it. Thanks

View Article

Xamarin.Forms 1.4.1 Released

Important Notes This package is identical 1.4.1-pre2 with an update to all portable libraries to now target Profile 259 Enhancements Secondary toolbar items on iOS now have a disabled appearance Add...

View Article

Background task

I am encountering a scenario where I need the user to be able to fire off an upload, but continue working on the app - and if possible, keep the user informed of upload progress wherever they are...

View Article


Label WordWrap within Grid Cell

Hi, can anyone help me on matter as below ? I unable to wordwrap nicely a label within a grid cell ? Grid grid = new Grid { VerticalOptions = LayoutOptions.FillAndExpand, RowDefinitions = { new...

View Article

EventKit - Where to store EKEventStore when using Forms

I want to be able to add and retrieve events to the native calendars of my Xamarin Forms app. I'm using the Dependency Service to run the platform specific code for changing calendar events. I've read...

View Article


How to load image from asset catalog in code behind.

I am using Xamarin.Forms (latest version). My images are organized in asset catalogs. I have splash screen images in Resources\Images.xcassets\LaunchImage.launchimage asset catalog. Images have build...

View Article

Loading Html ressources in WebView

Hello, I'm currently doing a project where I load an html page and all it's resources on the local storage of the device, so I can load my webview before showing it. To load my webview, I do: `var...

View Article


Label display problem

Hi, I need to display a very long text (about 8k characters). My idea was to put a word wrapping label in a scroll view. On iOS, everything works fine. On Android, the label is cropped after about 5000...

View Article

Is it possible, that Resx Localization only work in PCL Projects?

I´ve tried to set up my Cross Platform App(SAP) to multiple languages. I´ve did it exactly as described in the Localizing Xamarin docs. First of all I could´t find a way to add a resource file. It was...

View Article

Navigation Bar appears for few seconds and disappears

I am navigating between Login form and MainPage of application using following code: Navigation.PushAsync (App.GetMainPage ()); One the MainPage I am trying to remove the NavigationBar using following...

View Article
Browsing all 58056 articles
Browse latest View live


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