The type initializer for 'SQLite.SQLiteConnection' threw an exception in Uwp
public SQLiteConnection GetConnection() { var sqliteFilename = "Member.sqlite"; string path = Path.Combine(ApplicationData.Current.LocalFolder.Path, sqliteFilename); var conn = new...
View ArticleApp runs in debug mode, crashes in release mode
Hi! When running my xamarin forms app on android in debug mode, all works fine. But when running it in release mode the app crashes after showing the splash screen. (I have deleted the debug version...
View ArticleWhy Location Permission is not when when distributing the app?
Hi, In my .NET Standard app, I have set the location permission as you can see in the attached image but when distributing the android app on Google Play it doesn't set the permission so user needs to...
View ArticleThe name 'InitializeComponent' does not exist in the current context
I Created a brand new Xamarin.forms project with Visual studio 2017, when i try to compile after creating the project, i'm getting the below error, I didn't change single line of code. "Error CS0103...
View ArticleLogin Page in Xamarin Forms
Hi guys, I am really new to Xamarin so help is much appreciated Here are my questions: I am wondering since i read the other thread about creating a login module which it says "push the login page...
View ArticleXamarin for Point of Sale app
Hi, Can I use Xamarin for Point of Sale app? If yes then how can I print for example to the Epson thermal printer to print the customer receipt? Thanks, Jassim
View ArticleAndroid Activity tag android:name MD5 changed in Manifest file without...
I have created an android build in 10 March 2018(#1234) then created the same version build in 15 May 2018(#1245). In both the builds i there is an issue of changing the class name in android manifest...
View ArticleHttpClient has very large response time on Xamarin Android
I have followed the article https://docs.microsoft.com/en-gb/xamarin/android/app-fundamentals/http-stack?tabs=macos to make Xamarin Android application support TLS 1.2 When I call rest service, It...
View ArticleBorder Radius and Border on Entry
Is there a way to set a border radius or border color/width on an Entry? Or does that have to be done using custom renderers, and if so, does anyone have an example of what that would look like?
View ArticleVisual studio slow down Mac
Visual studio takes 100, 200 or more percentage of CPU. New projects in solution are being created very slowly (2 minutes or more). Visual Studio for Mac Preview, Version: Preview 5 (7.0 build 1659)....
View ArticlePropagate events from datatemplate.
I'm using a datatemplate on a listview which is working fine. But have no idea how to propagate events from the datatemplate to the listview codebehind? ............................... class...
View ArticleHow to check if the user didn't do any action of the application for 15 min...
How to check if the user didn't do any action of the application for 15 min for example Thank you
View ArticleDeleting files in SD Card
Hello, Can someone let me know is Android allow us to delete files in SD Card? If yes then how we can do that, because its not letting me to delete, its showing error "Access to path 'specific file...
View ArticleXamarin disconnects after connect with VS2017 and Pixel2
Visual Studio 2017 Community Pixel2, Android 8.1.0 Xamarin disconnects as soon as I close the Xamarin Live Player pairing dialog in VS
View ArticleSometimes Image doesn't display on Old/Smaller Android devices
Sometimes the image doesn't display on my older Android (pre lollipop). I am guessing it is a memory issue, but it seems inconsistent. One one page no image shows up, the next page they all work....
View ArticleIs Possible to recover C# code from APK ?
Hello, my name is Leonan Fraga Leonardo and in the last week an inconvenience happened with me, I lost my application developed for my MSc thesis due to a failure in the SSD controller, however, I have...
View ArticleCorner border for Frame
In Xamarin Forms by setting CornerRadius='some value' will render the frame accordingly in iOS and Android. But in UWP frame is rendered as a sharp / rectangle border. Fix for this: In UWP native...
View ArticleDrag and Drop in UWP
Let's say we have a set of positions and we have to drag filled position and drop into empty position. In UWP render the custom control and add private field private DragDropGestureHandler...
View ArticleREST APIs are working in postman and browser but not working when applied on...
Hi, I have a strange problem. I am working on a xamarin forms app. My REST APIs are working in postman and browsers, but when I apply these REST APIs to project they are not working. Already run many...
View ArticleCannot update GooglePlayServices 60.1142.0
I am trying to update googleplay services package to 60.1142.0. It seems like that you have change with Xamarin.GooglePlayServices.Basement package and I am getting error message as below. I tried to...
View Article