Forum General

Java script compatibility on Xamarin

Anc123cnaAnc123cna Member
Application code in java script, need to do a build in Xamarin, please someone help on this.

Posts

  • JohnHardmanJohnHardman GBUniversity admin

    @Anc123cna said:
    Application code in java script, need to do a build in Xamarin, please someone help on this.

    To understand which languages can be used to develop with Xamarin, see https://docs.microsoft.com/en-us/xamarin/cross-platform/platform/

    Regarding using Razor templates (if that is of interest), see https://docs.microsoft.com/en-us/xamarin/cross-platform/platform/razor-html-templates/

  • Anc123cnaAnc123cna Member
    Thanks for the reply, we have a source code in java script, this to be integrated to xamarin. Please let me know the steps
  • JohnHardmanJohnHardman GBUniversity admin

    @Anc123cna said:
    Thanks for the reply, we have a source code in java script, this to be integrated to xamarin. Please let me know the steps

    Have you read the two pages that I linked to in my post above? If so, you will have seen that you can use C#, F# or VB.Net to develop with Xamarin. If you want to use JavaScript (which is what I assume you mean by Java script), you can do so inside a web view that is part of a Xamarin app, and can use Razor templates. There are code snippets on the second page that show the basics of how to do this.

    If you need a Getting Started guide to Xamarin, see https://docs.microsoft.com/en-us/xamarin/get-started/

    You haven't said whether by Xamarin you mean Xamarin.Forms, or whether you mean Xamarin iOS and Xamarin Android. For the differences, see https://docs.microsoft.com/en-us/xamarin/ . If you have decided which it is, there are plenty of samples available online that show how to use web views and JavaScript from Xamarin - your favorite search engine should find them easily enough.

Sign In or Register to comment.