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 ArticleImageCell 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 ArticleCan'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 ArticleCustom 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 ArticleSystem.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 ArticleStyle 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 ArticleUsing 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 ArticleStyles 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 ArticleIssue 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 ArticleIs there any Floating Video Player for Xamarin.Forms or Xamarin Android & IOS?
Is there any Floating Video Player for Xamarin? Thanks in advance
View ArticleHow 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 ArticleHow 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 ArticleAnimation 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 ArticleInvalidCastException 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 ArticleChanged 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 ArticleGeolocator 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 ArticleWhere 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 ArticleGet 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 ArticleOnPlatform 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 ArticleHow 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