Questions tagged [xamarin]

Xamarin is a platform consisting of Xamarin.iOS, Xamarin.Android, Xamarin.Mac and Xamarin Test Cloud. It allows you to write cross-platform native Apps for iOS, Android and Mac and follow your app through its entire lifecycle. The introduction of Xamarin.Forms supports Native UI development for iOS, Android and Windows

0
votes
1answer
6 views

Navigation Page Title

I am navigating from one page to another with Navigation.PushAsync(new NavigationPage(new xyzpage())); and set the NavigationPage.SetHasNavigationBar(this, false); property. I am not able to show the ...
0
votes
1answer
6 views

Google Maps not showing on phone

My Manifest Map showing on emulator But not showing on phone What could be the reason?
0
votes
0answers
17 views

When getting an answer back from WCF i get a “Strongly-typed” error

System.InvalidOperationException: Operation 'procWsDocumentAsync' contains a message with parameters. Strongly-typed or untyped message can be paired only with strongly-typed, untyped or void ...
0
votes
1answer
13 views

Deleting and Editing an item in a listview with Viewmodel and without using the codebehind

In the shown code i need to know the coding to be replaced in place of question mark in the code. I need to delete,edit and update the item in the list view without writing any code in code behind. I ...
0
votes
2answers
15 views

Xamarin Media Plugin Auto start or Timer

In my iOS Xamarin forms project I'm using Xam.Plugin.Media from https://github.com/jamesmontemagno/MediaPlugin as follows async void Handle_Clicked(object sender, System.EventArgs e) { await ...
0
votes
4answers
42 views

cannot implicitly convert type system.collections.generic.IEnumerable<string> to string[]

