Xamarin.iOS
http://www.appliedcodelog.com/search/label/Xamarin.iOS
Image Gallery Control using Xamarin Form
Brief: Implementation of Custom gallery control for Xamarin Form explained in a simple steps.
Description: If you have a plan to display image in gallery or in grid format for your Xamarin.Form application then you are in right place now.
You should be able to do so in next 15-20 minutes :). This implementation targets both android and iOS. Now quickly go through with steps.
Description: If you have a plan to display image in gallery or in grid format for your Xamarin.Form application then you are in right place now.
You should be able to do so in next 15-20 minutes :). This implementation targets both android and iOS. Now quickly go through with steps.
May 25, 2017
Force Landscape or Portrait for a single page in Xamarin Form.
Device screen orientation in xamarin is usually configured from Host(Android/iOS) project as suggestedhere . But what if i need to change the screen orientation of one particular screen(say to landscape) in xamarin form and other screens are different (may be portrait), to do so there is no direct options available from xamarin form.
We will do the configuration in host project for the common screen orientation required throughout the application, to do any changes for particular screen need to touch back to the host project settings again because as of now there is no wrapper Form level API’s available.
For example consider the scenario that my Form project contains the Five screens out of that, for Third screen i need give support for both Portrait and Landscape and for all other remaining screen only in portrait. This can be done in android as follows,
Use the MessageCenter class to send the message from the Form screen for which orientation need to be changed and receive the same from Android MainActivity class.
ThirdPage.xamal.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
| public partial class ThirdPage : ContentPage { protected override void OnAppearing() { base.OnAppearing(); MessagingCenter.Send(this, "allowLandScapePortrait”); } //during page close setting back to portrait protected override void OnDisappearing() { base.OnDisappearing(); MessagingCenter.Send(this, "preventLandScape"); } } |
December 23, 2016
Error retrieving parent for item: No resource found that matches the given name...
This is the one of the frequent error we will get during Xamarin android/Form development. Here i have posted the resolution steps for this error in both windows and Mac machines:
November 8, 2015
September 27, 2015
Sliding menu in Xamarin.iOS using GestureRecognizer,CATransition and Animation
In Brief: Here I'm going through the steps involved in the Implementation of Sliding or Fly in-out menu or How to making use of Gesture-recognizer, CATransition and Animation in Xamarin.iOS.
September 20, 2015
Xamarin.iOS Location Autocomplete by using Google Place API
In brief:
Making use of Google place API to provide the Location auto-complete option with text field in Xamarin iOS.
Making use of Google place API to provide the Location auto-complete option with text field in Xamarin iOS.
September 3, 2015
Xamarin iOS Draw Route between two Geo-location in Google map using Direction api
In brief : Drawing path between two intended location using google direction api over google map in xamarin iOS.
August 21, 2015
Using Google Geocoding and Reverse Geocoding API in Xamarin
In brief: Normally native developers prefers native api (Geocoder in android) for Geocoding and reverse geocoding, but to target the cross-platform implementation i think google geocoding is the better option.
In my previous post written on Integration of google map v2 in xamaron android, Avoiding deprecated google map api,Best Practice and issues with ListView in Android Xamarin, How to use Google Place API with Autocomplete in Xamarin Android, Integrating Google Account in Xamarin.Android,Avoiding ImageBitmap OutOfMemoryException and Rounded corner Image in android Xamarin.
In my previous post written on Integration of google map v2 in xamaron android, Avoiding deprecated google map api,Best Practice and issues with ListView in Android Xamarin, How to use Google Place API with Autocomplete in Xamarin Android, Integrating Google Account in Xamarin.Android,Avoiding ImageBitmap OutOfMemoryException and Rounded corner Image in android Xamarin.
August 3, 2015
Login by google account integration for Xamarin.Android and Xamarin.iOS
Brief:
Google Account integration to the app, helps for the user authentication using their existing Google account and fetch profile information like email id,name and profile pic etc.
UPDATE: Mar 10,2017: It seems that google has been stopped webview approach for native applications. You can refer the solution provided by the xamarin doc.
Google Account integration to the app, helps for the user authentication using their existing Google account and fetch profile information like email id,name and profile pic etc.
UPDATE: Mar 10,2017: It seems that google has been stopped webview approach for native applications. You can refer the solution provided by the xamarin doc.





Comments
Post a Comment