Posts

Showing posts from January, 2017

How to Use Media Picker In Xamarin Forms Portable

Image
Today  We will learn how to use Media Picker Nuget in Xamarin Forms Cross Platform First of all download MediaPicker nuget from this link. API Usage Call CrossMedia.Current from any project or PCL to gain access to APIs. Before taking photos or videos you should check to see if a camera exists and if photos and videos are supported on the device. There are five properties that you can check: /// <summary> /// Initialize all camera components, must be called before checking properties below /// </summary> /// <returns>If success</returns> Task<bool> Initialize(); /// <summary> /// Gets if a camera is available on the device /// </summary> bool IsCameraAvailable { get; } /// <summary> /// Gets if ability to take photos supported on the device /// </summary> bool IsTakePhotoSupported { get; } /// <summary> /// Gets if the ability to pick photo is supported on the device /// </summary> bo...

What Is Android?

Image
Android is a software package and linux based operating system for mobile devices such as tablet computers and smartphones. It is developed by Google and later the OHA (Open Handset Alliance). Java language is mainly used to write the android code even though other languages can be used. The goal of android project is to create a successful real-world product that improves the mobile experience for end users. There are many code names of android such as Lollipop, Kitkat, Jelly Bean, Ice cream Sandwich, Froyo, Ecliar, Donut etc  What is Open Handset Alliance (OHA)? It's a consortium of 84 companies such as google, samsung, AKM, synaptics, KDDI, Garmin, Teleca, Ebay, Intel etc. It was established on 5th November, 2007, led by Google. It is committed to advance open standards, provide services and deploy handsets using the Android Plateform. Features Of Android After learning what is android, let's see the features of android. The important features...

Bindable Picker in Xamarin Forms(MVVM)

Image
Picker is a great control for selecting one option from the multiple options. But  If your developing your project using MVVM Framework then you surely get problem while using picker. The reason is ITEMS property in picker is not bindable property .So Now you must be wondering that how to use a picker then in MVVM.To get this answer you might go from one forum to another forum and you get good custom  bindable picker,but then all these picker have some problems.So I without any wasting your much more time suggest to use Jpc.BindablePicker To Use Bindable Picker,first we need to add the namespace in the xaml file Now Add the BindablePicker in the xaml As you have checked the “ItemSource” property is not available in the regular picker. Now Next Step is to bind the properties in the ViewModel. Now if you want to get the selectedItem from the picker just  use   ItemSelectedFromList.ToString() ; So In this way you...

ListView in Xamarin Forms (Mvvm)

Image
ListView in Xamarin Forms  (Mvvm) Today am gonna show you the common problems we face while using listview in xamarin forms in MVVM. To check out how to Use MVVM in Xamarin Forms just Click Here ! • First Of All I tell how to use Listview using MVVM In Xaml   In VIewModel In  Model Now if you write a button control in the listview then the command property would not work This is because the BindingContext of the listview is limited to the properties present in the Person Class So  We have to change the Context Of the control in Order to access the Command Property Which we mentioned In the View Model. We have to do few modifications in Xaml code So In this way we can implement Click on the buttons in the listview using Mvvm. This is not only limited to Command Property..We can access any property of any Control in Xamarin forms using this approach in the Listview For Any Queries And Suggestions. Please Write Us In the Commen...

Xamarin Forms using MVVM

Image
Creating a Xamarin.Forms app that uses the MVVM pattern The MVVM pattern is well documented, and is used to cleanly separate the responsibility  for the appearance and layout of the UI from the responsibility for the business logic. In this blog post I’ll explore using Xamarin.Forms and the MVVM pattern to create a simple photo viewer app.  For more information about Xamarin.Forms and MVVM, see From Data Bindings to MVVM. Implementation Bootstrapping the app 1 public class App : Application 2 { 3    public App() 4    { 5       // The root page of your application 6       MainPage = new MainPage(); 7    } 8 } Connecting view models to views   The simplest approach for connecting a view model to a view is for the view to declaratively  instantiate its corresponding view model in XAML. When the view is constructed,  the corresponding view model object will als...

Earn Money By Blogging(Detailed Turorial)

Image
5 Steps on How to Start a Blog There’s  five main steps  you need to go through in order to set up a blog.  Choose your preferred blog platform Choose web hosting for your blog Setting up a blog on your own domain Design your blog Useful resources for blogging If you follow this guide and the five steps, you’ll have your own blog set up in 30 minutes or less. So, we made it. Phew. Better late than never! So, without further ado, let’s jump into step  Step 1 – Choose your preferred blogging platform Choosing where you want to build blog is pretty much the first thing you have to do.  .I’m going to take a leap and assume you’ve heard of WordPress, and this is the platform I advocate. It’s  massive . There are more than 82 million active users of WordPress = a lot, basically. There  are  other alternatives however, and they are listed below: Blogger  – Definitely the next best thing to WordPress. Tumblr  – Half...

How to make Money from Blogger(Basic)

Image
Ways to earn money from Blogger or any blogging Site So you finally want to join the blogging community. Well by reading this article you’ll have taken the biggest step to  starting a blog  that can create an income for you and your family. I have been blogging as my main source of income for the past 8 years. It has been a long hard slog but in the past few years I have managed to launch successful blog after successful blog which have meant that I can quit the 9-5 and spend more time with my family & building a lifestyle I am happy with. Don’t get me wrong I have made many mistakes along the way but once I knew what I was doing it became a lot easier and more enjoyable. Many of my friends have emailed me or called me to find out more about “What Jamie Does”, but it can be a little hard to sink in at first as to how you can actually make a real income from running a successful blog(s). Therefore I have decided to create this guide for my friends, family,...