getting input from android to my c# (windows form application)project? - c#

short version: i want to get data from android to my C# project, to be more specific read my finger on my phone's finger print scanner,
longer version: i made a login form but i dont want to use basic USER NAME and PASSWORD i want to use my phone's finger print scanner to use it as a access to my next form .
since it is new thing for me i have tried lots of searching but nothing, all results are Xamarin and i don't think i can work with that.
the result should be going to form_2 from login_form just by unlocking my device with my finger.
is something like that even possible ?


Get textbox reference for viritual keyboard UWP, C#, xaml

I have made a virtual keyboard for UWP application that will be used in Windows 10 IoT. For me to be able to use it i need to get a reference to textboxes/fields that is outside my program. I want to be able to read and write from thees text fields but do not know how this can be done.
One example could be if i was on a web page like google and would like to send information from the keyboard to the search bar in google. Or on facebook and would like to send a message. If there is to a textbox in my program then i would know how to send the information. But i also would like to write in all possible textfields like the examples above.
How do i get the keyboard to get the information of where to send it, feel where my mouse pointer has clicked and get a reference of some sort to send my output.
I am sorry if this question has been posted before but as i am in unknown territory i did not know what to search for.

How to avoid displaying the dialog for choice of webcam

How can I avoid displaying the dialog for the choice of webcam.
After about 18 hours I have gotten my webcam to run (I'm sure many more cameras will work) from my application in WPF.
No DirectShowNet, No WPFMediaKit, No WIA
I adapted the code of an implementation with avicap32. It works "perfectly" but always displays the dialog box of the device of choice and I want to avoid this if possible.
I think this behavior is by design, so the user always knows when an application is trying to access it. Nobody wants and application that takes a photo of you with out your permission. In Win8 the user can override this behavior per-application.
I only found this maybe it will help you.
SendMessage(_windowHandle, WM_CAP_CONNECT, _videoSourceIndex, 0)
Maybe you should ask this guy:
C# web cam WM_CAP_CONNECT: Want to force a capture source when multiple capture sources present

Quicksilver Large Type in XCode

I'm new to XCode and looking to do something similar to Quicksilver's "Large Type" in my XCode OSX (not iOS) app.
I'd like to write a function that I can call with a single string, and it would display that string like Quicksilver would - leaving it on top of the screen until the user clicks or presses a key.
If someone could give me some pointers on how to achieve this, that would be great.
(Note: I've read this question: Quicksilver Large Type, and am under the impression that I should create a window (maybe with a panel on which I update the text) and display the window and close it again, etc. I'd rather just write a quick function that will do this though - I don't want a main menu or window controls displayed.)
I think this is what you're looking for:
More info on
It's not a simple function to call (thankfully - otherwise Mac apps would be full of this rather annoying feature*) - but at least you don't have to create it from a scratch.
* The only valid use for this behavior is arguably the same that Apple & QuickSilver do use it for.

Detecting KeyStrokes

Hi i am considering adding some functionality to my app that allows the user to highlight any piece of text on a given page be it pdf or browser or word or what not. Then with the right keystroke i would like to send that down to my application running in the bottom right hand corner that has a text box.
I was wondering (seeing as i am a placement student and not yet graduated) how hard this would be and what i would need to research?
Thanks for your time.
Assuming Windows, take a look at the Win32 API. Here's an example:
There is a nice project here: System Hotkey Component
This project allows your application to sit in the system tray/notification area and fires off an event whenever a hot key of your choosing is detected. In addition, its written in C#. Using this project, making what you are trying to make should be simple.

How to make an application like google transliteration desktop application in c#

Just the functionality of intercepting the keyboard entry , transforming it and sending it back is if user press a i wold like to send e etc.
To make a application that accepts the entry from keyboard modify it and send it to the active window (may be application like word, excel,notepad windows screens ) etc.
The feature is just like google's transliteration application for windows .
I would like to do it in c# .
I think this involves hooking in the keyboard and sending keys (like sendkey in vb) to the current window.
The working is just like Google transliteration .However the logic for transformation is quite different.
I'm not sure what the question is exactly, so it may get closed for being too vague. However, it sounds like you'll have to buffer all of the keystrokes, send words or phrases to some service asynchronously to be transliterated and then push them back into keyboard buffer with something like sendkeys as you mentioned. The problem is that if your app has focus, we don't know where the user wants the transliterated text to show up, and if the app such as Word has focus, it will receive both the real keystrokes and the transliterated text, which will then be mixed together (a mess). Seems better just to transliterate chunks of text rather than trying to interfere with the keyboard buffer - besides, backspace, undo, etc. will be nearly impossible to honor.
You need to write a dll which uses Windows Text Service framework or legacy IME framework .
This dll will get loaded into langauge bar and when you will activate it ; your code , which has implemented a set of APIS required by TSF or IME framework , will get the key event , You can then pass it to your code which translates it and passes a string back to you.Another of your implemented API can then input to the Current text editor of the windows Application.