Xamarin Forms MvvmCross and Xamarin iOS/Android co-existing - xamarin.ios

I have an app written using Xamarin iOS and Android and it uses MvvmCross.
I would like to gradually migrate it to Xamarin Forms. So this would mean new views/controls would be Xamarin Forms, but existing views/Controls would be migrated over time as and when they need to change.
Is it possible for Xamarin Forms, iOS, Android and MvvmCross to co-exist int he same application?
If anyone has done this could you let me know how you went about this, and any problems issues you have come up against.

Here's a project someone is working on that will allow you to navigate to Xamarin Forms Pages as easily as you do Mvx Views.
https://github.com/munkii/MvxAndXamForms
The project has moved to a Fork of MVVMCross 5.0 here, https://github.com/munkii/MvvmCross/tree/develop/TestProjects/Forms/NativeToXF
Hope this helps.

Related

Can I use xamarin ios page in xamarin forms

My question as the title, I have done that in android using xamarin message center
and I want to know if it is possible for IOS too especially I a beginner IOS developer.
So what I want is to go from xamarin forms page to ios page or the opposite.
You can expose a native iOS or Android page/control to Forms by using a Custom Renderer.

How can I run my iOS project in Xamarin Studio?

I have created an iOS single view application on XCODE. Can I open that project in Xamarin Studio?If yes then how?
I have checked the project directory which is created on XCODE. It shows .xcodeproj.
In short, you can't.
I suggest you go read up on how to create an application using Xamarin.iOS at http://developer.xamarin.com/guides/ios/getting_started/hello,_iOS/
P.S. Once you've done that you could trywhat you can do however is create a single view application in Xamarin Studio and import the Storyboard you create in Xcode.

Is it possible to create a web Application using Xamarin? And then Create Xamarin iPhone and Android to connect to it?

I want to create an application using Xamarin. This is a web Server and client iPhone and Android. I would like to know Can I make my core web Application Using Xamarin.
Sorry, I do not have any Experience in Xamarin. Then, I want to connect this Web Server Xamarin App to an iPhone and Android App.
Thanks!
At the core, Xamarin's iOS and Android Technology is based on Mono which in turn implements most of the parts of Microsoft's .Net Stack. So the answer is yes, you could build your backend using .Net with either Microsoft's or Mono's ASP.Net Stacks and have your Xamarin Mobile apps connect to it.

Create Mac apps with Xamarin from Visual Studio

It seems to be easy enough to create Android and IOS apps on Xamarin in Visual Studio, but I can't see how to create OSX apps.
On the Xamarin download page for Windows/VS it states that this "Includes the following: Mac - Develop Apps with Xamarin.Mac". There is no option to create an OSX/Mac project
Apologies if I'm being dense but I am going round in circles here and always end up with information on creating IOS apps. I know I can create apps using Xamarin Studio on the Mac but that isn't ideal.
It wasn't possible before, but it is possible now with Xamarin for Visual Studio 4.2. The support is limited to certain project types though. More information is available in the blog post.

Xamarin how it is getting the Native Look and Feel?

I am new to Xamarin. I have few confusion here.
Question:
How does Xamarin get the Native Look and Feel of the UI Components?.
Does Xamarin Provide their own Widgets [ like button, Layouts, ..].
Here is my understanding Correct me if I am wrong?.
1) Develop the UI [ button, layout...] by native SDK. For example iOS use Xcode. for Android ?.
2) Consider the button, when the button is pressed, the the code which is going to get executed
is common across the platform.
3) So, Since UI are directly from their respective SDK, we get the Native Look and Feel.
Kindly correct me where I misunderstood?.
I think you are way off.
Xamarin provides C# and the .Net (Mono) runtime on iOS and Android. At the same time they expose the native APIs on each platform to C#. So they built a way for C# to call into Objective-C and Java (and vice versa).
This means you develop native UIs on each platform, and can share backend business logic between platforms. A Xamarin app can share somewhere between 50-75% of its code across platforms. There is no general sharing of the UI across platforms, since this would abstract away the native APIs.
To break it down:
Android
Use Xamarin Studio or Visual Studio to develop your C# backend code
Use Xamarin's Android designer to layout native Android XML layouts
iOS
Use Xamarin Studio or Visual Studio* to develop your C# backend code
Use XCode on a Mac to layout storyboard or XIB files for native iOS UI layout
Both options you can create your UI from code as well, but the native APIs will be different on each platform.
*A mac is needed to compile for iOS

Resources