Can a Android Hybrid App with some plugins written in Java and others imported from Cordova, be made windows phone complaint using Xamarin ?
Is there any such feature in VS 2015 from which conversion of android app to windows be made possible without much rework. Please help.
No. Xamarin will not allow you to automatically convert an app from one platform to another.
Microsoft has announced Project Astoria as part of Windows 10. This will enable Android apps to run as Windows Universal apps.
Can a Android Hybrid App with some plugins written in Java and others
imported from Cordova, be made windows phone complaint using Xamarin ?
No you cannot.
There are two ways to port Java code to C#.
The first way is to port the code manually.
The second porting methodology is to try and automate the process by using a code converter.
Related
I have a Universal app built for Windows 8.1 using Visual studio 2015. (This was done before UWP, there are 2 separate projects for phones and others. But we are not actually using the phone version anymore)
The client wants to add OAuth 2.0 authentication with Windows Azure DS to this app. https://learn.microsoft.com/en-us/azure/active-directory/develop/v1-protocols-oauth-code
I am bit worried, since this app is some what old, will there be any issues doing that? Will it be supported?
If supported will the code be the same as for doing this for a UWP app done using VS 2017 or 2019 or will there be changes.
Because we need to do the same for another UWP app built with VS2017 as well. So do you think we will be able to use the same code in both apps or will there be differences due to version differences?
Any guidance on this is really appreciated.
Thank you.
I have a complex Android app which now needs to run on UWP.
I figured that I'll have to re-write and re-design most of it but I'm wondering if there's any way whatsoever that I can at least port some of it into .NET so that I have a starting point?
Microsoft has been working on converting Android and iOS to UWP directly just like Desktop Bridge. And currently Windows Bridge for iOS has been used. It is a Microsoft open-source project that provides an Objective-C development environment for Visual Studio and support for iOS APIs. You could refer Move from iOS to UWP for more detail. And Microsoft also provide Windows Bridge for Android. However, it has not finished.
Beginner question here, I'm learning to code and have been working with C# for a few weeks.
Now I am trying out with Windows.Forms and so far I haven't been sure on what kind of solution I am suppose to load. I am using a Mac and Tamarin Studio. Xamarin only offers Xamarin.Forms but I'm not sure about that.
Any helping hands out there ?
Xamarin Studio is only for cross platform app development. Meaning you can code in C# your Android and iOS app. At most, you can develop a Console project but that's about it.
Xamarin.Forms is not to be confused with Windows Forms (WinForms).
Xamarins.Forms Xamarin.Forms is a cross-platform UI toolkit that allows developers to easily create native user interface layouts that can be shared across Android, iOS, and Windows Phone. (Source)
WindowsForms Windows Forms (WinForms) is a graphical (GUI) class library included as a part of Microsoft .NET Framework, providing a platform to write rich client applications for desktop, laptop, and tablet PCs. (Source)
So to answer your question, if you want to build a Windows App using Windows Forms (though I would recommend using WPF as it's more modern), you will need to do that on Windows using either Visual Studio or another compatible IDE.
I have an app developed using Xamarin.iOS that i would like to port to Windows 10. I have read that is possible to use Windows Bridge to port app developed using Objective-C (WinObjC provides support for iOS API) to Windows 10 using WinObj project.
It's possible to do the same with a project written in C# using Xamarin.iOS?
If you're working with Xamarin.iOS you need to forget WinObjC. WinObjC is a bridge to write native windows apps using Objective-C. Since you're using C# you can write the interface using XAML and share your business logic between the apps easily.
The WinObjC project is a bridge of Cocoa Touch, not a port, and it's real Objective-C. You would have to convert your C# code to Objective-C by hand, yes. Eventually you'll be able to use (mostly) the same source code on iOS and Windows!
Using the Windows Bridge for iOS to bring your Xamarin.iOS App to Windows is not working. This only works with Full Objective-C Projects. Anyways you will be able to build your Windows App on top of Xamarin.iOS very fast when you have encapsulated it correctly. Then you just need to rebuild the UI and maybe implement some interfaces :)
WinObjC is the Windows Bridge for iOS (previously known as ‘Project Islandwood’).
Windows Bridge for iOS (also referred to as WinObjC) is a Microsoft open source project that provides an Objective-C development environment for Visual Studio/Windows.
In addition, WinObjC provides support for iOS API compatibility.
The bridge is available to the open-source community now in its current state.
The iOS bridge as an open-source project under the MIT license. Given the ambition of the project, making it easy for iOS developers to build and run apps on Windows. Salmaan Ahmed has an in-depth post on the Windows Bridge for iOS http://blogs.windows.com/buildingapps/2015/08/06/windows-bridge-for-ios-lets-open-this-up/ discussing the compiler, runtime, IDE integration, and what the bridge is and isn’t. Best of all, the source code for the iOS bridge is live on GitHub right now.
The iOS bridge supports both Windows 8.1 and Windows 10 apps built for x86 and x64 processor architectures, and soon we will add compiler optimizations and support for ARM, which adds mobile support.
I have just downloaded agsXMPP SDK from this link , I opend the source code and I want to build the .dll so it would work for Windows Phone, since it's made for Winforms.
So is it possible to do so? If so how can I do that?
it does not build without modifications for Windows Phone. Sockets are totally different on Windows Phone and other required namespaces are missing. This mean you have to make some major modifications to compile it for WP.
The MatriX SDK which you can download on the same page works fine on Windows Phone.