Questions tagged xamarin.android

Explore the latest questions and answers asked by our top developers.

Xamarin.Forms how open default email client on device?

In Xamarin.Forms if you want to open the device’s default browser by tapping a Label with a link, it’s simple as this: private void WebUrl_TapGestureRecognizer_Tapped(object sender, EventArgs e) { var label = sender as Label; string url = “http://” + label.Text; Device.OpenUri(new Uri(url)); } Is there a similarly simple way to open the device’s default […]

By PaxForce
Published
Categorised as Uncategorised Tagged , , ,

Xamarin Forms: custom entry with inline tag support [closed]

I’m trying to build a XF app which will allow users to enter text and tag a list of places (similar to how you would tag someone on WhatsApp, Outlook app, or even Twitter’s hashtag). I’m still starting out with XF. Could anyone point me in the correct direction? The most I’ve found is the […]

By BeginnerCoder
Published
Categorised as Uncategorised Tagged , , , ,

How feasible it is to change App icon of a Xamarin application based on certain notification statuses that it receives

I would like to know if there is any way that helps to change application launcher icon based on the notification status it receives using xamarin. Source: Xamarin.ios Questions

Prompt User to enable bluetooth in Xamarin Forms

Are there any workaround which I can use to prompt a user to enable bluetooth in Xamarin Forms / C#? Like a Display Alert with ‘Yes’ or ‘No’ for prompting the user to switch on the bluetooth in case its not enabled. If the user selects, ‘Yes’, the bluetooth is enabled. Please help me to […]

By crazydev
Published
Categorised as Uncategorised Tagged , , ,

Xamarin – Convert image to byte array

I use a media plugin to take or pick a photo from either an Android device or iOS device. I then want to tweet that image using LINQtoTwitter. In order to do that the image needs to be in the format bytes[]. How would I convert my image to bytes in order to upload? Code […]

By Bradley Jarvis
Published
Categorised as Uncategorised Tagged , , , ,

Capital Font for Label in Xamarin Forms Style Xaml

How can we set style for label in Xamarin forms to have all fonts in capital. For now I have style in App.xaml like the sample below. <ResourceDictionary> <Style x:Key=”WelcomeLabelStyle” TargetType=”Label”> <Setter Property=”FontFamily” Value=”Fira Sans Ultra Light” /> </Style> </ResourceDictionary> Source: Xamarin.ios Questions

By Mayank Shrivastava
Published
Categorised as Uncategorised Tagged , , , ,

How to play video in video player in xamarin forms?

I am working in xamarin forms. I am trying to play video in Video Player. For the same I have used this sample code from github https://github.com/xamarin/customer-success-samples/tree/master/samples/Xamarin.Forms/FormsNativeVideoPlayer but problem is when I put “http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4” link to VideoPlayer_CustomRender.cs file Video is play properly. but when I put any youtube link this is not working and show […]

Xamarin Forms: How do I implement WebSockets?

We want to transfer data from a client to a server in realtime, so we have decided to go with WebSockets. Using Xamarin.Forms it was surprisingly difficult to find a suitable WebSocket library. The best match was “WebSocket4Net” because it is directly suggested on Xamarin’s Homepage. However I was not able to install this library, […]

By Shanakor
Published
Categorised as Uncategorised Tagged , , , ,

Handling Global Exception Xamarin | Droid | iOS

We all know that mobile is compact platform where we have to look lots of things while building an application. It could be anything e.g. Memory Performance Resolutions Architecture Implementation etc. We never know when and what causes app crash a big ISSUE while playing with the app, It could happen anytime e.g. App Launch, […]

By Mohammad Riyaz
Published
Categorised as Uncategorised Tagged , , ,

How can I create right-aligned items in the ui with Xamarin.Forms?

I try create this page with StackLayout and Grid, but I can’t align rightы controls to right side. Maybe I should use RelativeLayout? But I don’t know how align controls to right side this is my page: http://s9.postimg.org/z5ilck6hb/template.png UPD. I solved this problem by putting StackLayout with HorizontalOptions = LayoutOptions.EndAndExpand to each grid cell (in […]

By Brian
Published
Categorised as Uncategorised Tagged , , , ,
1 13 14 15

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq