Can someone please help me find some proper tutorials or a sample code for sending and receiving data from a Windows C++ application via Bluetooth? I need this Windows application to communicate with an Android app. Thanks.
You can start with Windows Bluetooth API.
Related
I am newbie to this forum, I have allen Bradley/Rockwell make PLCs which are communicating to SCADA systems in WiFi. I want to develop a android application which can read some of the PLC data.
The Rockwell PLC has RSlinix software which is a inbuilt OPC software.
I am able to read PLC tags in Excel via OPC connector.
If someone can help with Sample source code or sample codes please
See this Python project. It works on Android
https://github.com/dmroeder/pylogix
I would like to know if there is any way to make a GPRS / GSM module (SIM800L) as a "default" connection in android things that allows browsing the internet and making requests using the Android libraries.
Seems no, because as in this answer of Blundell described: the source code is not available for Developer Preview. But You can use UART and AT commands.
This is possible. I have been able to integrate SIM800L TO RPI3 running Android Things via UART and AT commands. I am however using it for sending SMS and not for Internet connectivity. I do not see an issue in achieving that as well.
Hope this answers your question.
I wrote the android application for bluetoothchat program and it worked perfectly between two individual android devices.
However, the problem is that I don't know how to build up some specific program for allowing the connection between Linux(Ubuntu 14.04) and android.
The application for android is basically using the sample code Google provides, which uses the UUID, bluetooth socket, insecure serial communication.
Here, what am I going to do with making these connection possible?
I googled some possible answers, for example using PyBlueZ, but does it really work for my problem? I mean, the language for android is basically on Java and PyBlueZ is literally on Python, so is there any conflict?
What could be the best and simplest answer for my problem?
I'd like to let my android app interact with another on the pc side, through wifi or ethernet.
I already made my android device connected to the local network through wifi or ethernet.
But I dont know how to let those app detect each other and do communications.
I've read the training tutorial on developer.android.com but all there are depends on API16. But I'm using a 2.3.3 API10.
Can anyone show me how to do this and where I can find the related tutorial. Thx
If you are willing to consider developing in C#, i.e. xamarin.android, you could look at using a compatible network library to save some time. If so checkout NetworkComms.Net.
Disclaimer: I'm a developer for this library.
I want to create the android application in which i send the data from the android device to desktop application using wifi devices. I am not confirmed but i think that it can be possible with the socket programming. so please help me to give guidence for how to send data from android device to desktop using WIFI.
I think it's possible to use standard java socket in android (using javax.net.SocketFactory).
I'm not very experimented with java socket, but there is some documentation about that when searching it in google.
here are some examples of socket programming in android, hope they help.
UDP: http://www.anddev.org/viewtopic.php?t=280
TCP: http://www.anddev.org/general-f3/socket-programming-t325.html#wrap