“– Xcode 8 removes the UI Automation API, causing “SetUp : System.InvalidOperationException : Sequence contains no matching element … at System.Linq.Enumerable.First[TSource] … at Xamarin.UITest.iOS.Instruments.GetAutomationTemplatePath ()” when attempting to use UITest locally.
Xamarin Dev Days JAX was on September 12, 2015 and it truly was “more than just a hackathon” and it was a great success. Xamarin super team (Krystin Stutesman and John Davis) did great job presenting, teaching, answering tough questions and helping one on one with setup and labs, TekSystems made sure we had a plenty of food for breakfast and lunch and I had a great time presenting about MVVM + Xamarin Forms as well as helping out with organizing our event.
Shortly after the breakfast, Krystin Stutesman, the newest Xamarin Evangelist kicked off Xamarin Dev Day with two sessions: “Developing iOS & Android Apps in C#” and “Introduction to Xamarin.Forms, Insights, and Test Cloud”, she did an excellent job.
After Krystin, I presented “Intro to MVVM in 30 min”
Right before lunch W Brian Leonard, from Oracle presented session about Oracle Mobile Cloud Service titled: “Enterprise Mobile Success with Xamarin and Oracle”
Lunch was provided by TekSystems and then we got into the labs, with Krystin and John Davis helping with one on one questions about hands on labs and other topics related to Xamarin development.
Congratulations to our raffle winners and thanks to our other sponsors: TekSystems, Telerik, Nokia and Pluralsight who provided some cool raffle prizes
If you developing REST Web API services for mobile x-platform apps sometimes you need to locally debug and test using emulators (iPhone or Android) running on Mac before publishing REST to the server…
Or if you’re need to test your app on a plane ride without connection to the published service… etc… you’re came to the right place.
1) MacBook Pro (OS X Yosemite v 10.10.4)
2) Windows 8.1 running in VMWare Fusion (v 7.1.2)
3) Visual Studio 2013 running in the Windows 8.1
4) Xamarin Studio (v 5.9.4)
Follow these 7 steps and you’ll be able to do this
1) Change Network Adapter Setting on the VMWare’s instance of Windows to “Bridged Networking” (Wi-Fi will allow actual devices iPhone/iPad or Android to run websites and REST WebAPI on your Windows)
2) Set up IIS in the VMWare’s Windows environment (Windows 8.1 in this example)
a) Open “Control Panel”
b) Select “Programs and Features” then select “Turn Windows features on or off”
c) Select “Internet Infromation Services” and make sure WWW Service has
“.NET 4.5” selected as well as “Security/Window Authentication” is selected
3) Setup “Windows Firewall” to allow incoming HTTP Requests
(Control Panel/Windows Firewall/Allow an app or feature through Windows Firewall)
4) Run “ipconfig” in Command Prompt to find out the VM’s IP address (in my case 10.0.1.13)
5) At this point you should run the IIS from Safari browser (or any other device in your network i.e. iPhone/iPad etc), just type your IP address (in my case 10.0.1.13)
a) In Visual Studio select your project properties/Web and select “Apply server settings to all users (store in project file) and select “Local IIS” from the dropdown
b) compile and run (in Windows you will access it in http://localhost/WebApplication2 from Mac http://10.0.1.13/WebApplication2)
7)VOILA..! now you can access your WebAPI Application running locally on your Mac OS, inside VMWare Windows. Access it from other emulators on your Mac, Safari or other browsers and mobile devices on your local wi-fi network
Today 5.26.2015 12:30 pm EST was blessed with the privilege to become the Citizen of United States of America.. after almost 18 years of paying taxes and enjoying the freedom in the land of the free and the home of the brave..
THE GREATEST COUNTRY IN THE WORLD..
many of us take this for granted.. pls don’t..!!!
I’m proud to be an American where as least I know I’m free
And I won’t forget the men who died, who gave that right to me
And I’d gladly stand up next to you and defend her still today
‘Cause there ain’t no doubt I love this land
Xamarin MVP, Xamarin Certified Mobile Developer (since 2014)
Works as enterprise mobile architect-developer-consultant, 24+ years hands-on experience in object oriented software analysis, design and development, founder of MDUGJax.com and NFLXUG.com
Xamarinis a world-class development environment for cross-platform mobile apps. Using Xamarin with Visual Studio or Xamarin Studio you are getting all the advantages of modern and powerful IDEs, which helps to boost a development process and simplify development and support process.
Xamarin delivers high performance compiled code with full access to all the native APIs so you can create native apps with device-specific experiences. Anything you can do in Objective-C or Java, can be done in C# with Xamarin
Using Xamarin technology allows to keep Native UI across all three platforms, therefor preserving Native Performance while enjoying full API coverage, shared codebase and application logic. It also allows for re-using skills, teams, tools and most importantly – the CODE! Needless to say, it saves time and resources.
Xamarin is integrated with SDKs of all of the different operating systems. You have the ability to utilize native controls that exist for the iPad, Android or Windows but only coded once.Linked files, conditional compilation, and portable class libraries make it possible for developers to share the code. The ability to reuse 60-90% of the code cuts the development time in half. That obviously saves time and money to both customers and service providing companies on the app’s multi-channel distribution. Additionally, a single codebase dramatically reduces costs for support and new features introduction.
Xamarin supports iBeacons, Google Glass devices, Android Wear, Apple Watch and Microsoft Band. That is a great opportunity for developers to innovate with Xamarin.
Windows Phone and Windows 8 development is natively supported by Visual Studio, and Xamarin is not involved here. Code can be shared between iOS, Android and Windows using Portable Class Libraries and proper application architecture.
Xamarin TestCloudallows to automatically test iOS and Android apps immediately, on hundreds of devices, offering continuous integration, beautiful reports, test for fragmentation, and object-based UI testing.
Xamarin allows building applications on C# and here are some reasons why C# is good for that: it is a simple, modern, general-purpose, object-oriented programming language. You can leverage all the power of strong typed language, lambdas, LINQ, async programming:
Language integrated queries make it even more powerful. LINQ introduces standard, easily-learned patterns for querying and updating data, and the technology can be extended to support potentially any kind of data store. Visual Studio includes LINQ provider assemblies that enable the use of LINQ with .NET Framework collections, SQL Server databases, ADO.NETDatasets, and XML documents.
The most powerful way to do parallel work is using Microsoft Task Parallel Library(TPL) and Xamarin supports it. The purpose of the TPL is to make developers more productive by simplifying the process of adding parallelism and concurrency to applications. Parallelism is crucial for responsive mobile application user interfaces. Unfortunately, existing approaches with callbacks and synchronization make the code less readable, complicated and confusing. Conversely, with the TPL you can focus on business logic and let the framework deal with an asynchronous code. In addition, the TPL handles partitioning of work, scheduling of threads on the ThreadPool, cancellation support, state management, and other low-level details.
The C# language is great to develop async code in a nice and clean way.
Today, nearly 500,000 developers are already using Xamarin to create amazing apps. And here are the companies that are taking advantage of Xamarin today:
What experts are saying about Xamarin:
“We knew we had to cover a large demographic of mobile users—to do this we decided to adopt the Xamarin platform. Xamarin is the only platform that gives us what we needed. If you want to build high-quality native apps, then Xamarin is the only platform you should use.”
Mobile Director, Screenmedia
“As a QA Engineer, I am really enjoying Xamarin Test Cloud because it offers me a broad range of Android and iOS devices. It gives me the ability to have more test coverage and to discover issues sooner. And what’s particularly helpful is that Xamarin offers exceptional service and support that I can depend on every day.”
QA Engineer, Flipboard
“Xamarin’s architectural approach provides completely native UIs with better performance than other cross-platform techniques… Xamarin uses multifaceted technology built by a cohesive team with a solid long-term track record.”
Magic Quadrant for Mobile Application Development Platforms
“The broad collaboration between Microsoft and Xamarin is targeted at supporting developers interested in extending their applications across multiple devices. With Xamarin, developers combine all of the productivity benefits of C#, Visual Studio 2013 and Windows Azure with the flexibility to quickly build for multiple device targets.”
Corporate Vice President, Microsoft Corporation
Using Xamarin, we can write apps entirely in C#, sharing the same code on iOS, Android, Windows and Mac. Reuse favorite .NET libraries, and still easily incorporate platform-specific libraries and frameworks when we need to. It allows to produce fast, modern, reliable user-friendly apps faster and more cost effectively.