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.
Related
I have an android device running a custom ROM and self-developed apps.
Android version: 8.1 (API level 27)
There is a temperature and humidity sensor built into the android device. Now I want to feed the sensor data into my smart home system using Matter.
I´m not familiar with C++ and other languages apart from Java/Kotlin and Python. So is there any way to send the sensor data to my Amazon Echo Smart Home Hub via the Android software with Matter?
It would also be good if it could work independently of the Smart Home system (Google, Apple, Samsung, etc.).
I have checked out the Matter Github repository. There are some example apps and I tried to apply it to my issue. But I did not get any further at this point.
Any help is much appreciated.
An android app might not be the best path for this, as it cannot stay on and listen to external communications all the time. You can look for solutions to run a local server on the android system and implement a virtual device that way. Also, you can download the matter specification from the CSA website https://csa-iot.org/all-solutions/matter/ and take a look at how to implement matter communications.
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?
I'm trying to develop a C++ application on Windows 10 (using Visual Studio 2017) capable of looking for nearby mobile devices and sending data (images) via Bluetooth. I'm new to Bluetooth applications, but from what I understand, the best solution is to use BLE and make the computer a GATT server.
For this purpose, I'm quite confused about which tool I should use in order to start creating my application, since most of the libraries I have found online are outdated or poorly documented (libblepp, gattlibpp, bluetoe).
I've also found this Windows API but I don't understand if this is what I should use and I don't know how to include it in my project neither.
Has anybody had some experience with this and could provide me some hints concerning the right tool to use, in order to get started with my project?
On the other side, I would like to develop a mobile app using Flutter capable of receiving the image and reading the data sent by the computer. flutter_blue looks like the best option to go with.
Edit: The idea for the application is the following: the computer runs an application that generates various frames. In the meanwhile, it constantly scans for nearby devices and, whenever a user makes a request, it sends the current output image to the device that makes the request.
The Windows API is what you should use if you write a C++ application for Windows. That will be the best supported option. If you happen to find some library that also does BLE it will probably just be a wrapper around the Windows API.
Unfortunately these APIs use the WinRT architecture which is not the easiest to set up but should work fine once you've managed to set up the environment.
In an university project we are working with an MSP430 that sends data to a smartphone via bluetooth. For developing and testing purposes another part of the team build a program which allows to send bluetooth data from an visual studio project. We are not emulating the project but instead are running it on an attached phone. Cause it is always a little annoying to connect with bluetooth and to start and stop sending data, my professor was wondering,
if there is a way to make Android Studio fake that there is a connection and to send the data via Android Studio instead.
Or is there another way, that you would suggest for such testing purposes? I'd be thankful for any answer.
Cheers
Ginbak
I am trying to develop a Windows Desktop app similar to Task Manager which can monitor my PC with Visual Studio Express. Now I want to develop one app for my Android phone with which I can connect to this Windows App from anywhere and see some of the graphs and little info (light weight) on my phone in a secure way.
What tools do I need on my desktop and Android phone to develop the app. How can I develop and connect it? If you can help me it will be great.
Thanks.
Probably the easier way for you to do this is to create a server application which both your apps connect to which will need to be on the internet or on a network where both have access to it. The desktop app would be sending its' information and the phone application would be requesting that information. As for what the server needs to be, that is agnostic, however using REST or Websockets (More ideal but a bit harder to work with) for communication would probably be ideal.
To get started I would suggest looking up a tutorial where you do API requests to a server (On either Android or Windows Store Apps). Then look at building your own server application to distribute your own API.
I hope this helps.