Android device as Input device - General Questions and Answers

Hello Devs,
I am working on idea where i want to make my android device as input device to other devices(PC,PS,IOS phones,android devices).
I am able to achieve this using bluetooth client and sever application running on 2 devices.
But after lot of research i found that android device can be used as bluetooth HID input device i have got rooted device with me but i am unable to use HID profile to implement this.
I have seen some projects but they are developed with different version of android which are not compatible with greater that 4.2.
Can anybody help me with this ,any kind of system level modification can be accepted as i have rooted device.

Related

[Q] (Multiple) Device Profiling for Porting Specs

Hello,
Are there any tools or applications available that allow for the quick profiling of android devices in general?
In need of a large solution to quickly identify devices specifications and hardware limitations in order to port appropriate builds.
Thanks for your help!

[Q] Setting up device specific emulators

Our company recently started allowing Android devices in our environment and I'm trying to create a good system for our support staff to be able to assist people over the phone with setup and troubleshooting. While I would ultimately like to have emulators for the devices in our environment that the support team can use, I would be happy to create screenshots through the device setup.
I've downloaded the Android SDKs/emulator and I've installed some device specific AVDs/skins, however I can only seem to emulate the vanilla Android experience. It's my understanding that simple things like e-mail configuration can vary if the device is running Motoblur or Sense. Is it possible to build AVDs that match the stock roms for devices like the Droid X and the MyTouch 4G. If not, is it possible to get good screenshots from devices running 2.1 - 2.3 that aren't rooted?
Thank you in advance for the assistance.

MANET on Android Phones

Hi Guys, i would like to know if someone is interested to work on a MANET running on android phones...
i have actual develop an specific Routing Protocol for Manets and simulated in Opnet and works well, i don't have to much skills on Java Programming or android software development and need help to develop the code for it...
basically the project is to run several android phone that will be able to use adhoc mode to create network and each node to be able repeat the signals to the next near node....
Regards
You may want to post code in C or C++ . No doubt someone would convert it into the proper Java android code. I suspect some of it would need to be wrapped anyway and that it's highly likely to require root access.
Finally
Finally someone working on Mobile Adhoc Network have acomplish a MANET protocol on android Phones, they have implemented an OLSR and BATMAN routing protocol..
http://www.servalproject.org/
Thank you serval for this implementation....

[Q] Android Wear to iOS over Bluetooth LE Fix?

Hello Folks,
I seen a rumor that Android may about to support iOS on its wear platform. Think Moto360 with iPhone.. See This
Since Android shipped about 720,000 device in 2014, compared to 4.6 million wearable devices in 2014 by estimates. See Here
I have been working on developing an application for the Android Wear platform that will allow iOS communication, but there is a well known bug in Android that is preventing connecting to an iOS device. This is despite Android Wear supporting Bluetooth LE GATT profile, and will connect with most other bluetooth devices over Bluetooth LE using the GATT profile. You would think it seems like an iOS issue. When you dive into the communication handshake between the devices when attempting a connection between Android Wear and iOS, you get an error.
This has been reported to Android and since then, not fixes. I understand they have bigger fish to fry than allowing their watches to support iOS, but since their devices are not selling well this may push them into fixing the bug.
See This ... It explains how the bug in android is failing connecting to iOS devices due to their bug..
I did some deep diving and reviewed the code for the BluetoothDevice.java file in the Android Development Studio and found that there is the option to select either Normal Bluetooth or LE via a transport parameter with connecting... BUT... When android implemented their specific code, they OMITTED the transport parameter and it SHOULD connect via LE, but doesn't.
Here is my comment on the above thread (Issue 58896):
Reviewing the android code for BluetoothDevice.java I found that connectGatt() function has a hidden int TRANSPORT variable that will allow you to use AUTO or specific LE or BR/EDR only.
For some reason, this is available in the BluetoothDevice.java file in android studio, but not listed in the android code reference. When you attempt to use this, it gives you an error. If someone can explain how we can fix the compiler on android studio to compile our code using the TRANSPORT_LE option instead of TANSPORT_AUTO which I assume is being used.
I see someone with Broadcom has requested that the transport parameter be added in May 2014 on the android GIT page (https://android.googlesource.com/platform/frameworks/base/+/b88fa82^!/) which is almost 7 months ago. If this is such a seemingly prominent problem and so many fixes since then and this hasn't been fixed??
So this has been reported by Broadcom in May 2014..... and no fix as of yet???
I am curious how MohammadAG bypassed this snafu. Any thoughts?
Here is his proof..
hhttps://www.youtube.com/watch?v=DIIYmVSc9Yw
Hello!
I too am working on such a project and during my studies have successfully connected my android to my iPhone with one extra step: since android can only act as the central and connect to a peripheral, the iPhone has to be put into peripheral mode, for which I used LightBlue (look in the app store). After they connected I was able to discover the GATT service, but I'm new to android and this is a huge project so I'm kinda lost after that. Would you mind sharing your code with me so I can collaborate with you on this? I'd love to release something like this to the XDA community, and if you're closer than I, I'd love to help!
I hope this answer helps you, but I may be completely misunderstanding the question.
Thanks!
Zachal

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