Quantcast
Channel: Recent Threads — Xamarin Community Forums
Browsing all 204402 articles
Browse latest View live

How to store image path in sqlite database and image in local storage or file...

Can anyone tell me how to store image path in sqlite database using xamarin forms and also how to retrive that image source ?? Please Reply

View Article


ImageCell Image source not appearing

I have a ListView, with an ItemTemplate like so: <ListView.ItemTemplate> <DataTemplate> <ImageCell Text="{Binding Name}" Detail="{Binding Description}" ImageSource="{Binding Image}"...

View Article


Can't log in to xamarin account on visual studio

when i try to log in my xamarin account it gives me this error "Unexpected character encountered while parsing value: <. Path '', line 0, position 0."

View Article

Custom NavigationRenderer System.InvalidCastException:

I'm trying to create a custom Navigation Page, in Android at the moment. I'm following instruction from this link:...

View Article

System.Data.SqlClient InvalidOperationException only Mono?

This code works in Windows and not in Mac (System.Data.SqlClient) Why is the environment decisive? var cb = new SqlConnectionStringBuilder(); cb.DataSource = "..."; cb.UserID = "..."; cb.Password =...

View Article


Style FontSize OnPlatform in Xaml

Hi everybody, i'm looking for a way to change the fontsize of all my labels with a style defined in App.xaml (XF 1.3). But i don't find any way to make it works. Note : i want to make it with xaml in...

View Article

Using Implicit Styles to Specify Background Color of All Pages

I am attempting to use App.xaml as sort of a stylesheet but having an issue with adding an implicit style to change the background color of all pages in my app to be the same color. I still always get...

View Article

Styles defined in App.xaml Resource Dictionary are not created at runtime

I'm trying to counteract my preference for a code-based UI by using XAML whenever possible. I watched the video "What's New in Xamarin Forms 1.3" (which is excellent) and ran a few examples including...

View Article


Issue in Xamarin Forms Carousel view in Android

Hi, I am trying to implement a carousel view in Xamarin.Forms. It is working fine on IOS but on Android I am getting an exception : System.DivideByZeroException: Attempted to divide by zero. I am stuck...

View Article


Is there any Floating Video Player for Xamarin.Forms or Xamarin Android & IOS?

Is there any Floating Video Player for Xamarin? Thanks in advance

View Article

How to add global background color style?

Im trying to use an implicit global style to set the BackgroundColor property of ContentPage like this: <Style TargetType="ContentPage"> <Setter Property="BackgroundColor" Value="#ff0000"...

View Article

How do I use OnPlatform in an application-wide resource dictionary?

Hi, I am struggling to find the correct syntax to use the OnPlatform XAML mark-up in an application resource dictionary. I currently have something like the following, which works fine: <?xml...

View Article

Animation lag when setting IsPresented on Master Detail Page

Hello, I noticed that the animation is poor when setting IsPresented property of Master Detail Page, in order to close it. It lags pretty much in comparison when clicking on the "menu" button or...

View Article


InvalidCastException when calling base.OnElementChanged(e); in custom renderer

I am trying to create a custom renderer to override how the icons in the toolbar are displayed. I didn't get far because I get en InvalidCastException when calling base.OnElementChanged(e); Any idea...

View Article

Image may be NSFW.
Clik here to view.

Changed background colors of action bar and page after update to forms 3.1

Hi all I’m on the way to update my .forms (shared) project: VS2015 Update 3 RC -> VS2017 15.7.5 .forms 2.3.0.49 -> .forms 3.1 Note: I don’t use XAML yet (I do anything in code). After I have...

View Article


Geolocator Plugin always returns locator.IsGeolocationEnabled = false

Hi I'm using the Geolocator Plugin in a PCL. The following line ALWAYS returns false. if (locator.IsGeolocationEnabled) I have added the necessary entry to info.plist. I get the dialog to allow...

View Article

Where are application colors defined?

I have two projects, one created about a year ago with VS2015 an older version of Xamarin (2.0.0.6482) and one created yesterday in VS2017 and Xamarin (3.0.0.561731). I've since updated the old...

View Article


Get User Current Latitude and Longitude without any packages.

Hi, I am implementing app where I need user's current latitude and longitude but without using any packages. So is there any way to do that? P.S. I have already tried this package but it didn't work...

View Article

OnPlatform XAML

Hi! I am trying to add the OnPlatform tag in my XAML ContentPage definition file. I have a working Android App and now wnat to to make tweaks for the IOS version. I would like to use the OnPlatform tag...

View Article

How to get the file path of xml file and how to retrieve data from a...

Hi, I am using a external xml file as a configurable file in my project. I have parsed it with XmlDocument and it was successful in a console application and my file path was hard coded here. Now I...

View Article
Browsing all 204402 articles
Browse latest View live


Latest Images

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