Maybe this is a very simple question but I am stuck on this.
How can I use a library originally designed for Xamarin.Form UI in Xamarin.IOS native.
This is the library that I want to use in Xamarin.IOS, it seems to be very easy to use in Xamarin.Forms but I don't know how to use it in Xamarin.IOS
https://github.com/HorusSoftwareUY/Xamarin.Forms.Skeleton
Related
I have an iOS project written in Swift.
I want to launch Xamarin.Forms Views inside iOS Native Project.
How to do two way communication from iOS Native Project to Xamarin.Forms view?
is there any way to achieve this task?
Ex. I can achieve this task using Flutter Module.
https://github.com/flutter/flutter/wiki/Add-Flutter-to-existing-apps
https://medium.com/flutter-community/add-flutter-to-existing-android-ios-app-ae8c4fb1582e
How to achieve above using Xamarin?
You maybe can di that with the Embeddinator-4000 that creates native libraries of .NET libraries. https://github.com/mono/Embeddinator-4000
This can be done with Xamarin Forms Native Views
I'm a Windows developer and have written all sorts of windows client applications using C++ and C#. I wanted to write an Android app and put it on the Google Store, but I'm only equipped with Visual Studio.
I wanted to ask if it is realistic to think that I can create an app, from scratch, including engine and UI using Xamarin only. I saw there are a few Xamarin samples out there, but I didn't want to start only to find out that it's not enough for some reason.
Currently I'm struggling a bit in getting my environment right, but thought I'd throw this question here to you guys ... Maybe it's not even worth starting?
Thanks.
Yes, Xamarin can be used to develop Android apps from scratch. Xamarin has two main libraries that help with this.
Xamarin.Android will give you access to all the Android APIs directly from c#. Note that you still need to know the basic Android concepts like what is an Activity and an Intent.
The other library is Xamarin.Forms. It is a cross-platform library that will give you a basic set of UI controls and widgets that you declare usong an xml syntax, and program with C#. This library has a few limitations, but you can also use the features of Xamarin.Android alongside it to get at the missing features.
Some advice: if possible, develop and debug directly on an Android tablet. Android emulators are not that good and hard to configure. Hope this helps.
There are 2 types of Xamarin you can use.
Xamarin Forms : Which is the unified version that use XAML for the UI. It is very recommended to use this if you are building a simple application.
Xamarin Native : The "native" version of platform that are written in C#, if you want to create Android-only apps, I really recommend this, since it's very similar with the native Android code, but it's wrapped using C# (You can still using nuget package).
I want to implement PDF Viewer with annotations in Xamarin Cross Platform apps (UWP, Android & ios). As per suggestion on (https://components.xamarin.com/gettingstarted/pdfnet-mobile-sdk?version=1.0.0). How can we implement PDFnet PDFViewer in Xamarin Forms portable library? since they written separate libraries and code for different platforms or should we use native apps?.
That is an old version that is no longer updated. To get the latest Xamarin SDK please fill in this form.
https://www.pdftron.com/pdfnet/mobile/request_trial.html
I was giving an interview for a company and I was told by the architect that they are creating iOS apps from Xamarin.iOS ( NOT Xamarin Forms) with MvvmCross framework and they use storyboards for UI. But if the UI is very simple they use XAML to create them.
I never knew we can use XAML for Xamarin.iOS and Xamarin.Droid. We had a small discussion/argument if that's even possible. He said they were using it successfully.
My question, is it really possible to use XAML in Xamarin.iOS and Xamarin.Droid. Because, if we can do that, I feel no use of using Xamarin forms.
If yes, can anyone provide some kind of documentation?
Thank you.
There is no way to design UI in XAML using Xamarin.Android or Xamarin.iOS, but you can include Xamarin.Forms page in Xamarin.Android or Xamarin.iOS app. This way you can have native app with UI using storyboards, but with some Xamarin.Forms pages designed in XAML.
There is a sample how to do that in Xamarin Forms samples project on GitHub.
Only Xamarin Forms support sharing of UI via XAML.
UI for iOS has to be made using xib or storyboard.
For Android using AXML.
Windows Phone, UWP, WinPhone Silverlight, Windows can use XAML for UI.
I have developed an app/component using Xamarin.Forms and as per the requirement I need to integrate that component with another app which is developed on Xamarin Native in Android as well as iOS.
Kindly help me with the suggestions or references
I've seen something like that on a sample called Native2Forms.
What it does, at least in Android, is to use a separete activity to integrate the Xamarin Forms PCL (FormsActivity).