How to manipulate app from my own unity app? Unity - c#

I´ve got no code to show, I just wanted to know if you guys could guide me so I can begin my research to start my project. Well, imagine you have a videogame or an app on your computer. How could I control some components that belong to the app from another device. I mean, I want to create an app for mobile devices that allow me to control some components from a specific computer app. My app would be created on Unity. Thank you.

You can achieve this by creating an app on your PC that receives messages from an app on your phone, then uses windows API hooks to fake key presses.
It's a really big and broad question you've asked, so it is hard to add too much more unless you are very specific.

Related

Windows8/win10 c++/c# :have multiple virtual desktop active at the same time

I'm developing a vr application for windows8/10 so that user can not only see and interact with the existing monitor plugged to their gpu in vr, but also create a new virtual monitor, or just open a application outside of the desktop/screen in vr space.
After some research, i figured i can show exising desktops on monitors by duplicatedesktop api, and also create/show/switch a virtual workspace, but how do i have multiple desktop object active at the same time with only one monitor?, so that my unity programming can create textures using duplicatedesktop api from those desktop object and show them in vr.
And also, is it possible to have a application window without/outside of a desktop?
My target is windows10, but would be best if also works on windows8 !, Thank you in advance!
And sry if my description sounds vague, im experienced in unity but just started on windows development.

Windows 8 live tile from NET 4.5 app

I have create a Windows Store app which successfully updates its tile (live tile). The thing I hate about this now is that it seems there is no way for me to install this app anywhere except either through Windows Store or using another developer account (see this).
Since I am looking to support only desktop PC with this, can I work with live tiles from a generic NET 4.5 application?
Or to put it differently, is there a way to use / control live tiles from apps other than Windows Store apps?
This is still all too new to me... Finding answers on the web and SO revealed nothing.
Live Tiles are part of the Metro Framework, completely seperated from .NET. Your application is sandboxed when you develop for the Windows Store framework. no one can access your application and you can't access anyone else's application. The only way to update the live tile would be for the application to update it's own live tile. It would be a huge security flaw to allow anyone to update any tile.
If you do NOT intend to ever submit your app to the Windows Store for distribution - you can look at this thread, which talks about methods used to communicate between desktop apps and windows store apps.

How to create a driver for my application

I build 2 application one for android and one for pc
My application is to make the camera of android mobile appear inside application of C#
but I didn't use DirecShow in my application..
it's work good ..but still I have to make the application of c# which display the camera
appear as an option inside Skype and MSN which I think make this application like driver
any help to do that will be great
Thanks
I don't think you can write a windows driver in c#. Maybe you should begin reading here: Windows Driver Kit (WDK)

How to keep you Windows Phone 7.5 application on top

we are creating a windows Phone 7.5 application, this application is developed for specific purpose for company field employes, phones will contain the data sim. No communication allowed like making a phone call, sending sms or chekcing and repling email etc. This application will receive the Push Notifications from our application in the head office.
Is there any way that we can keep this application always on top, regardless what button is pressed by the user we want this application to always stay on top so what ever the notification it receive it will always disply it to the user for futher action.
Thanks
This requirement is not really feasible for a couple of reasons. First, what you are describing actually breaks most of the concepts that a certified app is required to follow. A subset of certification details can be found here: http://msdn.microsoft.com/en-us/library/hh184840(v=vs.92).aspx
Secondly, even if you planned to override the back button (possible) there really is no way to override the Windows, search or camera button at the OS level.
Best of luck!
Short answer: you can't. Application switching is part of the OS, and you don't have control over it.
Best workaround is to pin the app to start and allow it to do background processing with updates to the live tile.
If it's an absolute requirement, you'll have to jailbreak the phone and install your own OS on it.

Windows Mobile - Stop Main Phone App

Is there a way to make Windows Mobile not use the main phone app? I have my own phone app that I want to handle phone transactions for a business device.
My app works fine (detects the call and can hang up), but the main phone app still wants to allow the user to answer a call normally. I can try to hide the incoming call window or programmatically press the ignore key, but that is a bit clunky.
Basically, I need a way to make the built in phone app not know about incoming calls.
Any advice would be appreciated!
In case it matters I am using a Symbol MC70 running Windows Mobile 5.
Thanks!
EDIT: Thanks to djhowell's answer to this question I now know that the offending app is cprog.exe. But apparently it is hard to kill because services.exe keeps bringing it back.
First of all, you should not do it. Replacing system dialer will create you more troubles than you can expect.
If you still want to do it, there is no nice way to do it, even if you opt to use RIL directly. So, there is a trick in which you create a dummy cprog.exe (which does absolutely nothing), and put in the root folder . After the phone boots, that program will be started instead of the native one that is located in the \Windows folder. Then no program will be listening for incoming calls.
I would recommend asking Symbol (actually Motorola), they may have insight into your problem. I work with MC3090's and they were helpful before.

Categories