I'm making a Windows Universal app in which I need to integrate WhatsApp so that I can use all of its features in my app. I tried to use the API for the Windows Forms application but didn't worked out well. So what I want to know is that what are the different ways in which I can use all of the features of the WhatsApp API for WinForms in my UWP app?
P.S.: I have already seen the WhosDown wrapper for Windows 10 but it is a wrapper for WhatsApp Web, not for the WhatsApp application.
I have already seen the WhosDown wrapper for Windows 10 but it is a wrapper for WhatsApp Web, not for the WhatsApp application.
I guess that you used wrong API, you can refer to the Windows Phone FAQ Articles, just for example, you can launch WhatsApp application and send text from your UWP app like this:
string uri = "whatsapp://send?text=Hello%20World!";
await Launcher.LaunchUriAsync(new Uri(uri));
This solution works only when WhatsApp is already installed on your mobile. If system can not find WhatsApp on your mobile, it will open the Store and show the recommended apps which registered this protocol.
And I just tested, when use this on PC, the store can't find the app in store, seems this app only targets the mobile device, on windows pc, you need to install this app in other way.
Related
Dears
I am creating a windows forms application (c#) in which allows the user to upload .apk file to number of participants and hence my program will analyse some UAT properties.
My question is: is it possible to show any emulator inside a winform application and is it possible to communicate with it? In other words, is there any APIs or extensions for Android Emulator that I can use?
Thanks 😊
I want to develop an UWP application which show notifications (Facebook notifications, incoming call or sms notifications etc) of my android phone.
I want to use Bluetooth for connection of my application and Android phone.
please help me if anyone know how i can do that, many thanks :)
You can use project Rome to do this.
Microsoft already has some of these features inside the Cortana app on android.
I wants to develop a UWP remote desktop viewer application. I had already gone through many tutorials but those are all of winform application and I can't port them into uwp. So that desktop can be viewed from windows 10 mobile. I have zero knowledge regarding this so anyone can help me from where should I start and also if someone having UWP remote desktop code so that I can understand its working easily.
I am afraid you cannot develop such application easily in the Universal Windows Platform. Microsoft has its own Remote Desktop app, but it is definitely using some APIs which are not publicly available for the connection to remote computer.
To develop such app you would need to capture / record the screen on desktop as well as capture all input and relay the input from the remote device to the source.
You could create the desktop side of the app using Windows Forms / WPF and connect to it remotely from a phone, which would just act as a display and would capture and send the user input to the desktop counterpart.
There is also a small chance you could implement the desktop app in UWP with the help of Brokered Windows Runtime components, but that would be very tedious work.
Once again however, developing this is a major task, which is more suitable for a team of developers.
I modified my Windows Phone 8.1 application (universal app with just the Windows Phone project live yet) to have a VoiceCommandDefinition (VCD) file in place and this works fine to start my app in foreground mode and handle parameters.
But I want to let my app quickly answer some app specific questions like it is described in this blog for Windows 10. I have tried to apply this blog but the app manifest modification fails. It does not know the:
uap:AppService
When I looked it up, it seems to be available for Windows 10 only. So I searched up the internet mainly MSDN and stack overflow, but I could only find examples that run the app in foreground.
Does anyone know an example how to provide answers to the Cortana content page with a background service?
Only App service can meet your requirements.
But App service is new in Windows 10, so you cannot use uap:appservice in Windows Phone 8.1 application. You can see App to app communication video from 26th minutes which introduce the app service.
So you can use universe windows app to develop. Sample is Cortana voice command sample as you see in that blog.
In my Windows Phone appllication I need to realize skype call to some users. Is it possible to call skype user from my Windows Phone application?
There is no built in support for this and no public SDK specifically for Windows Phone.
If you really must do this then you'll need to implement a WP7 compatible interface to their API.