How to implement android open accessory protocol on C#? - Other Tools & General Discussion

Hi, I am currently in the process of developing a windows application which implements android open accessory protocol in C# . The reason for implementing this protocol is because i wish to establish communication between my PC AND PHONE via a USB cable. Kindly guide me to the right approach and provide any useful links pertaining to implementation of the said protocol in C#.

Related

Sync via TcpIp with virtual com port

For over a year now I own a htc prophet.
Ever Since i've been on the lookout for a technique to use activesync over tcpip (wifi). It's been years since microsoft took that feature from us. all over the net i can hear the cries of people not understanding why it is missing.
There are virtual com port replicators, mappers, loggers and what not available for windows mobile.
there is just one thing missing!!!
A virtual com/serial port redirector for the ppc which redirects traffic to a server on the x86 machine over tcpip that creates a com port on the windows box for active sync to use. as both the ppc and the x68 active sync components support com connections.
ppc (wm5)->virtual com port client->tcpip(wifi)->virtual com port server(on x86 windows)->activesync 4.x
(of course bidirectional)
such software is readily available for windows to enable many computers to share a com device.
i have found libraries that would facilitate making such a product and i'm sure thousands would appreciate it (and happily hand over some amounts of money).
why is there no such thing? has ms been sending cease and desist letters to protect their exchange server business?
am i blind? was i just thinking too quick?
i might one day do it myself - unfortunately i can't stand visual studio and did never like learning ms-apis. I never needed it before and was happy with that.

[REQ][APP] Bluetooth communication

hello everyone,
Can anyone make an application which sends ASCII code via bluetooth to a PC or a bluetooth module??
I really need it for my mechatronics project.
Thanks before
Does it have to be Bluetooth? You might be able to cobble something together over USB with the USB host driver.
I'd like wireless communication for the system since cable is kinda out of date...
But when time is running out... I guess USB will be OK. But for now, since I still have plenty of time, I'd go with wireless.
You could use the chroot method and install Ubuntu on your Nexus One. I don't know if it exposes the phone's Bluetooth interface, but it might be worth looking at since you could code up anything you want in any language if that were the case.
ermmm... it's kinda advance...
any URL to the guide maybe???
is there no ordinary apps or so?
Basic serial over bluetooth is done using the RFCOMM profile, details on how to write an app can be found here:
http://developer.android.com/guide/topics/wireless/bluetooth.html
I'd guess you open a socket to the destination machine, just like normal network programming, just over bluetooth rather than tcp. Here is a stackoverflow article on the subject
http://stackoverflow.com/questions/...-sdp-connection-to-a-rs232-adapter-in-android
....
I'll try my best to understad it
complete noob on java programing here T^T

Accessing USB devices without root from Android NDK code

First up, I tried to post this in "Android Software Development" but unfortunately don't have the minimum 10 posts required to do so and didn't really feel like spamming the forums to make the count. If a moderator could move this post for me it would be greatly appreciated.
On an Android 4.0+ device (ie, contains the USB Host APIs), you can write applications that interface with USB devices that don't require root. Unfortunately I'm working with a codebase that is in C using libusb and while I've gotten a prototype working in a terminal emulator, at this stage it seems to require root to actually talk to the devices (enumerating devices seems ok though).
I had a look at the Android NDK API list but didn't see any reference to USB Host APIs leading me to believe that the only ones that exist are the underlying Linux APIs. Is there a way (without bouncing all calls to the USB Host APIs through JNI, or rewriting the entire thing in Java) to access USB devices when in USB OTG mode without root from Android NDK code?

[Q] RDP App with Serial Port Redirection

I have a device that uses Serial Port and work with MS Windows. I would like to replace it with android with mobility. So I dont need to bring the bulky notebook for the simple work. Since the software is windows based, I cannot install it in android. Remote Desktop is an alternative to access my home computer for the software functionarity. The missing link is the serial connection of the device. In desktop version of RDP, many app allow redirection of both parallel and serial port. Yet I did not see any RDP app implementaion. Are there any known solution or where to start my own compilation?
The serial port on android device is provided by prolific pl2303 and is proven to work with android already.
Thanks.

[Q] Existing simple bluetooth data relay application?

I'm looking for Android Bluetooth / TCP/IP relay application.
-- Details --
I'm looking for RDP client which would be able to relay / bridge Bluetooth devices / peripherals to the RDP host (Windows server 2008 R2).
If there's no such RDP client, wehave a secondary option. Having separate background service which takes care of the data relaying part in background, and leaves the RDP connection / device display to foreground as completely separate process.
I've been planning developing such application. But if possible, I want to avoid re-inventing the wheel. Even if it sounds really simple, I'm sure there will be (too?) many problems before it works reliably.
I'm very curious to know, if such application already exists and where would I get it. I'm quite sure that someone has already made such an application. I just don't know where to look for it.
Additional bonus would come, if the application is quite easy to configure and if the sessions between RDP and this relay are easy to link and access on Windows server end.
As addition to the bluetooth relay, it would be nice to have a simple TCP/IP tunnel / bridge / relay feature in same packet. Allowing access to devices using TCP/IP without bluetooth using same app.
If it's true that such application doesn't exist. Would there be an market for such application if it's created? I could imagine I'm not the only person looking for such app.
I do have additional documentation & specification for there requirements, but I don't want to share it right here. I've been also discussion about this topic with a few Android Application developer companies, but as you might guess, this project won't be cheap. Therefore I'm looking for reasonably priced existing solution.
Here's simple use case sample. Customer is using industrial data collection solution where there are ten sensors attached to something being monitored which are then connected to tablet over bluetooth or wi-fi (TCP/IP). But the actual data processing / logging / control software is running on Windows server and can be accessed using RDP. Of course one solution would be using a full featured Windows laptop instead of that tablet, but we don't want to do that. So this expains what I'm looking for in more detail.
- Thank you
-- Footer --
KW: business, software development, android, thinclient, tablet, bluetooth, wifi, wlan, mobile
HTag: #android #peripheral #connectivity #remotedesktop #remotedesktopclient #softwaredevelopment #bluetooth #tablet #thinclient

Categories

Resources