Introduce CameraPreview
Hi here, I created a project called CameraPreview which can help Xamarin developer get raw image data from camera preview. This is plugins system, which can allow you to create your own plugins. You...
View ArticleApp response not working when using mobile network in some device but its...
when run application in samsungs phone its working fine but when in run in redmi mi phone ,vivo phone its not working response.succescode giving false but when in use wifi its working fine how to solve...
View ArticleXamarin Forms: Load a contentpage when tap push notification android
I completed receiving test notification from FCM console. Now I am trying to open a page when tapping the notification. Any ideas about how to achieve this? I have searched the internet but can't find...
View ArticleApparent bug with SearchBar and Barcode scanner
Hi all, Got my search using SearchBar and SearchCommandParameter working, all tested manually and working the way one would expect. :-) Then I tried using a USB handheld barcode scanner (which is the...
View ArticleiOS HttpClient crash
HttpClient client = new HttpClient(); client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json")); var jsonstring = await...
View Articleselect a directory in Android using Xamarin forms
I found a sample in xamarin. Android https://developer.xamarin.com/samples/monodroid/android5.0/DirectorySelection/ How can I achieve similar functionality using xamarin forms?
View ArticleXamarin Carouselview throws invalidcastexception
Based on the example I found here: https://blog.xamarin.com/xamarin-forms-4-0-feature-preview-an-entirely-new-point-of-collectionview/ I decided to implement a Carouselview, but it gives me an...
View ArticleObjects and Picker
Hi, everybody. From the database I get a list of objects ({Id, Caption}) that I want to display in the Picker. Only text values are added, and getting the selected item goes by index, and I need to...
View ArticleHow to share text and a link with social media in xamarin forms ios
Hi, I want to share a text and a link with social media (facebook,instagram,twitter,FB messanger) in xamarin forms ios , when I tap on the facebook image, it opens the facebook app in the iphone and...
View ArticleAnimate growth of ScrollView which is expanding from the bottom of the page?
We've got a ScrollView which I've set with a VerticalOptions of "End", so that when we add content to it at runtime it 'grows' from the bottom. We're scrolling to the end when adding content, with...
View ArticleSave file to shared folder.
Looking for advice on how to save a file (or move a file) from app folder to a shared folder. The users of my app enter data (SQLite) and when complete i want them to be able to export data to a text...
View ArticleMedia Plugin save photo in directory
Hi, I want to use the directory option in Media plugin to save the images I took with this plugin in a new directory, var file = await CrossMedia.Current.TakePhotoAsync(new...
View ArticleHow to hide scroll bar in scrollview
[assembly: ExportRenderer(typeof(ScrollView), typeof(App3.Droid.Scrollbardisabledrenderer))] namespace App3.Droid { public class Scrollbardisabledrenderer : ScrollViewRenderer { protected override void...
View ArticleResourceDictionary Style does not work
XF 3.6 with Android public App() { InitializeComponent(); var labelStyle = new Style(typeof(Label)) { Setters = { new Setter {Property = Label.FontSizeProperty, Value = 60 }, new Setter {Property =...
View ArticleHow to put a Tabbed Page in half screen?
Problem is that I have a simple Content Page with a Boxview. This BoxView shows just a user photo and under boxview I want put a tabbed Page. I tried to import Tabbed into Content Page, but as I imaged...
View ArticleHow do I switch autocomplete off in a Xamarin.Forms Entry (so that it works...
I have an Entry that contains sensitive information that I don't want autocomplete to store. I tried: <Entry Text="{Binding Password}" HorizontalOptions="Start" VerticalOptions="Start">...
View ArticleImplementing font size with slider in Xamarin Forms webview
Hi everyone, I have implemented the font size with slider functionality in Xamarin Forms webview. Normally, the height of webview doesnt auto-fit content size, so I have used a custom renderer...
View ArticleAutosize font label
I have seen a custom approach to autosize the font of a label, but I am missing such a built-in feature. How do you others handle different font size on different systems / resolutions, please?
View ArticleRefresh ListView After Deleting List Item
Hi! I have a listview, full of items. When i delete an item from my itemssource list, how can i refresh my ListView row number? Because if i delete any item, it appears a blank row. I want to update...
View ArticleHow to integrate apply pay and Google pay in Xamarin Forms
Is there any way to implement apply pay in xamarin forms application. I know it can be done by dependency injection but if anyone has code then please share...
View Article