Xamarin Forms: How to highlight text and pause/play audio of text to speech?
I am using the xamarin essentials package for text to speech feature. When speech the text I need to highlight the corresponding text. Also, I need an option to pause/play the speech. Please see this...
View ArticleSocketException: No such host is known
Hi Team, Getting this exception in the case of android when I am trying to connect https connection. {System.Net.Sockets.SocketException (0x80004005): No such host is known at...
View ArticleHTML Content not working properly on IOS
Hi everyone, I'm getting a headache to display some dashboards into my Xamarin Forms project, as you can see in the picture below it's working pretty nice at Android devices. However when it goes to...
View ArticleWill the MediaElement support playing .m3u8 files in the future?
As far as I tested the MediaElement in Xamarin.Forms 4.7, it plays mp4 files, but not .m3u8 playlist files. Is there a plan to support also the m3u8 file type in the future? Or is there another Xamarin...
View ArticleHow to notify Picker about change of it's selected option' text?
Hi, I've created a Picker bound to list of items, and the item object implements INotifyPropertyChanged. I need to update text of selected option, but couldn't make the Picker reflect the change. Any...
View ArticlePostAsync has occurred “the request timed out” on iOS Xamarin Forms
I use xamarin forms to create an mobile app for Android and iOS. I need to make Http Request, so I use HttpClient. Here is a simple code of request : var client = new HttpClient(); try { string...
View ArticleDevice.RuntimePlatform not resolved in some files
Hi, When using the RuntimePlatform attribute in some files, the VS cannot resolve the symbol. I have grouped my code in two folders (called "Misc" and "Models"). Inside the Models directory, the...
View Articlehow to apply fadding effect in collectionview
In a page there is image at the bottom which covers 30% of the page and above is the CollectionView. If user scrolling up the CollectionView, items(last items of the collection) has to be appeared...
View ArticleXamarin.Essentials.Browser.Openasync is not closing after activity in iOS
When Auth0 URL is passed to Xamarin.Essentials.Browser.Openasync to open the browser, after authentication in android Callback url is handled and continuing to corresponding ContentPages. But in iOS...
View Articlecan't call page erro Object reference not set to an instance of an object
Greeting everyone i'm still newbie in Xamarin.form platform i'm trying to create StockCount app so i'm using c# markup on my app and everything was working fine but this page when i try to call it i...
View Articleframe1_ChildAdded event not firing after some time
Dear All, I have a frame name frame1 inside a collectionview. Whenever new item is inserted it should fire event. But its not firing this event sometimes. I want to show alert and highlight newly added...
View ArticleXamarin iOS is not working on release mode
I am trying to generate an archive of my iOS project but I can't, everything is working fine on debug mode but when I go to release mode the process fails, I am getting this error:...
View ArticleGetting (com.apple.AuthenticationServices.AuthorizationError error 1000)
Getting (com.apple.AuthenticationServices.AuthorizationError error 1000) on calling AppleSignInAuthenticator.AuthenticateAsync(). I added apple signin key 'com.apple.developer.applesignin' in...
View ArticleListView Grouping issues on UWP
I am facing two issues with grouping in ListView on UWP. They are: In Group Header by default it shows the GroupShortNameBinding rather than the GroupDisplayBinding (which is the default for Android...
View ArticleFly Item To Cart Tab in Tabbed Page
I want to fly an item to cart tab in cart page on item image clicked..Is there any way to implement it in xamarin forms? I need it..plz help
View ArticleService doesn't work when device sleeps
I've built a simple service which works fine. public class FibonacciJob : JobService { public override bool OnStartJob(JobParameters jobParams) { int x = jobParams.Extras.GetInt("secondsToWait", -1);...
View ArticleWhy is it necessary to re-install a NuGet package for an existing class?
I'm curious why this is necessary and wonder if my understanding is at fault. I have installed the NuGet package Xam.Plugin.Media within an existing solution that was already in development. I...
View ArticleRandom WebService Timeouts
I am getting random webservice timeouts and I can't figure out why, it is only happening when calling the webservice from the Xamarin app. If I test the webservice in SoapUI, and even spam it with...
View ArticleHow to send image to api using image path
I have this method that gets image from device storage and send it to api var media = CrossMedia.Current; var file = await media.PickPhotoAsync(); // wait until the file is written while...
View ArticleHow to get the serial number for a device with android 10 (API level 29)?
Hello, As you can read here, https://developer.android.com/reference/android/os/Build#getSerial(), from API level 29 and after, asking for the device's serial number throws an exception. Is there a way...
View Article