In search of material to learn how to develop UWP apps using Visual C++ - visual-c++

where can I learn to make UWP apps using visual c++.The only resource I've found shows how to make a 'Hello World' app. This is insufficient because I want to make an app that has multiple pages and utilizes custom classes.

To develop UWP apps, the official channel is the official document: https://learn.microsoft.com/en-us/uwp/
Depending on your requirements, you need to use the appropriate APIs in your app.
For the specific API, there's specific code sample for your reference. You could get the demos from GitHub: https://github.com/Microsoft/Windows-universal-samples
If you want a complete project to learn how to develop a UWP app. There's an existing open source project MS-Calculator. It's UWP app and developed by c++ language.

Related

Use NodeJs in Kotlin Android Project to use Stream.io Feed Api?

Would it be advisable to some how integrate NodeJs with a Kotlin project to use Stream.io Feed API? From what I understand there currently isn't any support for Kotlin/Android regarding the Feed capability. I currently have an iOS app that uses Stream and would like to connect my Android users to the community also. If this isn't the right way to thin about this, is there a better way to go about this?
https://github.com/getstream/stream-java provides java integration for feeds. See its io.getstream.cloud package to leverage it in android.
Later this year, more modern and android specific SDK will be developed too.

Should the REST Services consumed by the Xamarin.Android app be PCL enabled

I am trying to consume JSON based REST services for developing a Xamarin.Android application. Now in this case the services are already developed and hosted and ready to be used. I am looking to consume them from the Xamarin.Android application.
We are also planning to develop Xamarin.iOS app and consume the same REST services.
Can anyone help me to know in this case whether the REST services should be PCL enabled.
It is possible to do this from the PCL, and I recommend it. As often as possible you should move any code you can to the PCL. Anything not in the PCL means you have to code it twice, which means more likely to have bugs or discrepancies. Stuff that should be OS specific is View layout and utilizing OS specific libraries.

xamarin.forms integration of zendesk chat

I am new to Xamarin development. And, currently I want to integrate the zendesk chat.
As per my RnD and after contacting Zendesk support center they are not supporting the xamarin yet.
Currently they have sdk for native android and ios respectively.
I need you expertize people's guidelines for the development regarding what scenario i should follow to achieve the same using xamarin.forms :
Integrate the both platforms native sdk's for xamarin in each platform and later call it from Xamarin.Forms by adding platform dependency using Device.OnPlatforms . ( I am not sure about this scenario, please suggest)
Create a jar/aar of Zendesk SDK and use it using binding library concept.( I am not sure it will be accessible into ios platform)
Kindly, suggest me the best approach for this.
Any sample reference for suggestions will be grateful.
Thanks in advance.
I think it's a mix of number 1 and number 2 (and a little extra).
You will need to create the Binding libraries for both iOS and Android. Xamarin has a good documentation of how to do this: Android/Java and IOS/Objective-C
Then you can go either with Xamarin Native (Xamarin.iOS and Xamarin.Android projects) adding the binding to each project. Or you can go with Xamarin.Forms but this will require a little more work as you will need to create an interface of the methods you want to use from the SDKs (most likely all off them) and create the implementations for each platform.
Let's say your interface is called: ISendeskSdkService you will need at least two implementations: ISendeskSdkServiceiOS and ISendeskSdkServiceDroid. These implementations will be on the Platform project and they will be calling the binding libraries you just created and added to each of these projects.
You will be developing your app on top of your interface and which implementation to use will be set on the application load when you are configuring your IoC.
Hope this gives you an idea.

Using RestSharp cross-platform using Xamarin

I'm using Xamarin to develop a cross-platform mobile app. To communicate with our REST-service I'd like to create a shared project between these platforms to have a service access layer. The problem is that RestSharp has different projects for different platforms. How can I create a shared project while still using the platform-specific libraries. Does that make sense?
I tried this exact thing a few months ago. I ran into problems when trying to use my "Service Library" on WP8 because of the RestSharp dependency. If I had it to do over, I would do just like the link that #user1010710 mentioned in the comment and use HttpClient.

how to migrate visual studio C# app to monotouch

I have an existing application developed using Microsoft Visual Studio 2010 C#. I just purchased Xamarin's Monotouch product which allows me to use their IDE MonoDev to create iPhone/iPad applications from scratch by coding C#. Right now I don't want to code a new application. I want take my existing C# application import the source into monodev/monotouch and have the result run on the iPhone/iPad. My existing C# application is designed for deployment on Android phones/tablets using Xamarin's Android product. It works great! I have begun wading into the Xamarin documentation, samples, tutorials etc. But I need to port the existing application to iPhone/iPad right now, right away. I really don't have the luxery to spend time learning from scratch. I've got to belive someone has already gone down this migration path. If you have can we talk, email, or do you know if there is a guide describing the specific steps to take to accomplish this?
TIA
Xamarin MonoTouch does not allow you to run any C# application and run it immediately on an iPhone. The UI layer is native, so the C# code that constructs the UI must use the Xamarin bindings onto the Apple UI APIs.
The 'standard' migration process is to create an empty MonoDevelop project then start adding your existing C# business logic files, resolving any compilation issues as they arise.

Resources