Options for application communication between two android phones
I need to establish communication between two android phones (same application, if it matters).
Is there any possibility for android applications to establish a data stream via bluetooth (so there is no need for internet connection)?
Or (UDP)TCP/IP over internet is currently best solution?
Asked by: Aida943 | Posted: 24-01-2022
Answer 1
Since Android 2.0 it should be possible to use the bluetooth API (see here).
Answered by: Miranda817 | Posted: 25-02-2022Answer 2
In android 1.5, i believe, there's no file transfer via bluetooth. In order to be version agnostic, bump transfers all the data via their servers i believe.
Answered by: Patrick603 | Posted: 25-02-2022Similar questions
How to implement communication between Java client application (Android) and PHP server application?
I have a simple Java client application (Android app). I have to write a PHP server application which receives a request from the Java client application to write some data to a MySQL database or read some data from the MySQL database. It should respond with a status message (Write failed/success) or the data requested respectively.
How would I get the Java client send a request and receive the reply from the PHP p...
java - How to construct communication between server and client for Android Application that uses Database
I need to develop an application that communicates with the server. I am not new to Android, but I have never developed a program that uses server/client communication.
Basically, I am planning to store my databse in the server and this server takes query from the client and then returns the result back. How can I send query from client to server ? How can I take the resulting data bacik in client ?
I do n...
java - Communication between Delphi application and android application using Union
I have created an android application for communicate with another Delphi application . The data that delphi application accepts is union. I send with UDP to it a type that I defined creating a my class. But the data that delphi application receive is incorrectly interpretated. So I want know if exist a method for implement a union type in java.
I already look this
inter process communicat - Communication between an android c native application and an android application
I want to ask if someone know how to make communicate a native c android application and an classic java android application, the native c android application running in background.
Thanks.
android - communication between client and server through socket using two different application
Hi,
I want to create the two different applications one for server side which runs on computer and the other one is client side which runs on android tablet.Both the applications sends and receive data through socket, or if any other communication method is available is also acceptable.
Please help.
Thanks.
Android application with syncadapter using REST client server communication and google oauth
I am planning to develope an android app, that syncs its data with a server over a syncadapter using a REST architecture. The question is, is it possible to use the google account to authenticate the user at the server? If it is possible, how? Do you have any code snippets for me?
-
Chris
java - How would I approach secure communication from Android application to Server
I need encrypted information regarding the application users to be sent over to my server. And also for the server to verify the information sent and send back an encrypted response so the client would know what to do depending on the response. I believe I should be approaching this with JSON and POST PHP but don't know what to do for the security aspects of it.
An example would be. Client buys coins through in-app...
.net - ksoap2 communication switch application from android 2.2 to 2.3.3
I have developed software that uses the ksoap library and communicates with a .NET web service.
all works fine and fast in the android 2.2 version.
Recently, I was forced to move to the 2.3.3 Android version.
i just changed in the project properties to 2.3.3 and compile.
there is some bugs but the one who Worries me the most is that the communication
with the web service is really really sl...
Inter Application Communication in Android
I have an activity in one application that calls the activity of another application. How can be done with intent or any other way. For example in single application, we can do it like:
Intent i = new Intent(this, ActivityTwo.class);
i.putExtra("Value1", "This value is sent by FirstActivity ");
c# - Secure communication between android application and ASP.net api
My Android application is supposed to communicate with a ASP.net web api which is written in C#.Net. The data which is sent from the phone contains data that should not be exposed to the public. So I'm trying to use the https protocol. On my serverside I require all requests to be HTTPS, like this:
RequireRegisteredImei
public class RequireRegi...
android - Newbie Java developer questions - inter class communication with events
Please forgive the very basic nature of this questions - but we all have to start somewhere. I've done some googling but all answers seem to relate to UI Events.
I am creating a very simple android app that will display your location on screen. I have my main class (HelloAndroid at the moment) that extends Activity and I have created a class LcoationUpdateHandler that listens for updates.
HelloAndroid holds...
Android: Communication Activity / Service
I have some questions concerning the communication between an Activity and a Service.
I'd like to write a speedmeter application, where the UI is constantly updated with new data derived from the GPS sensor.
So far, I have an LocationListener running in a service. What is the best practice in Android:
1) Access the service from an Activity, let's say every second and update the UI. Or,
2) Let the servic...
How to implement communication between Java client application (Android) and PHP server application?
I have a simple Java client application (Android app). I have to write a PHP server application which receives a request from the Java client application to write some data to a MySQL database or read some data from the MySQL database. It should respond with a status message (Write failed/success) or the data requested respectively.
How would I get the Java client send a request and receive the reply from the PHP p...
Securing communication from android to a web service
I'm a relative newbie to web and mobile development and especially to security so obvious answers are still appreciated.
I want my android app to be able to log in to a simple web service with a username and password.
What's the best way to send this information securely and keep the user logged in for an entire session?
android - How to establish a two-way communication between Activity and Service in different process?
I'm working on establishing a two-way communication between an Activity and a Service which runs in a different process.
Querying the process from the Activity is no big deal. But I want the process to notify the Activity on events. The idea behind it is this: the service runs independently from the actual app. It queries a webserver periodically. If a new task is found on the webserver the process should notify th...
Communication PC <-> Android Device
I would like to create a program which communicates between PC and an Android mobile connected to USB via tcp/ip. Is this possible? How can I get the IP-address to a connected mobile from PC or the other way around?
events - Android Custom View to Activity communication
I have a custom control/view that observes the direction of a gesture within its bounds. I would like to send a different message back to the Activity hosting the View depending on the direction of the gesture. I'm having a hard time determine what the right way to do this is. I would think I could raise a custom event in the control and then stick a listener on the control in the activity, but I cannot find any informatio...
cordova - Communication between Android Java and Phonegap Javascript?
I believe that it's possible to call Java methods from (PhoneGap) Javascript.
Anyone knows how to do that?? (I know how to do it by changing the source code of PhoneGap, but I'd avoid that)
android - Communication between Activities: Intent or Service: what is faster?
Is there a significant difference in time needed for sending data over a service or by using an intent?
Are there general advices when to use service and when to use intents?
android - Communication between TabActivity and the embedded activity
I am trying to figure out the best practice of communication between a TabActivity and the child activity embedded in this TabActivity.
In my TabActivity, there is a button. When the button is clicked, I want the child activity embedded in this TabActivity to be updated. I wrote the code like below, and just wonder whether it is a good practice. Thanks.
MyTabActivity.java
public class MyTabA...
Still can't find your answer? Check out these communities...
Android Google Support | Android Community | Android Community (Facebook) | Dev.io Android