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
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.
Is it possible to connect our android App to xampp? If so, how do we connect it?. My fellow friend told me it is possible by downloading xampp and noc. I have never tried this before though, I am curious about the other way to connect our android App to mysql beside using sqlite.
Any answer I will appreciate ! Thx.
Is it possible to connect our android App to xampp?
Yes, you need third party, which is php.
You may refer to
How to connect Android with PHP, MySQL.
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?
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.