Specific Cast is not valid
C# Developer Community » Xamarin Forms
by jareyes2024
3M ago
I'm making a call to an API and I can't find the source of this error "Specified Cast is not valid" C#: var client = new HttpClient(); var request = new HttpRequestMessage(HttpMethod.Get, UrlApi); request.Headers.Add("Accept", "text/plain"); request.Headers.Add("Authorization", $"Bearer {App.TokenLoged}"); //when this line is executed it gives me the error var response = await client.SendAsync(request); response.EnsureSuccessStatusCode(); Console.WriteLine(await... Read more ..read more
Visit website
How to set page settings on ios app for brother receipt printer (rj-4250wb)
C# Developer Community » Xamarin Forms
by kridak
6M ago
I am new to Xamarin and i need to print to a brother rj-4250wb receipt printer. I can get the printer to print but it prints the text i supply and then it line feeds a out a ton of blank pages...it seems like it does not have page settings. This is the example code i am working with...i have spent a long time and have not been able to figure out how to pass the page size...can someone show me what i am missing please. Thank you for your help. C#: public void Print(WebView... Read more ..read more
Visit website
Starting Mobile Development with C# (and Android)
C# Developer Community » Xamarin Forms
by Pablo
8M ago
Hello all I am an experienced C# programmer, desktop applications and video games. I would like to get into Mobile development, for example to make an app for my cell phone. By now, the only I know is that a Mobile app file extension is .apk. I don't even know if this is the correct sub forum. I would appreciate any tips or advice on how getting started in this technology. Thank you in advance. Pablo ..read more
Visit website
Update label from one Page to another in Xamarin Forms
C# Developer Community » Xamarin Forms
by wilmermmj
9M ago
Hello, I hope you are well... I am starting in Xamarin... I have something to know... I have two pages on page 1 I have a label, from this page I go to another to look for a name on page 2, I want to update the Text when I choose this name of that Label of that page1… Thank you ..read more
Visit website
Button over image
C# Developer Community » Xamarin Forms
by helderfc
10M ago
HI All, I have an image with the layout of a camping park. Is it possible to have buttons to select and reserve the several places over the image, so I can pan and zoom and the buttons and events still responding. The ideia is over the next image, click on the numbers to select and then reserve the place, with zooming and panning. Thank you ..read more
Visit website
Compass Plugin and Tilt Compensation
C# Developer Community » Xamarin Forms
by sisaacks
11M ago
I am developing an app where I need a compass to account for tilt compensation. I noticed that James Montemagno and cbartonnh created the Compass Plugin They use SensorManager.GetRotationMatrix and SensorManager.GetOrientation in OnSensorChanged I have googled and googled but I cant confirm if these methods are actually accounting for tilt. The info I did find was about Android and not iOS. Any help would be much appreciated ..read more
Visit website
Does Xamarin forms support split view for iPad?
C# Developer Community » Xamarin Forms
by red*rock99
1y ago
Does Xamarin forms applications have split view capabilities like Xcode applications do ..read more
Visit website
Xamarin.Forms (UWP) can't run execution file
C# Developer Community » Xamarin Forms
by f xr
1y ago
Hello, I'm trying to build a Xamarin.Forms (UWP) application for Windows based on standard template. It builds and executed great from Visual Studio Community 2022 (64-bit) Version 17.4.2 But if I run the executable file from the command line, then nothing happens... This is the first time I've encountered such a problem, what could be the reason ..read more
Visit website
Making a button's appearance editable by user
C# Developer Community » Xamarin Forms
by vangor93
1y ago
Hello, I'm just starting out planning a mobile app. This will be my first attempt, so I still have a lot of research to do. A part of my app will be a remote control. I'd like the user to be able to customize the buttons appearance and save configurations. I'm going to start out simple and just have the background color, image, text be editable properties. I'm just looking for some guidance on what avenue I should pursue for something like this. My plan was to have a... Read more ..read more
Visit website
How to display full text in the Label when the ViewCell's Tapped event is executed?
C# Developer Community » Xamarin Forms
by Elad770
1y ago
Hello everyone I'm quite new to Xamarin Forms, I'm trying to build a ListView of all kinds of messages that are built in such a way that there is a title and the content of the message itself is displayed as two lines with 3 dots at the end, the idea I want to do is that as soon as some 'message' is selected the content of the message should appear in full , and when the same message is selected again, the content of a message should be partially the same as at the beginning MainPage.xaml: <ListView... Read more ..read more
Visit website

Follow C# Developer Community » Xamarin Forms on FeedSpot

Continue with Google
Continue with Apple
OR