Home
Name Modified Size InfoDownloads / Week
README.txt 2014-01-08 3.9 kB
WifiMessagesAndroid7.zip 2014-01-08 238.1 kB
WifiMessagesAndroid6.zip 2014-01-06 237.0 kB
WifiMessagesAndroid5.zip 2014-01-06 221.3 kB
WifiMessagesAndroid4.zip 2014-01-05 531.2 kB
WifiMessagesAndroid3.zip 2014-01-05 530.5 kB
WifiMessagesAndroid2.zip 2014-01-04 336.9 kB
WifiMessagesAndroid1.zip 2014-01-03 319.8 kB
Totals: 8 Items   2.4 MB 0
WI-FI MESSAGES FOR ANDROID

The aim of this project is to allow Android devices to communicate directly between them without access to a carrier.

The application may be used either as a server or as a client.
In versions 1 and 2, the server and the client are separate applications.
In the first release, each device is configured either as a server or as a client. 
In future releases, a device might be alternatively server and client. Servers can communicate only with clients and reciproquely.

The project has been built with the AIDE Android application and has been tested with a Samsung GT-S5570 phone with FroYo configured as a server and a Polaroid MID0714 tablet with Jelly Bean configured as a client.

ON A SERVER DEVICE :

A server must be configured as Wi-Fi mobile hotspot : 
On FroYo : Settings / Wireless and networks / Tethering and portable hotspots / Mobile AP settings / Configure mobile AP, choose a network SSID, security Open.
On Jelly Bean : Settings / WIRELESS & NETWORKS / More... / Portable hotspot / Set up Wi-Fi hotspot, choose a network SSID, Security open, then check Portable Wi-Fi hotspot.

Versions 1 and 2 :Install the WifiServer application (WifiServer.apk) and start it.
Versions 3 and later : Install the WifiMessages application (WifiMessages.apk)
Configure the parameters. Select the parameter to view or modify. If you modify it, click Set to save the modification.
The port number must be the same on the server and on the client.
Choose a user id.
If you want, you can indicate a list of group names to which you want to subscribe, separated by ",", and modify the default number of messages kept and sent.
You may indicate the addresses of one or several internet servers separated by ",". In this case, InetMessagesServer*.class must be copied and run (java InetMessagesServer) on the servers.
Then click Start (WifiServer) or Server (WifiMessages).


ON A CLIENT DEVICE :

A client must be configured to be able to connect to Wi-Fi hotspots : 
On FroYo : Settings / Wireless and networks / Wi-Fi settings, check Wi-Fi
On Jelly Bean : Settings / WIRELESS & NETWORKS / turn Wi-Fi on.

Versions 1 and 2 : Install the WifiClient application (WifiClient.apk) and start it.
Version 3 and later : Install the WifiMessages application (WifiMessages.apk) and start it.
Configure the parameters. Select the parameter to view or modify. If you modify it, click Set to save the modification.
Indicate the SSID prefix of your network. The SSID configured on the servers must begin with this prefix.
You may indicate the addresses of one or several internet servers separated by ",". In this case, InetMessagesServer*.class must be copied and run (java InetMessagesServer) on the servers.
If the servers uses a WPA PSK password, it must be indicated in the configuration of the clients.
Then click Start (WifiClient) or Client (WifiMessages).


ON BOTH SERVERS AND CLIENTS :

To send a message :
In the "To:" field, indicate a list of recipients separated by ",". A recipient may be a user id or a group name.
In the field below type the text of your message.
Then click Send.


POSSIBLE FURTHER IMPROVEMENTS

- Save and load configuration : done in version 2
- Save and load messages : done in version 2
- Send files
- Web version of the server
- API for sending and receiving messages


CHANGE LOG

Version 2
Save and load configuration and messages
Correction of bugs : 
- messages order
- special characters in messages

Version 3
To avoid code duplication, the WifiServer and WifiClient application have been merged into one application WifiMessages.

Version 4
Status line
(Only WifiMessage is updated) 

Version 5
Modification of the exchange protocol
Code factorisation

Version 6
Internet server

Version 7
WPA PSK password
Minor modifications







Source: README.txt, updated 2014-01-08