Help with BT USB Passthrough Tutorial on source.android.com - General Questions and Answers

Hi,
this question might be to vague but at this point I'm not even quite sure if I'm on the right path for what I try to do so any input would mean a lot to me.
I've been struggling a lot with a Bluetooth Dongle pass-through on Android Emulator. I basically what to connect the Emulator to a real Bluetooth device through a Bluetooth USB dongle. After weeks of searching I found a tutorial that kind of explains what I want to do but its for the AAOS Emulator.
Can someone give me a overview on how to mod those files and how I bring them together to build an emulator? I'm trying my best to understand the AOSP Repo and its structure, but the harder I'm trying the more confused I am.
The tutorial is https://source.android.com/devices/automotive/start/passthrough

Related

Dream to VGA via USB?

Hey folks,
First time poster, long time lurker and semi-experienced Android dev.
I've searched long and hard.... and I can't seem to find anyone talking about this topic.
What I am trying to do: Plug my Dream device into a monitor via the USB port and have my androids screen appear on the monitor. (in a supported platform resolution)
I'd like to accomplish this without the need of a supporting system and an emulator.
So, any thoughts? USB to VGA. How do I do it? Has anyone tried it? What would be the first step or where should I focus on?
The end result is I'd love to build a proof of concept desktop system built off my android device.
Android currently does not support this feature at this time
Please go ***** at google
well shoot. ;_;
lowrez01 said:
Hey folks,
First time poster, long time lurker and semi-experienced Android dev.
I've searched long and hard.... and I can't seem to find anyone talking about this topic.
What I am trying to do: Plug my Dream device into a monitor via the USB port and have my androids screen appear on the monitor. (in a supported platform resolution)
I'd like to accomplish this without the need of a supporting system and an emulator.
So, any thoughts? USB to VGA. How do I do it? Has anyone tried it? What would be the first step or where should I focus on?
The end result is I'd love to build a proof of concept desktop system built off my android device.
Click to expand...
Click to collapse
How good are you at soldering and programming? Shoot me your email in a PM and i'll send you something if you have time to read.

[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

[Q] How to communicate with custom made hw board?

Hi Xda developers,
I might get involved in project during internship, where they want me to find way how to connect android device to custom made proprietary radio transmitter-receiver board without bluetooth or wifi, so it has to be direct wired connection.
This radio transmitter-receiver board has its own microchips and firmware so all low level work and functions will be done in this board alone.
Does anyone has idea how this could be done? is it possible to write some drivers (probably C) to communicate with this board over micro usb port present in all android devices? And than how could be data received over radio used in basic java-android application installed on device? (could this be done with use of a binary/text file as a link between these two programs?)
Thanks in advance
If nobody knows or has time to answer my questions, please give me some tips where to start searching for answers (websites, books, magazines .... )
Is it essential to learn Linux architecture properly before modifying anything in android?

Anyone know about USB Dev?

Hi,
Android Dev Noob and just looking at the SDK I have this question which probably someone will be able to tell be straight away.
I want to relay USB Host port data to a USB accessory port.
I am looking at the USB Host APIs >= Andriod 3.1
What I want to do is be able to relay the keyboard, mouse and touchscreen that I have connected on the host port and relay that to the OTG.
So here is my noob questions before I waste loads of time.
1... Is it possible to create device manifests on the fly.
I was thinking I could just make devices connected on the host appear as if they are on the accessory port.
If not then I guess I could create some default manifests and pick the most relevant.
2... This is hardware related but many tablets and android boxes have separate usb host & otg ports?
It is possible to have a host and accessory going at the same time.
This might makes things a little easier as the rationale is that I have a windows 8 machine and an RK3288 android box and I want to share the keyboard, mouse and touchscreen.
Video is easy as I can just swap the input between pc & hdmi.
I was thinking if I plugged all my devices into android I could just have a hot Key to redirect to windows 8 or don't capture and use devices on android.
I thought it might be a much simpler way without network needs and have read there are gesture problems with KVM products such as Synergy.
What do you think is it possible, does anyone know if this has already been done and there is an app?
Also if you have any better ideas or some pointers where to start all will be welcome.
Many Thanks
Stuart

Android Cuttlefish Bluetooth?

Hey
I'm very new to Android and read about the cuttlefish. I understood that it is very similar to android emulator but closer to a physical device on the OS Level.
I'm trying to establish a bluetooth-connection between a virtual Android device and a physical bluetooth device.
At first I tried to enable the bluetooth in the android emulator by building a custom kernel but that turned out to be trickier than I thought.
Before I spend hours getting into cuttlefish, does someone have some experience with it and can tell me if that will help me with my project?
Is it easier to enable the bluetooth functionalities in cuttlefish?
thanks for any comments or tips

Categories

Resources