Discover mobile devices in proximity to exchange information - android

I've been looking for a solution that will allow me to see when two devices are in close proximity to initiate exchange of information. As simple as it sounds, I'm still not able to find a solution that I can implement to the app I am working on, since everything related to time and location is covered by patents and my client is really big on not messing with that.
Initially I was working with Bump's API, which worked ok but after they got acquired by Google their API is going away so there's no point on using it anymore.
I've seen other companies like Airlike, ProxToMe, Shoutr, Hoccer ans Xsync that have viable solutions but unfortunately they don't have APIs that I could use.
Do you know of a cross-platform API or another solution that could help me see the devices?
Thank you very much everyone. I am running out of time and my resources are limited but I'm hoping someone hear can point me in the right direction.

Brainiac. I'm working at shoutr labs and we do have a proximity finder for Android. But no API, yet. We are currently working on a bluetooth solution to discover nearby devices in close proximity without Internet. Let me know if this could help you... –

Related

Android Detect Nearby Device (Covid-19 app)

The covid-19 app is capable of detecting who came into contact with who, how do they do it? I am trying to make something similar but I am unsure how they managed to get that information from the phones. I don't need the information to be private (like phone number), it could be something that only the government can make use of (like sim card number or MAC address. Is that possible?
I looked into Google Nearby and Wifi Direct... But as far as I understand it, it requires a handshake (covid19 app doesn't). I also looked into potentially making your phone into a hotspot and capturing wifi requests but I am not sure which library / API lets me do that.
Does anyone have know how this is done? I can't find a concrete answer anywhere, this seems to be actually impossible until I realized that the covid-19 app is doing it.
As Morrison Chang and ArtHare have commented already, Google and Apple have implemented this on an OS level:
In the coming months, Apple and Google will work to enable a broader Bluetooth-based contact tracing platform by building this functionality into the underlying platforms. (source)
If you want the specs they're using, Apple and Google have pages on how contact tracing is implemented, but it would be hard (if not impossible) for an app to implement this.

Is there a common communication protocol between smartwatches and Android phones?

I am very unhappy with my Fossil Q hybrid watch (no screen, tracks activity & sleep and button functions) but honestly it looks good. The app keeps crashing though. I would like to make my own Android app to extract all kinds of data (for future analysis). Before investing a lot of time, I tried to do some research on how to access the watch. It operates obviously on BLE. But all the documentation is either about Wear OS or actual smartwatches with more advanced functionality. Search engines fail to distinguish between what I am looking for and most popular results.
I was wondering, if there are any known communication protocols between apps and smartwatches, where I can start experimenting?
BTW, HCI snoop log reports all traffic but it doesn't look like anything to me. But I can also try to hack it (if it is not encrypted...).
I remember that I have found once a info on dev site regarding the heart rate tracking but I cant find it.
Anyway I have found one thing that might help you:
https://developers.google.com/fit/android/ble-sensors
Unfortunately this is "fit" reference site, which data might be obsolete,
afaik the regular updates might come to API reference:
https://developers.google.com/android/reference/com/google/android/gms/fitness/SensorsApi
You can start by reading code and documentation of the GadgetBridge project: https://codeberg.org/Freeyourgadget/Gadgetbridge/
They support some of the "Q Hybrid" watches to some extent

Android 5.0 Bluetooth A2DP Sink

I have a very specific answer for which I am looking. I hope that there is someone out there that is smart enough as to point me in the correct direction.
Background: I have an Android phone (LG Power on 5.0 rooted) as well as a Nexus 10 running 6.0. In my house I have set up a very nice PA system to which I would love to stream audio. I am fully capable of plugging in a 3.5mm cord to listen to audio or to stream audio over WiFi.
However, I am a stubborn person and have always fancied the idea of streaming audio from one device to another via bluetooth. After all, Android is Linux.
After searching on the Internet, quite extensively, there seem to be MANY people who would love to find a solution. There are answers ranging from:
'This cannot be done',
'Why would you ever want to do that?'
to
'Here are all the things to may need. Build away. Oh and by the way, there may be more that you need'
I do not find these answers satisfactory and would like to put out there a request to all of higher intelligence than myself to find an easy (not requiring building a custom ROM, modifying the kernel, making my own application etc) way to achieve this goal.
Here is one source that seems to be very close to the answer:
Android device as a receiver for A2DP profile
If any more info is needed, PLEASE ASK!
Thanks in advance for all of the hard work and effort that is put forth on this site. I am truly thankful for all of the people willing to set aside time to help myself, an invalid when it comes to the intricacies of Android.

Can I send data from Android to iPhone

I know that this question has been asked before many times but not recently and the API have changed so Google might have fixed some bugs. I was thinking it might be possible with two ways.
1st: Using Bluetooth Low Energy API of Android and then use android as central mode to scan for Bluetooth devices(iPhone). That is similar to what here edoardotognoni asked, which it is seems after some seconds iPhone is rejecting him. I am still currently reading about this post and the raised issue he made but I mentioned it in case someone knows something has changed.
2nd: Using and WiFi-Direct. About this method I have not found anything but If it is possible for two Droids to connect why can't it be possible for a Droid and an iPhone to connect. I have read about that matter this answer.
I also found this example on GitHub iPhone part, Android part.
Unfortunately I am not very good with xcode so I don't know exactly what is written in the iPhone part.
edit: Actually after searching I already found that it is possible with BLE but not with WiFi-Direct since iPhone does not support it. Of course being able to do it does not mean it is easy. Despite that though I have not yet found concrete proof because all I have seen is theories, an xcode that I don't understand and an Android code which seems to work when I checked it, but I have not run it.
Any help will be much appreciated, sorry for the long post!

Pairing Android Wearable with Google Glass

I'd like to ask if someone knows if it's possible to pair a android wearable device (like a smartwatch) directly with google glass to get sensor informations like heart rate. Or is this just possible with a smartwatch being coupled with both devices? I didn't found any informative resources on this question...
Thanks for all answers!
Absolutely. Especially if your smartwatch will be Android, this can be done fairly easily.
Glass can connect to anything over Bluetooth!
This answer contains a full set of code that outlines exactly what you want.

Categories

Resources