hi,my HttpClient not working.why? Any one can help me? Thanks
This is my xamrin.forms code below: public async Task<TResult> GetAsync<TResult>(string uri, string token = "") { HttpClient httpClient = CreateHttpClient(token); HttpResponseMessage...
View ArticleAnimate StackLayout's height
How can I animate the height of StackLayout (expand and collapse)? I've tried Animate extension method, but it looks like it has a bug: public class App : Application { public App() { var stackLayout =...
View ArticleNo property, bindable property, or event found for 'Converter', or...
No property, bindable property, or event found for 'Converter', or mismatching type between value and property. There is my code: <StackLayout Grid.Row="0" Style="{StaticResource GridStyleSection}"...
View ArticleXamarin C# Take picture without open Camera
I have a QrCodeCode with used the libary "Zxing". Now i want to Take a picture of the complete screen inside the QrCodeScanner. The Problem is i dont want to open the Camera. I want to create a Button...
View ArticleRejected -HealthKit
Ok I'm a little stumped on this one. Our app was rejected during our last update stating the following: "We noticed that your app uses HealthKit, but your app does not appear to include any primary...
View ArticleHow to send location updates to server and check for a response in the...
My application needs to get location updates while the app is in the background. It then needs to send the location to a server and wait for a response on whether to create a local notification or not....
View ArticleXamarin Live Player vs Gorilla Player
Can someone tell me what is better at the current moment? Xamarin Live Player is official, but still in development. Gorilla player seems more stable. Did you test them both so you can tell me the...
View ArticleSelected Item Event not raised with a personnal picker control
Hello, I have create an Enum Picker to used enum in pickers. I don't understand why my first pick on the Picker not raised the property changed. I attach the example at this post. MainPage.cs namespace...
View ArticleGet a phone number on xamarin forms?
Hi, I am working on xamarin forms. How to detect a mobile number if dual sim means both I need to get. Here is what I tried Interface in shared project public interface IDeviceInfo { string...
View ArticleHow to change the position or size of a view in Relative Layout at runtime in...
What I did is I have added a label to a relative layout by setting all constraint. Below is my code for that. relativeLayout.Children.Add(textLabel, Constraint.RelativeToView(innerBorderBox, (parent,...
View ArticleHow to add missing places in google map using xamarin forms?
Is there any way out to add missing places for any particular Latitude and Longitude in xamarin forms. I want to add complete details for Latitude and Longitude in google map using xamarin forms? Is...
View ArticleCustom layout on Scandit scan page.
Hello, I am integrating scandit in my xamarin forms android application. I am not able to add custom layout of scandit scan barcode page. I want to add count label and Done scaning button on scandit...
View ArticleActivityIndicator issue xamarin form android application
I have a login page, i want to show the ActivityIndicator while the page is busy executing an async method. the ActivityIndicator is showing based on the IsLoading property on the ViewModel class....
View ArticleGetting issue for creating release build for Windows UWP for Compile time...
Facing issue :Type 'Windows.Phone.Speech.Synthesis.VoiceInformation' from assembly 'Windows' was not included in compilation, but was referenced in type 'XLabs.Platform.Services.TextToSpeechService'....
View ArticleCan Xamarain.Forms connection to MS SQL without WebServices? --...
I am connection to SQLITE database in this way now: (我現在是用這個方式連到SQL) public static FoodData Database_Food { get { if (database_Food == null) { database_Food = new...
View ArticleHow to show ActivityIndicator that covers whole screen including Navigation...
My code for ActivityIndicator is below: <ActivityIndicator x:Name="actWebRequest" Color="White" IsVisible="{Binding IsLoading}" IsRunning="{Binding IsLoading}" AbsoluteLayout.LayoutBounds="0, 0, 1,...
View ArticleSystem.InvalidOperationException: 'Cannot assign a native control without an...
I am working on a project "CoManga" and I wanted to add advertisements in it. Implementing ads on UWP seemed straight forward, like Android and iOS. However, I'm stuck now. Anyways, I followed this...
View ArticleShow Restaurants nearby in the Google Map in Xamarin Forms
Hi, How can i show the near by Restaurants in the Google Map using Xamarin Forms?
View ArticleWPF ClickGestureRecognizer
Is ClickGestureRecognizer implemented for WPF yet? If so, could someone please show a usage example? If not, can someone please suggest a workaround? I've tried using ClickGestureRecognizer but can't...
View Articlehow to read api in xamarin forms
Hi, below is api returned json, i am trying to read like var client = new System.Net.Http.HttpClient(); var response = await...
View Article