Trying to solve and getting to following error public String[] Any() { var lastSixMonths = Enumerable.Range(0, 6).Select(i => DateTime.Now.AddMonths(i - 6)).Select(...
0
votes
1answer
30 views

Xamarin ListView not binding

I just start learning xamarin and I know I should go to MVVM approach but before that I want to try the code behind binding but it is not working. I can see there's 2 lines in mobile but I can't see ...
0
votes
0answers
12 views

Get permissions from sharepoint in console/wpf/xamarin application

I want to get list of permissions from sharepoint for every person if that person have permission to read this folder in sharepoint For example my name in sharepoint is "Alice" and I want to get list ...
0
votes
0answers
17 views

Xamarin iOS Keyboard Dismissal Leaves Viewport Shifted in iOS 12 / XCode 10

Seeing a blocking issue after updating to XCode 10 related to keyboard displacement and then dismissal. When an input that would require webview centering is clicked, the viewport is repositioned to ...
1
vote
0answers
22 views

Xamarin update ViewModel value when model has changed

Let's say there is a model: public class MyCustomModel { public bool parameter { get; set; } .... } and there are also several ViewModels: public class MainViewModel : ...
0
votes
0answers
19 views

axml design not showing up

I was working the other day and everything was perfectly , I saved my project and exit vs . Now I am back and for some reason the axml design not showing up and only getting a white screen . I tried ...
0
votes
1answer
27 views

Displaying an image in gallery intent

Is there any way to create an intent that will open that gallery and will show a specific image in there? I'm not asking about saving the image to the memory but I just want a proper and easy way to ...
0
votes
0answers
16 views

Firebase Push Notification With Xamarin

I've followed a tutorial on how to send push notifications with firebase for Xamarin here I've created the xamarin application and I have the firebase project. I am attempting to send a test ...
0
votes
1answer
20 views

How to use RotateDrawable in Xamarin?

Could anyone help me how to use RotateDrawable in Xamarin? I am working on a Xamarin.Forms project and I need to rotate a drawable in the MainActivity.cs and then set the rotated drawable as a ...
0
votes
0answers
32 views

Overriding the same function twice

In order to ask for permissions during runtime I use the RequestPermissions function. I use the RequestPermissions function twice. Once in a fragment (void Android.Support.V4.App.Fragment....
0
votes
1answer
10 views

MultiDex: Main Dex Capacity Exceeded with MultiDex Enabled

I'm using a package I've included into my project that requires MultiDex, I've got 156561 references so I'll need multiple .dex files. However it fails, citing that the main dex file is too large ...
0
votes
1answer
19 views

Cath picker selected item = null Xamarin.forms

I want if user won't selection item in picker label's text become this: Error! Not full condition! I tried something like try { picker.Items[picker.SelectedIndex] = ...
0
votes
0answers
24 views

Binding to ParentViewModel from control defined in another xaml file

Some simplified code: MainPage.xaml: <ContentPage x:Name="MyMainPage"> <ContentPage.Content> <Grid> <xForms:SfCarousel ItemsSource="{Binding ...
0
votes
0answers
25 views

Ho to implement JobScheduler at Xamarin Android

I am working on Xamarin Forms project. I want to create background service in android project. some friend suggested JobDispatcher. I have found the Xamarin NuGet package marked as unlisted https://...
1
vote
0answers
16 views

Can't run the package EmguCV due to the incompatibility of the package ZedGraph

I want to use Emgu on my Xamarin multiplateform project, but I can't due to ZedGraph incompatbility. I am working on Visual Studio 2019, with Emgu.CV (4.0.1.3373) and ZedGraph (5.1.7). I installed ...
0
votes
0answers
29 views

TCP/IP client server Communication over different network C#

I try to Make my client and my Server communicate by sending a small request to get the Time, but it's working only if they're in the same network . My Client is a Xamarin Application and My server ...
0
votes
0answers
14 views

SecKeyChain.QueryAsData(securityRecord) WITHOUT prommpt

impolementing touch id in our app. It works for authenticating a valid 'touch' but we also want to cross reference a value in the key chain. When we call QueryAsData on the key chain we are getting a ...
0
votes
0answers
18 views

Xamarin - Android SDK 26

I downloaded and opened Xamarin when I run my app it says I need to install Android SDK 26, I'm currently debugging app on my Galaxy Note 4 Android 6.0.1, I have no problem on Android Studio and I ...
0
votes
1answer
34 views

Solved: Why does Xamarin Absolute Layout stacking not respect Children order

I am trying to achieve a layout where the content has an image on background (positioned in bottom left corner, expanding 100% vertically and 60% horizontally) The whole content is wrapped in an ...
-1
votes
0answers
12 views

Xamarin Apk not running after generated via VSTS

I am build a android application using Xamarin.Android. The Application is deployed when deployed via Visual Studio on the phone. It is also working when generating the Archive via Visual Studio and ...
0
votes
2answers
19 views

Androidemulator - Access files in LocalApplicationData

I'm using xamarin forms to develop an Android app. I can save a file via var fileName = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), $"appsettiings.txt")...
1
vote
1answer
28 views

Xamarin.Android Java bindings library runtime failure accessing native library

TL;DR: I am looking for a way to find and extract a native shared library (.so) file from an Android device that is running a vendor-specific custom Android build. I need this file as the missing ...
0
votes
1answer
21 views

No property, bindable property, or event found for 'Tapped'

I am getting compile error with Image's Tapped Binding using Prism MVVM. No property, bindable property, or event found for 'Tapped', or mismatching type between value and property. This is my ...
-1
votes
0answers
22 views

How to solve 04-23 12:37:17.041 E/com.companynam(25170): Invalid ID 0x00000000 [on hold]

I have a custom control created in Xamarin Forms Android. The control have no resources or drawable or resource.designer. When used the control in the sample on swiping or on touch getting the below ...
1
vote
0answers
28 views

How to Send Print to Epson EM T82 POS Printer from Xamarin Forms App?

Here I am starting a new activity for print data to my Epson TM T82 POS Thermal printer.And my Printer is connected through USB OTG Cable public void printData() { String ...
-1
votes
1answer
29 views

Xamarin.Android Click Button event is giving an exception, how can I fix it?

When I try to run the emulator an Exception occurs on calculateButton.Click += delegate, I am trying to make a Tip Calculator so when the user click on the button the app start to compute. The ...
0
votes
1answer
34 views

OnNavigatingTo not firing in XF Prism 7

I have been through multiple articles on navigation and passing parameters with prism. However, nothing I try will make the OnNavigatingTo method fire when changing pages. My goal is to pass a simple ...
0
votes
2answers
57 views

How to pass a List to a model and later on Binding to Grid

How to get the complete list of players to display on Home Page, below the line of code displays a single record var details = (from x in conn.Table<PlayerDetails>() select x).ToList(); Is ...
1
vote
2answers
26 views

Saving bitmap to gallery in Android

I thought that should be simple, yet I can't figure it out. I keep getting the error: System.IO.DirectoryNotFoundException: Could not find a part of the path "/storage/emulated/0/Pictures/Screenshots/...
-1
votes
0answers
16 views

i want to use a cloud to host 2 Xamarin apps so what is the best cloud regardless of azure? [on hold]

my problem is that my Azure account has a problem so l need to use my card number in another account on Azure or in another cloud so what is your advice?
0
votes
2answers
36 views

How to open the Slack application installed on my cell phone with a button in Xamarin Forms?

I need to open my Slack application installed on my cell phone through a button created in Xamarin Forms. What I have is an interface created in the shared project and the clicked event of the button ...
1
vote
1answer
32 views

Bitmap.Compress() requires a System.IO.Stream on Xamarin

I can't use OutputStream or any other kind of stream, yet I can't create an instance of System.IO.Stream. System.IO.Stream s = new System.IO.Stream(); bmpObj.Compress(Bitmap.CompressFormat.Jpeg, 100, ...
1
vote
2answers
26 views

How to add a bitmap to a specific album in the gallery?

I have tried many ways yet none of them works. I want to create a specific album and to save bitmap into jpg's in there. I use Xamarin. What shall I do? Please help!
-1
votes
2answers
32 views

What should I use in a Xamarin multiplatform app to make a scrolling list?

I am writing a small app to retrieve data from the Discogs API so that the user can scroll through items in their collection. Which control should I use, and how do I handle paging so that it loads ...
1
vote
1answer
37 views

“Could not find a part of the path” error in Android

Before we start, I know that many posted similar questions, yet I can't solve my problem. I try to save a bitmap into the gallery of the Android device, yet I can't manage to get to that specific ...
0
votes
0answers
31 views

How to put a file open dialog in Xcode UI builder?

I found the code which reading from a file, and take a path from dialog on official docs Microsoft. But didn't find a way how to put this window in Xcode. Here's a link
0
votes
0answers
22 views

Visual Studio 2019 Build menu child options not changing

I am using Visual Studio 2019 Community Version 16.0.2 (latest) for Xamarin Android projects but encountering a strange behaviour where options available under Build menu are not changing when I ...
1
vote
0answers
23 views

How can I set the value using variable in textfield inside the UIwebview

How can I set the value using variable in textfield inside the UIWebview in c# using javascript NSString nSString = new NSString("HI"); wvEditor.EvaluateJavascript(" $('#content').redactor(\"insert....
0
votes
1answer
25 views

Picker with down icon on the right and over the text - Android

I successfully implemented the picker with down icon on the right from this wonderful post in Xamarin Forms project, but when the text in picker is long (than the picker control's width), the text ...
0
votes
1answer
48 views

Binding not working when we use ListView with DataTemplate through Resources.(MVVM)

I have a ListView which gets its ItemTemplate from a Resource file. I have a Resource dictionary as below! <?xml version="1.0" encoding="utf-8" ?> <ResourceDictionary xmlns="http://xamarin....
0
votes
0answers
16 views

CrossSecureStorage properties being cleared when application exits

I'm using Plugin.SecureStorage from https://github.com/sameerkapps/SecureStorage. I'm trying to store data like username and password after successfully logs in the application. However, whenever I ...
2
votes
1answer
42 views

how to fix listview display xamarin

I want to list the data as listview in xaml Performs the following step <ContentPage.BindingContext> <local:tablename /> </ContentPage.BindingContext> It reads the ...
0
votes
0answers
41 views

Xamarin.Forms PropertyChanged event does not re-calculate or re-run IValueConverter

I have a bunch of labels that I want to display for people. For example: Name <value> Age <value> Cell <value> Home# <value> etc., but I can't guarantee that all of those ...
1
vote
0answers
64 views

Xamarin Effect affecting other controls

I am experiencing a weird bug where a Custom effect would affect other Controls as well while i am only targeting one specific control. I was able to reproduce the behavior in a small test project. ...
0
votes
0answers
32 views

Xamarin release mode failed although debug mode work (Already added INTERNET_PERMISSION in AndroidManifest.xml)

My Xamarin cross-platform app works well in debug mode (Android), but when I change to release, it throw exceptions. I've already searched to correct for this situation. Most of posts reveal that ...

http://mssss.yulina-kosm.ru