tag:blogger.com,1999:blog-54786527485222727802024-03-12T21:21:16.388-07:00CodeLogLog for Applied ConceptsSuchithhttp://www.blogger.com/profile/13334981347260075605noreply@blogger.comBlogger52125tag:blogger.com,1999:blog-5478652748522272780.post-39412931523314870992023-03-20T04:54:00.010-07:002023-03-20T05:42:03.507-07:00Payment gateway integration in Xamarin Form .Net MAUI using RazorPay<p><span style="font-family: verdana;"><b>Brief:</b> In this post we can see how to integrate payment gateway using RazorPay in Xamarin form for iOS and Android.</span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxj0DGdNFE9qqYOk-UpDl4WsF4JEcvxH34l5_v4z1LL6jLFq01Xcs1RV92p1oyeTHvIP_azdFIrxITGzGAnlYFpXiPAWkAt8ndfOKqvIqj6xfrURLaWBL-57pzZQhPEqT3woUmC8VYDfOYB1Af56rZcnc1DyaaLxXSiUBThwyn1gjAucfKvZF_9Id8/s1288/Razorpay_screen.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1288" data-original-width="762" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxj0DGdNFE9qqYOk-UpDl4WsF4JEcvxH34l5_v4z1LL6jLFq01Xcs1RV92p1oyeTHvIP_azdFIrxITGzGAnlYFpXiPAWkAt8ndfOKqvIqj6xfrURLaWBL-57pzZQhPEqT3woUmC8VYDfOYB1Af56rZcnc1DyaaLxXSiUBThwyn1gjAucfKvZF_9Id8/w378-h640/Razorpay_screen.png" width="378"></a></div><br><div class="separator" style="clear: both; text-align: center;"><br></div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: verdana;"><span face="verdana, sans-serif" style="background-color: #fefdfa; color: #222222; font-size: 14px;">In my previous post explained </span><span face="verdana, sans-serif" style="color: #222222;"><span style="font-size: 14px;"><a href="https://www.appliedcodelog.com/2020/06/dependency-injection-in-xamarin-form.html" target="_blank">Dependency injection in xamarin form using AutoFac</a>, <a href="https://www.appliedcodelog.com/2021/07/android-keystore-based-encryption-and.html" target="_blank">Android Keystore based Encryption and Decryption in Xamarin Android</a>.</span></span></span></div><div class="separator" style="clear: both; text-align: left;"><span face="verdana, sans-serif" style="color: #222222;"><span style="font-size: 14px;"><br></span></span></div><b style="font-family: verdana;">Description:</b><span style="font-family: verdana;"> </span><p></p><p><span style="font-family: verdana;">Right now i'm seeing very limited support for Xamarin with payment SDK from the top payment gateway providers like Stripe,RazorPay,PayU,JustPay. Few are providing the SDK but that is outdated and not supporting in the latest version. </span></p><p><span></span><span></span></p><a href="https://www.appliedcodelog.com/2023/03/payment-gateway-integration-in-net-maui.html#more"></a>Suchithhttp://www.blogger.com/profile/13334981347260075605noreply@blogger.com0tag:blogger.com,1999:blog-5478652748522272780.post-51949129909225005132022-02-22T04:44:00.008-08:002022-02-23T03:34:54.445-08:00StartActivityForResult | OnActivityResult Deprecated in Xamarin Android<p><span style="font-family: verdana;">Along with androidX support StartActivityForResult and OnActivityResult got dprecated inside Fragment. Here we can see the one of the alternate approach for this deprecated api's in xamarin android.</span></p><p><span style="font-family: verdana;">Below code snippet explains the handling the above mentioned deprecated API's:</span></p><span></span><a href="https://www.appliedcodelog.com/2022/02/startactivityforresult-onactivityresult.html#more"></a>Suchithhttp://www.blogger.com/profile/13334981347260075605noreply@blogger.com5tag:blogger.com,1999:blog-5478652748522272780.post-62646802614193288522021-07-29T05:06:00.356-07:002022-02-06T21:03:18.079-08:00Android Keystore based Encryption and Decryption in Xamarin Android<span style="font-size: medium;"><b>Brief </b>: </span>Walkthrough on Android Keystore based app security in Xamarin android<div><br></div><div><b>Description </b>: </div><div>Data security should be considered as top priority in any application and this is not just for password any sensitive data, app internal files including the database file. Any security breach in app secret data or app unique concepts(USP) can make way to competitors/attackers. There are plenty of approaches one can choose to secure app private data.</div><div><br></div><div><b>Why Android Keystore based security</b> : In general in any data encryption/decryption we need to provide the public/private keys. here the challenge is how we can secure these keys. Keystore based security provides solution for this issue where it generates and maintains the key dynamically. </div><span></span><a href="https://www.appliedcodelog.com/2021/07/android-keystore-based-encryption-and.html#more"></a>Suchithhttp://www.blogger.com/profile/13334981347260075605noreply@blogger.com0tag:blogger.com,1999:blog-5478652748522272780.post-18920309636184479542020-10-15T06:29:00.041-07:002022-02-06T21:10:22.183-08:00Dependency injection in xamarin form using AutoFac <div dir="ltr" style="text-align: left;" trbidi="on"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;"><span style="color: black; font-family: verdana; font-size: 11pt; white-space: pre;">Brief: Here we will learn how to add constructor Dependency Injection in xamarin.form using AutoFac</span></div><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;"><span style="color: black; font-family: verdana; font-size: 11pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre;"><span style="font-size: 11pt;"><br></span></span></div><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;"><span style="color: black; font-family: verdana; font-size: 11pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre;"><span style="font-size: 14.6667px;">What is Dependency injection?</span></span></div><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;"><span style="color: black; font-family: verdana; font-size: 11pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre;">Before getting into any definition let us look into a simple example, For xamarin form application </span></div><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;"><span style="color: black; font-family: verdana; font-size: 11pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre;">whenever we need to get the native functionalities ( Check internet connectivity, Location,Camera</span></div><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;"><span style="color: black; font-family: verdana; font-size: 11pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre;"> and any device details etc) Dependency injection is the best way to get the solution.</span></div><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;"><span style="font-family: verdana; font-size: 14.6667px; white-space: pre;"><br></span></div><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;"><span style="font-family: verdana;"><span style="color: black; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre;"><span style="white-space: normal;">In my previous post explained </span></span><a href="https://www.appliedcodelog.com/2021/07/android-keystore-based-encryption-and.html" target="_blank">Android Keystore based Encryption and Decryption in Xamarin Android</a>, <a href="https://www.appliedcodelog.com/2019/08/reorder-list-items-by-drag-and-drop-in.html" target="_blank">ReOrder the list items by drag and drop in xamarin android</a>, <a href="https://www.appliedcodelog.com/2018/08/image-gallery-control-using-xamarin-form.html" target="_blank">Custom Image Gallery Control using Xamarin Form</a></span></div><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;"><br></div><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;"><span style="color: black; font-family: verdana; font-size: 11pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre;">In below example shown how to launch phone dialer from xamarin form project.</span><span style="color: black; font-family: "arial"; font-size: 11pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre;"> </span></div><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;"><span style="color: black; font-family: "arial"; font-size: 11pt; font-variant-east-asian: normal; font-variant-numeric: normal; vertical-align: baseline; white-space: pre;"><br></span></div>
<span></span></div><a href="https://www.appliedcodelog.com/2020/06/dependency-injection-in-xamarin-form.html#more"></a>Suchithhttp://www.blogger.com/profile/13334981347260075605noreply@blogger.com0tag:blogger.com,1999:blog-5478652748522272780.post-85421445777943386242019-08-18T07:44:00.001-07:002019-08-18T23:20:46.924-07:00ReOrder the list items by drag and drop in xamarin android using RecyclerView<div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "verdana" , sans-serif;"><span style="color: #222222;"><b>Brief</b>: Explanation with simple steps to how to re-order the list items by long press, drag and drop using recycler view in xamarin android.</span></span><br>
<span style="font-family: "verdana" , sans-serif;"><span style="color: #222222;"> </span><br>
</span><br>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW9r_Yek-ZMUeqtNeQBZo1zHnGl8uostcuc2bjYsA35LnlTHLDfsXa9AHzyulaAqE2tiiuKAt5UWQZm6UnsKVoZC5RcWVewgpJm8bmymb_3XbtUbs-E2hRNfRCYNwzaJVoaj5OQ-YOTvY/s1600/reorder-list-item-using-recycler-view-.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1280" data-original-width="720" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW9r_Yek-ZMUeqtNeQBZo1zHnGl8uostcuc2bjYsA35LnlTHLDfsXa9AHzyulaAqE2tiiuKAt5UWQZm6UnsKVoZC5RcWVewgpJm8bmymb_3XbtUbs-E2hRNfRCYNwzaJVoaj5OQ-YOTvY/s640/reorder-list-item-using-recycler-view-.gif" width="360"></a></div>
<br>
<span style="font-family: "verdana" , sans-serif;"></span><br>
</div></div><a href="https://www.appliedcodelog.com/2019/08/reorder-list-items-by-drag-and-drop-in.html#more"></a>Suchithhttp://www.blogger.com/profile/13334981347260075605noreply@blogger.com8tag:blogger.com,1999:blog-5478652748522272780.post-25658917196852368782018-08-01T23:22:00.003-07:002018-11-19T07:18:17.703-08:00Image Gallery Control using Xamarin Form<div dir="ltr" style="text-align: left;" trbidi="on">
<b>Brief:</b> Implementation of Custom gallery control for Xamarin Form explained in a simple steps.<br>
<br>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiu8_LPBJMP_4FMv6GHM6biszgEvF83RX55upQU6MLVqQMri-I2z-ep53lZL7MmjW_I5H-8v0kg7F4MeSWqzaeraUY99xNQUP-zeT9fEJsZIPFwZdh6AfSWpiN69xcNkYLtS02I9ebxuAo/s1600/Gallery_Image_1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="618" data-original-width="340" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiu8_LPBJMP_4FMv6GHM6biszgEvF83RX55upQU6MLVqQMri-I2z-ep53lZL7MmjW_I5H-8v0kg7F4MeSWqzaeraUY99xNQUP-zeT9fEJsZIPFwZdh6AfSWpiN69xcNkYLtS02I9ebxuAo/s400/Gallery_Image_1.jpg" width="220"></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br>
<b>Description:</b> 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.<br>
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.<br>
</div><a href="https://www.appliedcodelog.com/2018/08/image-gallery-control-using-xamarin-form.html#more"></a>Suchithhttp://www.blogger.com/profile/13334981347260075605noreply@blogger.com5tag:blogger.com,1999:blog-5478652748522272780.post-77845799872852689282017-12-16T22:20:00.003-08:002017-12-27T20:44:11.942-08:00Bug : Java.Lang.NullPointerException,Attempt to invoke virtual method 'boolean android.graphics.Bitmap.isMutable()' on a null object reference<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "verdana" , sans-serif;">I have observed this above mentioned bug keeps on hitting when using Xamarin form,UI control "Frame" for android while it executes without any issues for iOS. </span><br>
<span style="font-family: "verdana" , sans-serif;"><br></span>
<span style="font-family: "verdana" , sans-serif;">In my previous post discussed about <a href="http://www.appliedcodelog.com/2016/11/xamarin-form-frame-outline-color_21.html" target="_blank">Frame border highlight issues in android</a>. Frame control still has one or other problem with android and still remains a question mark why <a href="https://www.xamarin.com/" target="_blank">Xamarin team</a> has not given any fix for this android specific problem.</span><br>
</div><a href="https://www.appliedcodelog.com/2017/12/bug-javalangnullpointerexceptionattempt.html#more"></a>Suchithhttp://www.blogger.com/profile/13334981347260075605noreply@blogger.com1tag:blogger.com,1999:blog-5478652748522272780.post-8258448716904190372017-09-24T07:12:00.001-07:002017-09-24T07:39:14.854-07:00Encrypt android sqlite database using SQLCipher Community Edition for Xamarin Android<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "menlo";"><span style="font-family: "verdana" , sans-serif;">
<span style="color: #222222;"><b>Brief:</b> Creating secured local database for android using open source SQLCipher Community Edition.</span></span></span><br>
<br>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibaXaUE4RMcy9fE135ajpQpoegK4-65BwKM5x0a176n3L161byAtZIzp94EuS_-l1QAOT74E6K6_z_o8lxmONfbErt7SfrG495Y470JQo291CExiAiriCNFf4WRRYthzmPqFwm5NWX2MQ/s1600/db_encryption_banner.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="250" data-original-width="650" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibaXaUE4RMcy9fE135ajpQpoegK4-65BwKM5x0a176n3L161byAtZIzp94EuS_-l1QAOT74E6K6_z_o8lxmONfbErt7SfrG495Y470JQo291CExiAiriCNFf4WRRYthzmPqFwm5NWX2MQ/s1600/db_encryption_banner.png"></a></div>
</div><a href="https://www.appliedcodelog.com/2017/09/encrypt-android-sqlite-database-using.html#more"></a>Suchithhttp://www.blogger.com/profile/13334981347260075605noreply@blogger.com0tag:blogger.com,1999:blog-5478652748522272780.post-7767479052267006632017-07-16T05:56:00.002-07:002017-12-29T02:43:03.864-08:00How to fetch android sqlite db file from device in Mac Xamarin/Visul Studio.<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="color: #222222; font-family: "verdana" , sans-serif;">Here i'm going to share one of the simple method to fetch sqlite database file from android device for xamarin or visul studio installed in mac machine. </span><br>
<div>
<span style="color: #222222; font-family: "verdana" , sans-serif;">Recently when i was checking data stored in the sqlite db from android device, i couldn't do it easily as i fail to run ADB commands from my terminal.</span></div>
<div>
<span style="color: #222222; font-family: "menlo";"><br></span></div>
<div>
<span style="color: #222222; font-family: "verdana" , sans-serif;">Same if you are fetching DB file from Emulator it is pretty straight forward. </span></div>
<div>
<span style="color: #222222; font-family: "verdana" , sans-serif;">Launch Device Monitor(Tools-> Device Monitor) </span></div>
<div>
<span style="color: #222222; font-family: "verdana" , sans-serif;">select Emulator from left pane</span></div>
<div>
<span style="color: #222222; font-family: "verdana" , sans-serif;">select File Explorer from right pane </span></div>
<div>
<span style="color: #222222; font-family: "verdana" , sans-serif;">Navigate to app data base file-> /data/data/com.appName.MyApp/databases/</span></div>
<div>
<span style="color: #222222; font-family: "verdana" , sans-serif;">Select required database file->"Pull a file from device" option from top right as shown in screen</span></div>
<div>
<span style="color: #222222; font-family: "verdana" , sans-serif;">Copy DB file to machine storage and open using sqlite db browser(http://sqlitebrowser.org/)</span></div>
<div>
<span style="color: #222222; font-family: "menlo";"><br></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKoEvxyboyHl_1L-HT9KFp2sRuTIPjY3RQPqsBHs84ttcRZqVTLySct0Hp5GKdAxsqrs-AarOoTLhBxXxQHKLvYSl-ZfqNz7kTZ3fKHCs0QEhIEippTLx3kAgOwVes2Nf4B1urpkjIhuQ/s1600/screen_monitor_xamarin.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="504" data-original-width="1147" height="280" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKoEvxyboyHl_1L-HT9KFp2sRuTIPjY3RQPqsBHs84ttcRZqVTLySct0Hp5GKdAxsqrs-AarOoTLhBxXxQHKLvYSl-ZfqNz7kTZ3fKHCs0QEhIEippTLx3kAgOwVes2Nf4B1urpkjIhuQ/s640/screen_monitor_xamarin.png" width="640"></a></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: "verdana" , sans-serif;"><span style="font-family: "verdana" , sans-serif;">
<span style="color: #222222;">To fetch DB from android device using Windows machine we can use the following ADB command</span></span></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: "verdana" , sans-serif;"><span style="font-family: "menlo";"><span style="color: #222222;"></span></span></span></div>
</div><a href="https://www.appliedcodelog.com/2017/07/how-to-fetch-android-sqlite-db-file.html#more"></a>Suchithhttp://www.blogger.com/profile/13334981347260075605noreply@blogger.com2tag:blogger.com,1999:blog-5478652748522272780.post-22741437945028517562017-05-25T23:49:00.002-07:002017-07-10T20:58:36.965-07:00Force Landscape or Portrait for a single page in Xamarin Form.<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="p1">
<span style="font-family: "verdana" , sans-serif;">Device screen orientation in xamarin is usually configured from Host(Android/iOS) project as suggested <a href="https://developer.xamarin.com/guides/xamarin-forms/user-interface/layouts/device-orientation/" target="_blank">here</a> . 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.</span></div>
<div class="p1">
<span style="font-family: "verdana" , sans-serif;">We will do the configuration in host project for the common screen orientation required </span><span style="font-family: "verdana" , sans-serif;">throughout the application,</span><span style="font-family: "verdana" , sans-serif;"> 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. </span></div>
<div class="p2">
<br></div>
<div class="p1">
<span style="font-family: "verdana" , sans-serif;">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,</span></div>
<div class="p2">
<span style="font-family: "verdana" , sans-serif;"><br></span></div>
<div class="p1">
<span style="font-family: "verdana" , sans-serif;">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.</span></div>
<div class="p2">
<br></div>
<div class="p1">
<span style="font-family: "verdana" , sans-serif;">ThirdPage.xamal.cs</span></div>
<pre class="brush:csharp;"> 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");
}
}
</pre>
<div class="p3">
<span style="font-family: "verdana" , sans-serif;"></span><br>
</div></div><a href="https://www.appliedcodelog.com/2017/05/force-landscape-or-portrait-for-single.html#more"></a>Suchithhttp://www.blogger.com/profile/13334981347260075605noreply@blogger.com7tag:blogger.com,1999:blog-5478652748522272780.post-81251035909529545912017-05-22T09:49:00.001-07:002017-05-22T10:01:28.452-07:00Platform specific UI changes in Xamarin.Form<div dir="ltr" style="text-align: left;" trbidi="on">
<style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Menlo; color: #2d2d2d}
span.s1 {color: #000000}
</style>
<br>
<div class="p1">
<span style="font-family: "verdana" , sans-serif;"><b><span class="s1">B</span>rief:</b> Walkthrough on the options available in xamarin form for changing UI element behaviour for specific platform.</span><br>
<br></div>
<div class="p1">
<span style="font-family: "menlo";">
<span style="color: #222222; font-family: "menlo";"><b>Description: </b></span><span style="font-family: "verdana" , sans-serif;"><span style="color: #222222;">Xamarin form wrapper UI controls when it renders in each platform shows the native look and feel but still there are some quirks that has to be worked around to get the UI perfection.</span><br>
<br><span style="color: #222222;">For example if i add one label in my xamal page and on run in android and iOS shows the below output:</span></span></span></div>
<pre class="brush: xml;"><?xml version="1.0" encoding="utf-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:CodeLog" x:Class="CodeLog.CodeLogPage">
<RelativeLayout HorizontalOptions="FillAndExpand" >
<Label Text="Code Log"
FontSize="25"
FontFamily="Roboto-Bold"
HorizontalTextAlignment="Center"
HorizontalOptions="FillAndExpand" />
</RelativeLayout>
</ContentPage>
</pre>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0Vhlpq9xBxoc_KCipFAgcfJZyFWZaeCLJ_SlaYbRR4-VOUDTOKgBQSe6sDV7mc3wW-I1Hy_tDQZdh0b4LPvTT5VccA2MgklEC8zowvRinY4t4W8AWfuvvmkees49LibmjvSzWZe781Gw/s1600/Issues_Xamarin_PlatformSpecific.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="264" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0Vhlpq9xBxoc_KCipFAgcfJZyFWZaeCLJ_SlaYbRR4-VOUDTOKgBQSe6sDV7mc3wW-I1Hy_tDQZdh0b4LPvTT5VccA2MgklEC8zowvRinY4t4W8AWfuvvmkees49LibmjvSzWZe781Gw/s640/Issues_Xamarin_PlatformSpecific.png" width="640"></a></div>
<span style="font-family: "verdana" , sans-serif;"><span style="color: #222222;">In iOS label has been overlapped with toolbar. So alone for iOS we need add To padding(Tool bar height 20px).</span><br>
<br><span style="color: #222222;">This kind of changes for particular platform can be achieved by using the below mentioned approaches without using the Custom renderer.</span><br>
<br>
<span style="color: #222222;">1.Using a generic class OnPlatform</span><br>
<span style="color: #222222;">2.PlatformConfiguration(<a href="https://blog.xamarin.com/bringing-platform-specific-functionality-to-xamarin-forms-apps/">https://blog.xamarin.com/bringing-platform-specific-functionality-to-xamarin-forms-apps/</a>)</span><br>
<span style="color: #222222;">3.Bindable Native Views in Xamal page (<a href="https://blog.xamarin.com/adding-bindable-native-views-directly-to-xaml/">https://blog.xamarin.com/adding-bindable-native-views-directly-to-xaml/</a>)</span><br>
<span style="color: #222222;">4.customisation with effects(<a href="https://blog.xamarin.com/customizing-xamarin-forms-controls-with-effects/">https://blog.xamarin.com/customizing-xamarin-forms-controls-with-effects/</a>)</span><br>
</span><span style="color: #222222; font-family: "verdana" , sans-serif;">In this article i will be making use of the OnPlatform for different UI control properties. From Xamarin.Forms version 2.3.4, Device.OnPlatform API has been deprecated with OnPlatform and On APIs.</span>
<br>
<pre class="brush:xml;"> <?xml version="1.0" encoding="utf-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:CodeLog" x:Class="CodeLog.CodeLogPage">
<RelativeLayout HorizontalOptions="FillAndExpand" >
<RelativeLayout.Margin>
<OnPlatform x:TypeArguments="Thickness">
<On Platform="iOS" Value="0,20,0,0" />
<On Platform="Android, WinPhone, Windows" Value="0,0,0,0" />
</OnPlatform>
</RelativeLayout.Margin>
<Label Text="Code Log" FontSize="25" FontFamily="Roboto-Bold" HorizontalTextAlignment="Center"
HorizontalOptions="FillAndExpand" />
</RelativeLayout>
</ContentPage>
</pre>
<span style="font-family: "verdana" , sans-serif;">
<span style="color: #222222;">Platform specific Text color:</span></span>
<br>
<pre class="brush:xml;"> <Label Text="Code Log" FontSize="18" FontAttributes="Bold" FontFamily="Roboto-Bold" XAlign="Center" HorizontalTextAlignment="Center"
HorizontalOptions="FillAndExpand"
RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=1}">
<Label.TextColor>
<OnPlatform x:TypeArguments="Color" iOS="Red" Android="Blue" />
</Label.TextColor>
</Label>
</pre>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQUtyjMnm_y_4KUkKEcelj9j9X98WtbTdbeYtCdA8iPjI_e_dxt9FFd31f8qQtK7u-uMgeBLeQVlKmnkd3TqTl3JtRdAoJNcgs0_EXS6sTZ6TlhlDEO3TKb7YqdMaPBq-L7B_8K6gvWmE/s1600/TextColor_Xamarin_PlatformSpecific.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="190" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQUtyjMnm_y_4KUkKEcelj9j9X98WtbTdbeYtCdA8iPjI_e_dxt9FFd31f8qQtK7u-uMgeBLeQVlKmnkd3TqTl3JtRdAoJNcgs0_EXS6sTZ6TlhlDEO3TKb7YqdMaPBq-L7B_8K6gvWmE/s640/TextColor_Xamarin_PlatformSpecific.png" width="640"></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
</div><a href="https://www.appliedcodelog.com/2017/05/platform-specific-ui-changes-in.html#more"></a>Suchithhttp://www.blogger.com/profile/13334981347260075605noreply@blogger.com1tag:blogger.com,1999:blog-5478652748522272780.post-18015384433084701422017-02-15T03:46:00.001-08:002017-02-15T03:51:58.286-08:00ResolveLibraryProjectImport task failed unexpectedly in release mode in xamarin<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "verdana" , sans-serif;"><span style="color: #222222;">This above mentioned error i got during my xamarin form project deployment in release mode. </span><br>
<span style="color: #222222;">In my solution i have more then one project and this error indicates that linking between these project has been </span><span style="color: #222222;">broken. If you are facing the same issue, then here i have listed out few scenarios that could help you to solve this issue:</span></span><br>
<div class="separator" style="clear: both; text-align: center;">
<br></div>
<span style="font-family: "verdana" , sans-serif;"><span style="color: #222222;">1. Select the project in which error is pointing and Check the reference of other project and package. Reference with yellow triangle icon shows the broken reference. just delete it and re-add.</span><br><span style="color: #222222;">For any other project reference included in the current project, delete the current project reference and add the new one from release folder of that respective project.</span><br>
<span style="color: #222222;"> Or</span><br><span style="color: #222222;">Open "Configuration manager"</span></span><br>
<span style="font-family: "verdana" , sans-serif;"><span style="color: #222222;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzw73LNMvq6X8YToE-jEhG6pkk7Z1cAW675_8Ep0GUPw9HDhNlOip4gORJftpHj7U5d7cl7KZPvtFjy6kmabj-3LfTFGFu1GhZlHrJkjj1KD0_bG-W49IpSgl-xAkDaN_Tfsj0mDruOP4/s1600/release_1.png" imageanchor="1" style="font-family: Times; margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzw73LNMvq6X8YToE-jEhG6pkk7Z1cAW675_8Ep0GUPw9HDhNlOip4gORJftpHj7U5d7cl7KZPvtFjy6kmabj-3LfTFGFu1GhZlHrJkjj1KD0_bG-W49IpSgl-xAkDaN_Tfsj0mDruOP4/s1600/release_1.png"></a></span></span><br>
<span style="font-family: "verdana" , sans-serif;"><span style="color: #222222;"></span></span><br>
</div><a href="https://www.appliedcodelog.com/2017/02/resolvelibraryprojectimport-task-failed.html#more"></a>Suchithhttp://www.blogger.com/profile/13334981347260075605noreply@blogger.com0tag:blogger.com,1999:blog-5478652748522272780.post-24612345015026539922016-12-23T22:47:00.001-08:002016-12-23T22:53:24.636-08:00Error retrieving parent for item: No resource found that matches the given name...<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "georgia" , "times new roman" , serif;">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:</span><br>
<br>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuXE8yKpFX-cBad51hl8Vl4IIvHK2JWI61aP-EpB51VRgJllVw05U-PdiIwiADr0Znw9b_-n4qpnYMQ2ZXoxiSxlrwKDuJlmM5ErJ72sELBHIxrxWrQUYq7QSDZCp8vzhqlVJTLHGmXmM/s1600/Pkg+error+screen.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="261" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuXE8yKpFX-cBad51hl8Vl4IIvHK2JWI61aP-EpB51VRgJllVw05U-PdiIwiADr0Znw9b_-n4qpnYMQ2ZXoxiSxlrwKDuJlmM5ErJ72sELBHIxrxWrQUYq7QSDZCp8vzhqlVJTLHGmXmM/s640/Pkg+error+screen.PNG" width="640"></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
</div><a href="https://www.appliedcodelog.com/2016/12/error-retrieving-parent-for-item-no.html#more"></a>Suchithhttp://www.blogger.com/profile/13334981347260075605noreply@blogger.com0tag:blogger.com,1999:blog-5478652748522272780.post-75916172713987754152016-11-21T09:21:00.002-08:002018-02-16T22:48:12.598-08:00Xamarin Form Frame outline color display issue in android<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "menlo";">
<span style="color: #222222; font-family: "verdana" , sans-serif;">This is the quick glance on the issue i have faced during the use of Frame control in Xamarin form project and sharing here hoping that may helpful to somebody with the same issue.</span><br>
<br>
<span style="color: #222222; font-family: "verdana" , sans-serif;">Using Xamarin form Frame controls shows some strange behaviour in android platform where as it shows elegant look in iOS.</span><br><span style="color: #222222; font-family: "verdana" , sans-serif;">We can notice this difference in below screenshot.[Nexus S (KitKat) and Simulator iPhone6 iOS9.3]</span></span><br>
<span style="font-family: "menlo";"><span style="color: #222222;"><br></span></span>
<br>
<div class="separator" style="clear: both; text-align: left;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3dV8oFMk2kDFUHHQHSpNI-mhZGbP3ox8rUpeyV7RPVmvZpMmYLHZ7K8eQbOL0DMw_6uizh-UFhz0qwBV09Yjdv5cCqNlAnW6fIG66Qsm28YILP52ovP2opEVyQVXVC47W3lbajxt3XNo/s1600/Nexus+S+%2528KitKat%2529+Screenshot+1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="435" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3dV8oFMk2kDFUHHQHSpNI-mhZGbP3ox8rUpeyV7RPVmvZpMmYLHZ7K8eQbOL0DMw_6uizh-UFhz0qwBV09Yjdv5cCqNlAnW6fIG66Qsm28YILP52ovP2opEVyQVXVC47W3lbajxt3XNo/s400/Nexus+S+%2528KitKat%2529+Screenshot+1.png" width="292"></a> <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1D4_JkqeGwW5CJfUx9wte4kEGh8KRxDGdldaKDKUvp1PK5L1VifGiv_S600yvgHHAPp0K7tXuv90xpQZUfS-7W9TWOAVxw1gX9FG0jUjmhv6VHjjV_au5_lNq3lHZkiiF7RM-cBConKE/s1600/Simulator+Screen+Shot+21-Nov-2016%252C+2.41.46+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" height="435" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1D4_JkqeGwW5CJfUx9wte4kEGh8KRxDGdldaKDKUvp1PK5L1VifGiv_S600yvgHHAPp0K7tXuv90xpQZUfS-7W9TWOAVxw1gX9FG0jUjmhv6VHjjV_au5_lNq3lHZkiiF7RM-cBConKE/s400/Simulator+Screen+Shot+21-Nov-2016%252C+2.41.46+PM.png" width="275"></a></div>
<div class="separator" style="clear: both; text-align: left;">
</div>
</div><a href="https://www.appliedcodelog.com/2016/11/xamarin-form-frame-outline-color_21.html#more"></a>Suchithhttp://www.blogger.com/profile/13334981347260075605noreply@blogger.com2tag:blogger.com,1999:blog-5478652748522272780.post-31076149677685879052016-11-19T06:18:00.001-08:002016-11-19T08:19:45.007-08:00Using Android Percent support library example in Xamarin Android<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "verdana" , sans-serif;">
<span style="color: #222222;"><b>Brief:</b> Apply Percentage(%) dimension in Relative layout and Frame Layout.</span></span><br>
<br>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXlfsQZEuyc1TfR-oEYLjJvO_3N3zjSZGjWVtSa3A8VUVyiLWsXeN-A0iAiAt3GxZgsOqkXsIyczkwd0TyBY6IhA63qysoyfQXC3fsrwFWSXM6W3PR6D8e53wVcZbeNa1I7uBPjmM7wVw/s1600/Xamarin+android+Percent+Dimension+library.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="450" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXlfsQZEuyc1TfR-oEYLjJvO_3N3zjSZGjWVtSa3A8VUVyiLWsXeN-A0iAiAt3GxZgsOqkXsIyczkwd0TyBY6IhA63qysoyfQXC3fsrwFWSXM6W3PR6D8e53wVcZbeNa1I7uBPjmM7wVw/s400/Xamarin+android+Percent+Dimension+library.png" width="290"></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
</div><a href="https://www.appliedcodelog.com/2016/11/using-android-percent-support-library.html#more"></a>Suchithhttp://www.blogger.com/profile/13334981347260075605noreply@blogger.com0tag:blogger.com,1999:blog-5478652748522272780.post-84686476158052612602016-10-23T04:37:00.001-07:002016-11-19T07:42:48.003-08:00Download circualr progress bar custom control example in xamarin android<div dir="ltr" style="text-align: left;" trbidi="on">
<b>Brief: </b>Custom control for download data status indicator in xamarin android.<br>
<br>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhRmn0mmE8ZdTpKFBXIzgSn_bdXZzISfXVD_XA43IBEeQtQrM3gR4zfAD_KwTPBJFdPgUw3RH9qwNRZFyv-qIUuPTh7dkVm2UhWBPxSGk1YA0Oz2awRMc6mT1jXumCxron_4MyIp-EW_s/s1600/Download_Circular_ProgressBar.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="450" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhRmn0mmE8ZdTpKFBXIzgSn_bdXZzISfXVD_XA43IBEeQtQrM3gR4zfAD_KwTPBJFdPgUw3RH9qwNRZFyv-qIUuPTh7dkVm2UhWBPxSGk1YA0Oz2awRMc6mT1jXumCxron_4MyIp-EW_s/s400/Download_Circular_ProgressBar.gif" width="290"></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
</div><a href="https://www.appliedcodelog.com/2016/10/download-circualr-progress-bar-custom.html#more"></a>Suchithhttp://www.blogger.com/profile/13334981347260075605noreply@blogger.com0tag:blogger.com,1999:blog-5478652748522272780.post-57707953226366491002016-09-05T05:50:00.000-07:002016-11-19T07:43:38.636-08:00Circular progress bar example using xamarin android<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "verdana" , sans-serif;"><b>In brief:</b> Here you can check the implementation of custom android widget called circular progress bar in steps using xamarin android.</span><br>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqmCbePENYtR53Vjq9Q-stjXXVF63Vd3Gj8XZ9bQADDyamXqJJg04pD4ZYc7yV4kX3It3xfRxvaRwaSPRAymA57DEv-mBse3Xm1VeNt5jmZo2Qu5OQQZhCSSkWnyL6GoJrHoT7PrMDEsE/s1600/Circular_progress_xamarin_android.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="450" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqmCbePENYtR53Vjq9Q-stjXXVF63Vd3Gj8XZ9bQADDyamXqJJg04pD4ZYc7yV4kX3It3xfRxvaRwaSPRAymA57DEv-mBse3Xm1VeNt5jmZo2Qu5OQQZhCSSkWnyL6GoJrHoT7PrMDEsE/s400/Circular_progress_xamarin_android.gif" width="290"></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
</div><a href="https://www.appliedcodelog.com/2016/09/circular-progress-bar-example-using.html#more"></a>Suchithhttp://www.blogger.com/profile/13334981347260075605noreply@blogger.com0tag:blogger.com,1999:blog-5478652748522272780.post-50155548780473918862016-07-20T08:34:00.000-07:002016-09-05T06:00:55.778-07:0050000 Visits and Counting...<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "trebuchet ms" , sans-serif;">Thanks for your visits and overwhelming response...</span><br>
<br>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgti88gEGSqxP7LqdOqw92YrKLT7Cm9rLYMI1GOsul9bvHfC_DO5qWGVlmyot9X45JNtDSK3GZ8m4Ax_CqdCiZrvvqj4wb0qRQMpxebsn9jytKh2Utv2UbYq6r9VvsmIb0q5t85hnMjnu0/s1600/50K_Visits_image.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="140" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgti88gEGSqxP7LqdOqw92YrKLT7Cm9rLYMI1GOsul9bvHfC_DO5qWGVlmyot9X45JNtDSK3GZ8m4Ax_CqdCiZrvvqj4wb0qRQMpxebsn9jytKh2Utv2UbYq6r9VvsmIb0q5t85hnMjnu0/s400/50K_Visits_image.jpg" width="400"></a></div>
<br>
<span style="font-family: "trebuchet ms" , sans-serif;">It is always a special occasion to cross a new landmark. Today our blog has been received 50,000+ visits all over the globe from 125+ countries. Your visits, </span><span style="font-family: "trebuchet ms" , sans-serif;">interaction to post by comments, suggestion by email and hangout messages made this blog alive and keep running.</span><br>
<span style="font-family: "trebuchet ms" , sans-serif;"></span><br>
</div><a href="https://www.appliedcodelog.com/2016/07/50000-visits-and-counting.html#more"></a>Suchithhttp://www.blogger.com/profile/13334981347260075605noreply@blogger.com0tag:blogger.com,1999:blog-5478652748522272780.post-73552848965693020962016-06-19T10:29:00.001-07:002016-06-19T10:42:27.683-07:00ExpandableListView in xamarin android<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "verdana" , sans-serif;">Expandable List View is basically used to display the list of data with respective categories. </span><span style="font-family: "verdana" , sans-serif;">Which has the feature to expand and collapse the items in a category when user touches category title.</span><br>
<span style="font-family: "verdana" , sans-serif;"><br></span>
<br>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvlvb3UOQBNQsLpHtBILeIqEirLZ0KmSDQLsKyqcHCxw0ukS2WExypQqP1Rl1YAtBFs-EeTfEAGIz8_80zEEaShv1FONVMwSZNgIPhbB9shGGT3odEAFcRk5dI0LTUCosAuBXyEPskT-g/s1600/Exp_Animated.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvlvb3UOQBNQsLpHtBILeIqEirLZ0KmSDQLsKyqcHCxw0ukS2WExypQqP1Rl1YAtBFs-EeTfEAGIz8_80zEEaShv1FONVMwSZNgIPhbB9shGGT3odEAFcRk5dI0LTUCosAuBXyEPskT-g/s640/Exp_Animated.gif" width="384"></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
</div><a href="https://www.appliedcodelog.com/2016/06/expandablelistview-in-xamarin-android.html#more"></a>Suchithhttp://www.blogger.com/profile/13334981347260075605noreply@blogger.com7tag:blogger.com,1999:blog-5478652748522272780.post-15078141618630291472016-05-12T11:02:00.000-07:002016-05-22T08:11:58.473-07:00Material design tab in xamarin android <div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "verdana" , sans-serif;"><b>Introduction:</b> Here I'm adding one more UI component to <a href="http://www.appliedcodelog.com/search/label/Material%20Design" target="_blank">Android Material Design</a> introduction series i.e. Tab control using android material design library in xamarin android. </span><br>
<div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXBWggnxbcsvqL_u9gODwsygBBDdYjwbYldeipV9EFD-6Fv0QbAlr9b-qFmw55Ox1YTDGFJypGcSsH3Q6MsMTXeCZfR9DQR3AXs3s9laGZ0l9Vxet6QSq7rGxvjIB_IHA-IZcAAgHrMh8/s1600/icn_txt_default.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXBWggnxbcsvqL_u9gODwsygBBDdYjwbYldeipV9EFD-6Fv0QbAlr9b-qFmw55Ox1YTDGFJypGcSsH3Q6MsMTXeCZfR9DQR3AXs3s9laGZ0l9Vxet6QSq7rGxvjIB_IHA-IZcAAgHrMh8/s640/icn_txt_default.png" width="384"></a></div>
</div></div><a href="https://www.appliedcodelog.com/2016/05/material-design-tab-in-xamarin-android.html#more"></a>Suchithhttp://www.blogger.com/profile/13334981347260075605noreply@blogger.com6tag:blogger.com,1999:blog-5478652748522272780.post-67155661267687885172016-04-10T05:32:00.000-07:002016-04-10T08:13:16.845-07:00Android Material design Floating Action Button in Xamarin Android<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "verdana" , sans-serif;"><b>In Brief:</b> Implementation steps for material design component Floating action button in xamarin android.</span><br>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCozKY8xE9wesDv6LQYFiUbS0fB7eoDAMDF4K1pXOKaqHZca61_gI2ukRFvUdoi-BnN_w7f01C4d44sFOlroLaI3gI7vqFJpRcS1IIcCsIRL9zwqzIusE8UKHbe73YUiraMgzSVtraBG4/s1600/FAB_Clicked.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCozKY8xE9wesDv6LQYFiUbS0fB7eoDAMDF4K1pXOKaqHZca61_gI2ukRFvUdoi-BnN_w7f01C4d44sFOlroLaI3gI7vqFJpRcS1IIcCsIRL9zwqzIusE8UKHbe73YUiraMgzSVtraBG4/s640/FAB_Clicked.png" width="384"></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
</div><a href="https://www.appliedcodelog.com/2016/04/android-material-design-floating-action.html#more"></a>Suchithhttp://www.blogger.com/profile/13334981347260075605noreply@blogger.com1tag:blogger.com,1999:blog-5478652748522272780.post-4078129184238746902016-03-31T11:26:00.002-07:002016-04-10T08:14:44.713-07:00Xamarin android material design Snackbar customization<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "verdana" , sans-serif;">Another beautiful component introduced with android material design is <a href="https://www.google.co.in/design/spec/components/snackbars-toasts.html" target="_blank">Snackbar</a>. Which has the features similar like a Toast message in additional with interaction capability, displays at the bottom of the screen.</span><br>
<br>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYK0dx7xrcUY0eJo7QhLSV0MLZIpBeJY9bIdl721F0524twhvkj-keZY5mv2vM9NHDXzI0QFkbXT3UNyELJsY4i-S-TlfCd5XpyfAiozpXb0KGOglHvUEpHudo3NtG-BevrHRBG4Xo96I/s1600/SnackBar_Capture.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYK0dx7xrcUY0eJo7QhLSV0MLZIpBeJY9bIdl721F0524twhvkj-keZY5mv2vM9NHDXzI0QFkbXT3UNyELJsY4i-S-TlfCd5XpyfAiozpXb0KGOglHvUEpHudo3NtG-BevrHRBG4Xo96I/s640/SnackBar_Capture.png" width="384"></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
</div><a href="https://www.appliedcodelog.com/2016/03/xamarin-android-material-design.html#more"></a>Suchithhttp://www.blogger.com/profile/13334981347260075605noreply@blogger.com0tag:blogger.com,1999:blog-5478652748522272780.post-25991758044899284072016-01-31T10:29:00.003-08:002016-06-19T00:08:06.170-07:00Navigation Drawer using material design in Xamarin.Android.<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "verdana" , sans-serif;"><b>In Brief</b>: Here you can see the Navigation drawer implementation in Xamarin android with simple steps and reduced code using beautiful material design.</span><br>
<span style="font-family: "verdana" , sans-serif;"><br></span>
<br>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcyDGg1dlKfY3Koe9glBjNV8As2DOGWyjnZT2uX8xnhtR7O4_gJpjr4rxgL3n-39ZyhMPexNUYVQOmACZpf2_ZWQnJH9BUUT5TiDYPMfrUWwt5g0QVR5rsR63wlpQAXSdkfyCqVovVr9s/s1600/NavigationDrawerImg.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcyDGg1dlKfY3Koe9glBjNV8As2DOGWyjnZT2uX8xnhtR7O4_gJpjr4rxgL3n-39ZyhMPexNUYVQOmACZpf2_ZWQnJH9BUUT5TiDYPMfrUWwt5g0QVR5rsR63wlpQAXSdkfyCqVovVr9s/s400/NavigationDrawerImg.gif" width="262"></a></div>
<span style="font-family: "verdana" , sans-serif;"><br></span>
<br>
<div class="separator" style="clear: both; text-align: center;">
</div>
</div><a href="https://www.appliedcodelog.com/2016/01/navigation-drawer-using-material-design.html#more"></a>Suchithhttp://www.blogger.com/profile/13334981347260075605noreply@blogger.com30tag:blogger.com,1999:blog-5478652748522272780.post-59091515462412880962015-12-23T22:35:00.001-08:002016-04-10T08:14:44.728-07:00Push notification using Google Cloud Messaging(GCM) in Xamarin.Android<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: Verdana, sans-serif;"><b>In Brief:</b> This Post is regarding the implementation of Remote notification or Push notification using Google cloud messaging.</span><br>
<span style="font-family: Verdana, sans-serif;"><br></span>
<br>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGsWG58u4TpSJPLse_YTnG6MwfzN0LKuctKeqRBQ8vuxX5qwwC4XovsphNcdIWH9sWQ7sX6AoCdvVV_3zW_tq9c1dnZ1VJK82c3cc4RHMW6OJ3u5ohCeQyMJ1EFkM3vRcVam1t078xcpo/s1600/PushNotificationXamarinAndroidCodeLog.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGsWG58u4TpSJPLse_YTnG6MwfzN0LKuctKeqRBQ8vuxX5qwwC4XovsphNcdIWH9sWQ7sX6AoCdvVV_3zW_tq9c1dnZ1VJK82c3cc4RHMW6OJ3u5ohCeQyMJ1EFkM3vRcVam1t078xcpo/s1600/PushNotificationXamarinAndroidCodeLog.png"></a></div>
<div style="text-align: center;">
<span style="font-family: Verdana, sans-serif;"><br></span>
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
</div><a href="https://www.appliedcodelog.com/2015/12/push-notification-using-google-cloud.html#more"></a>Suchithhttp://www.blogger.com/profile/13334981347260075605noreply@blogger.com4tag:blogger.com,1999:blog-5478652748522272780.post-63921360967044642682015-11-24T01:40:00.001-08:002016-04-10T08:14:44.731-07:00Custom AlertDialog example in Xamarin.Android<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "verdana" , sans-serif;"><span style="color: #333333;"><b>In Brief:</b></span><br><span style="color: #333333;">In this post i will discuss about one of the basic and most widely used component in an android development called customized alert dialog. There are several way of implementing it, here i will show custom alertDialog creation using "DialogFragment method" and "Layout inflation to AlertDialog".</span></span><br>
<br>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjM6gNHbZAxD4tTS0A6qr8Kxh_S6V4Qrs4GwVmVAPkPTZ9Fz1UFNR0zF-eB27P_1usDqJLPOPjVJvaZLbEqvGRS-hPDg8im1r-t56G4OYQhFb_25E90alad24pkjBpTXE7JILj7yitggcI/s1600/CustomAlert_3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjM6gNHbZAxD4tTS0A6qr8Kxh_S6V4Qrs4GwVmVAPkPTZ9Fz1UFNR0zF-eB27P_1usDqJLPOPjVJvaZLbEqvGRS-hPDg8im1r-t56G4OYQhFb_25E90alad24pkjBpTXE7JILj7yitggcI/s400/CustomAlert_3.png" width="225"></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
</div><a href="https://www.appliedcodelog.com/2015/11/custom-alertdialog-example-in.html#more"></a>Suchithhttp://www.blogger.com/profile/13334981347260075605noreply@blogger.com0