Skip to main content

Posts

Showing posts with the label Mobile
Xamarin- Adding Controls   If you're new to Xamarin.Forms then I would recommend you to head over to my previous post on Getting started with Cross-Platform Mobile App Development Adding Buttons to a Xamarin Forms Application After creating a New Xamarin.Forms App, follow along the below steps to get started with adding Buttons in your Application: Open MainPage.xml, in Xamarin.Forms App, where the Shared Code resides, under [YourAppName]-> MainPage.xaml. Now add the below line of Code right under the Label created... Code: <Button Text="Click Here"  Clicked="myButton_Clicked"/> Now let's jump right into adding an Event Handler for the Button. Open the MainPage.xaml.cs file (where the backend logic resides) by expanding the current .xaml file from the Solution Explorer. Now write the below code in the MainPage Class, after the MainPage Function. Code: int count = 0; void myButton_Clicked(object sender, System.EventArgs e) {     count...

Getting started with Cross-Platform Mobile App Development

My First Xamarin Mobile Application Software Pr-requisite: Visual Studio Community Edition, ( Refer to my previous post for Visual Studio) Download Here: [for Windows] [for Mac] Xamarin Workload in Visual Studio [For Steps Refer this]  Recently After my First Hackathon Experience, I made an application using Microsoft Xamarin and really wanna share it out to everyone via this blog. So Stay tuned... Let's get the Real Work Done! Start Visual Studio (in my case present build: vs2019) Click on Create New Project Search for " Xamarin " in the Search box on top and then select " Mobile App (Xamarin.Forms) " Give your App a Name Select a Blank App Template. In Xamarin.Forms App, the Shared Code resides under, [ YourAppName ]-> MainPage.xaml . Currently I'll be running a UWP (Universal Windows Platform) run to test the App, though in the End there are some Android Screenshots too... Let's make a little change in the MainPage.xaml...
Counter Widget