My requirement is to communicate with any of the Garmin device(which has BLE support) with my native android app. I have already developed an android app which can connect with Wahoo Tickers (using their android sdk)and users can directly read data from ticker (no need to install their official app).
So far my research, Garmin have Connect IQ SDK which has a mandatory requirement of installing Garmin Connect™ Mobile app.
Is it possible to connect/pair with the Garmin devices using Android/iOS Core
Bluetooth API (without even using their sdk and app)?
Unfortunately I don't have any Garmin device yet. After this research I will purchase one for real testing.
Any link or answer will be helpful. Thanks.
Related
I want to integrate Samsung Gear device for steps in my application, also jawbone Steps and misfit Steps. I've looked at several things, like the Samsung Gear Site, but found nothing that works for me.
For connection and data transfer between mobile android device and Samsung Gear device , Accessory Protocol is defined. So, the option available here is using Accessory SDK for Android mobile and Tizen wearable.
Tizen provides HumanActivityMonitor for 3rd party developers to retrieve Pedometer step count data.
I have developed a sample app in Tizen platform for reading pedometer step count data in gear and send the data to Consumer Android mobile app while the mobile and wearable is connected through Samsung Gear Manager. Its just a customization over the sample apps available on the sites reffered.
I am sharing the code of the tizen web app along with the installer(.wgt) file. If you are not interested in tizen development right now, you may install the app directly to the Samsung gear using the wgt file.
I am also sharing the code of the android app along with the installer(.apk) file. You may try a sample transmission between the devices and do your code on android platform as necessary. I have tested the apps on my devices and they are working good, though some data inconsistency occurs.
Zip file link:
Android consumer app (apk)
Android consumer app (code)
Tizen provider app (wgt)
Tizen provider app (code)
https://drive.google.com/file/d/0B6KEP_6UcxrATllCWTlmeUh1M28/view?usp=sharing
Human activity monitor API
Human Activity Monitor Guide
Accessory SDK
Please read the Accessory guide and HumanActivityMonitor guide for details implementation, you would find simple explanation there.
I'm looking at developing an app for iOS and Android that requires a server in order to work (this has to do with a group I'm connected with on a college campus). So I have been trying to find out if iOS apps can run off a Linux server before I spend anything on one. However, I have not been able to find this information anywhere. So, does anyone know if an iOS app requires an iOS server or will a Linux server work just fine? Moreover, if I require an iOS server, could an android app work with an iOS server?
I'm not trying to be cheap with this, I'm just trying to keep the group from having to spend more than they have to.
There's no such as an iOS server or Android server. iOS apps run on iOS devices. Android apps run on Android devices. iOS and Android (as well as just about any other client) can connect to any server that provides an interface. It doesn't matter if the server is running Linux, OS X, Windows, or any other OS.
Your server just needs to provide a public interface - typically through some sort of web server.
But the iOS and Android apps will not run on the server. They will make network calls to the server.
tl;dr - yes, an iOS or Android app will have no problem accessing your Linux server.
Well I'm working on this app to send data between android and iOS and I got it to work between iOS devices with Apple's Multipeer Connectivity framework, but I am currently wondering how do you achieve it between both platforms? even if you are willing to write it from scratch.
How come Firechat is able to do it? As I remember, you can exchange data between both platforms with their app.
Edit: https://www.opengarden.com/meshkit.html It seems the MeshKit SDK used in Firechat is now available (for large organisations).
I am very interested in this subject as well and I came across these links
AllJoyn
AllJoyn® is a collaborative open-source software framework that makes
it easy for developers to write applications that can discover nearby
devices, and communicate with each other directly regardless of
brands, categories, transports, and OSes without the need of the cloud
Source: https://github.com/alljoyn/alljoyn.github.com/wiki
OpenPeer SDK
Open Peer is an open P2P signalling protocol
Source: http://openpeer.org/open-peer-sdk-for-ios/
Microsoft's Project Rome
"Project Rome" is a project code name for Microsoft's cross-device
experiences platform using the Microsoft Graph. Source: https://learn.microsoft.com/en-us/windows/uwp/launch-resume/communicate-with-a-remote-app-service
Mutipeer connectivity cannot connect iOS and Android devices. Firechat is using its own implementation.
More information here:
A couple of weeks after its iOS launch, FireChat made its debut on Android. Since Android doesn’t support Apple’s Multipeer Connectivity Framework, developer Open Garden had to build its own mesh networking technology to enable off-the-grid messaging across Android devices.
However, FireChat messaging hasn’t been possible between iOS and Android. That is, until now.
Open Garden has just updated FireChat to allow for off-the-grid messaging even between iOS and Android devices.
While it declines to reveal the exact details of how it managed to make Apple’s multi-peer framework and its Android mesh network connect with each other, Open Garden has told TechCrunch that its cross-platform capability uses peer-to-peer Wi-Fi and Bluetooth personal area networking.
Source: http://appadvice.com/appnn/2014/06/firechat-now-supports-off-the-grid-messaging-between-ios-and-android
Something like text chat can be done over BLE, which is open on both platforms. Sending images would be slow, though, since it doesn't have the throughput of Bluetooth Classic.
You'll want to look into iotivity. https://iotivity.org/ This is the new upcoming inter-device library that the Open Connectivity Foundation is focusing on.
AllJoyn is only being maintained now, and has some significant underlying threading problems that will never be fixed, making call-response type workflows between devices prone to crashing and deadlocking the application code. I don't recommend using it.
So I'm trying to build an app that uses iOS 7 Multipeer Connectivity framework on the iPhone, but I'm now trying to connect the iPhone to an Android device using the same technology. Is this possible?
Is there something like Apple's multipeer connectivity framework for Android, or is there any way of connecting an iPhone to an Android device without using internet or mobile services, but using Wifi and bluetooth only?
Maybe a bit delayed, but technologies have evolved since so there is certainly new info around.
As iOS has yet to open up an API for WiFi Direct and Multipeer Connectivity is iOS only, I believe the best way to approach this is to use BLE, which is supported by both platforms (some better than others).
On iOS a device can act both as a BLE Central and BLE Peripheral at the same time, on Android the situation is more complex as not all devices support the BLE Peripheral state. Also the Android BLE stack is very unstable (to date).
If your use case is feature driven, I would suggest to look at Frameworks and Libraries that can do cross platform p2p for you, without you needing to build it up from scratch.
For example: p2pkit.io or google nearby
Disclaimer: I work for Uepaa, developing p2pkit.io for Android and iOS.
There is currently no way to connect with android over bluetooth, but you can connect with wifi using the Multipeer framework I believe. I know the developer of spaceteam accomplished this with his game. I'm not sure how exactly but it is possible.
Mutipeer connectivity cannot connect iOS and Android devices. Firechat & Spaceteam are using their own implementation.
More information here:
A couple of weeks after its iOS launch, FireChat made its debut on Android. Since Android doesn’t support Apple’s Multipeer Connectivity Framework, developer Open Garden had to build its own mesh networking technology to enable off-the-grid messaging across Android devices. However, FireChat messaging hasn’t been possible between iOS and Android. That is, until now. Open Garden has just updated FireChat to allow for off-the-grid messaging even between iOS and Android devices. While it declines to reveal the exact details of how it managed to make Apple’s multi-peer framework and its Android mesh network connect with each other, Open Garden has told TechCrunch that its cross-platform capability uses peer-to-peer Wi-Fi and Bluetooth personal area networking.
Source: http://appadvice.com/appnn/2014/06/firechat-now-supports-off-the-grid-messaging-between-ios-and-android
Google Nearby can do it. To cross platform, Google Nearby Message Api can do it.
I was thinking of developing an iPhone and android application so that they can share data between each other via bluetooth. Is it possible? If yes how?
Thanks for your help
The Question from user1080731 was - Is it possible to transfer Files Via Bluetooth between Android and iPhone.
And I think that the answer is NO.
The App referred to in the previous responses does not seem to use Bluetooth (the App's description is misleading)
In the demo video for the app - It used Bluetooth when talking between 2 iOS devices, but uses WiFi when talking between Android and iPhone.
in iOS the only possibility is to use the GameKit APIs (primarily meant for peer to peer gaming) to talk to other iOS device using Bluetooth. So you can potentially write an App over this API to do file transfer between iOS devices, (But Gamekit will not work for iOS to Android)
You can use File Transfer Profile of bluetooth for transferring files between bluetooth devices. This is generic for bluetooth not for Operating system(Android, iOS, Windows, etc.).
Coming to your requirement, in both Android and iOS the framework will provide API to use the bluetooth profiles. Just read about bluetooth profiles and OS framework you will get ideas to design your app.
If you are interested, see the Bluetooth Chat App available at Android Developers website, you will get good knowledge about how to use bluetooth in Android. But i don't know about iPhone(iOS) framework. I experienced the bluetooth in Android and at firmware development for embedded products. If you want more in formation about bluetooth profiles see this link
I hope it may help you.