Results 1 to 3 of 3
-
06-21-2012, 08:39 PM #1Member
- Join Date
- Aug 2011
- Posts
- 1
Best way to send messages to java server
I am quite new to handset development. I have setup a java application on a server, connecting to a mysql database.
This java application reads and writes messages to the database.
I now need to develop an android app to connect to this java server and get/send messages to it.
I was thinking of using a socket connection but was wondering if there is a better way, considering I want to minimize battery drain, data usage, etc.
Any suggestions please?
Cheers
-
10-18-2012, 01:13 AM #2Member
- Join Date
- Oct 2012
- Posts
- 8
By using Java Mail simple
-
11-14-2012, 04:08 PM #3Member
- Join Date
- Nov 2012
- Posts
- 4
If you are want to use binary protocol, you can use, for example, apache mina + google protobuf on server side, and protobuf on android side. Or you can use json/xml/any other text protocol


Reply With Quote
