Connecting my android app with Concept 2 PM5 device? - android

I wanted to connect my android app with the Concept 2 PM5 device using a BLE connection.
Is there any SDK or Gradle provided for the same?
I have checked the below-listed API's but don't have any idea how to use them.
https://log.concept2.com/developers/documentation/
Does anyone have any idea?

Related

Android App code for BLE UART communication

I am working with a peripheral device that communicates with an app via BLE UART.
To test and modify the peripheral’s firmware, I want to find a starter Android app that can communicate with the peripheral. I want to be able to modify the app along the way as I modify the peripheral firmware.
I got the Nordic nRF Toolbox app working in Android Studio and running on my tablet. However, when I look through this project it is far too difficult for me to understand right now. I have worked through several tutorials that offer a far simpler solution, however not a single one of them has ever fully compiled correctly at the end – I assume they are all out of date. So it has been a difficult journey so far.
I need the app to be able to scan for devices, and allow the user to connect to one – and then be able to communicate with the BLE peripheral via UART.
Can anyone point me to (a) a starter app with code on GitHub or similar, that they have tried recently, or (b) a tutorial / walk-through, that they have successfully completed recently?
Thanks in advance for any suggestions
Garrett

iothub-service-client support for android app

I have made a simple program on Raspberry Pi 3 with Python using Direct method on iothub and able to on/off LED using device explorer and getting response.
Now I want to make an Android app where I can on/off devices and get back a response, but I found out that there is still no support for iothub service client on Android,
Now I want recommendation for a better approach how to access Raspberry Pi with my Android app.
Have you considered using Xamarin? Our .NET SDK has support for Xamarin. Android support is currently in development, please check back for release update.

Unity3d WIfi direct (P2P) android support

I am trying to figure out how to make game which will work only locally using Wifi Direct without any internet access.
The concept is very simple. It will be some kind of presentation so I need to have one master/host device and other connected devices will be slaves/clients. When I press button on master/host than should be changed only one value (string or int) in all slaves/clients devices.
With support of 20-40 connected devices in same time.
I have Tried:
UNet - it works only if it is connected to some router with use of local IP's but it does not support Wifi direct communication.
I have tried to find some plugins but I cannot decide which to choose or get information about support of Wifi direct.
I tried to find some other solution like Bluetooth but it supports only 4-13 connected devices at same time but I need to he connected around 20-40 devices in same time.
List of plugins I have found:
Forge Networking - https://www.assetstore.unity3d.com/en/#!/content/38344
1.1 I do not know if this supports a feature i required.
WifiDirect Plugin - https://www.assetstore.unity3d.com/en/#!/content/50112
2.1. This plugins have errors and have no support.
What I would like to ask about:
Does 1. plugin support Wifi direct?
Do you think That I should buy 2. plugin and try to fix it and hopefully I can find a problem and it will work?
Do you know some better or "any" solution how to solve this problem?
I am interested in any tips and help how to make it work.
Thank you very much for your help!
Jakub Kučera
After research I have realised a working solution!
Unity Asset Store: https://www.assetstore.unity3d.com/kr/#!/content/53955
Video of usage: Video
Plugin I have tested on a few Android devices and it works for Wifi Direct with no connection to internet.
This plugin supports much more than that for example:
TCP
Client / Server
Complete C# 2.0 native
Stand alone library (DLL)
Multi-Thread
Event Driven
Support [Binary/Json] message data
Log Server & MySQL Sample Code
New Feature
Unreliable UDP
MNF Server based WinFrom without MySql
I hope it helps somebody else!
And I would like to say thanks to author and his support!

Android connecting two devices for bidirectional communication same as like Xender app

I want to understand how xender app works programmatically ?
I want to implement same feature in my app to transfer files and messages without internet connection.
Is their any library which can help me ?
Android 2.3 must be supported to my app.
I research many stack Overflow questions but not helpful.
WiFi p2p, WiFi direct and NsdManager all having limitations to support lower android versions, it not give support to below android 4.0 version.
wifi p2p is what xender uses. But that feature sadly needs android api level 14 or greater. If you want to share files offline anyway on lower api, the only way is to connect the 2 devices on the same local n/w using wifi hotspot or something, once connected you can start the apps and everything should work just like xender.

Is it possible to screencast from android tablet to smartboard or another android tablet

I want to develop an application which live-screencast from android tablet to smartboard or another android tablet.
Connection type between two devices should be wireless internet connection without using usb and bluetooth. I use android studio.
Is it possible to implement it? Could you suggest me some ways or libraries to do it?
I hope I make myself clear.
Any help is apreciated.
Thanks in advance.
EDIT
Our devices support v4.
In addition to the information above, I need an rdp library or api to do it.
Android v5.0 lollipop is the first to provide some API for this. See the following links:
Media projection API overview
The screen grabber function

Categories

Resources