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

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 Article


App 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 Article


Image may be NSFW.
Clik here to view.

Why 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 Article

Image may be NSFW.
Clik here to view.

The 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 Article

Image may be NSFW.
Clik here to view.

Login 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 Article


Xamarin 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 Article

Android 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 Article

HttpClient 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 Article


Border 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 Article


Image may be NSFW.
Clik here to view.

Visual 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 Article

Propagate 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 Article

How 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 Article

Deleting 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 Article


Xamarin 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 Article

Sometimes 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 Article


Is 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 Article

Corner 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 Article


Drag 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 Article

Image may be NSFW.
Clik here to view.

REST 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 Article

Cannot 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
Browsing all 204402 articles
Browse latest View live


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