I am not sure about how you would get the Wifi details, but you can use
regular TCPIP socket communication to talk to the HOST, assuming you know
the IP address of the HOST.

You can use the Socket class and use the InputStreamReader and
OutputStreamReader classes to read and write from that socket.

// Sample logic.. very bare bones
{
    Socket socket = new Socket(host, port);

    BufferedReader sockInput = new BufferedReader(new InputStreamReader(
socket.getInputStream()));
    PrintWriter sockOutput = new PrintWriter(socket.getOutputStream(), true
);

    sockOutput.println("some text");  // Send a String  to the HOST
    String input = sockInput.readLine();  // receive a String from the HOST
}

You can send the details of the Wifi tag to the server, and potentially
receive tags to identify audio files that is available in the Android
device itself, which the app can then play to provide the audio aid.

:-)

On Fri, Jun 22, 2012 at 3:40 PM, Shaik Shabana <[email protected]>wrote:

> Hi,
>
> I am working on a project to guide blind students. I am using WiFi Tags
> and android mobile. WiFi tags are placed on the wall and android is carried
> by blind student. The student's time table, shortest path algorithm to
> reach specific lecture hall is loaded onto HOST.
>
> Whenever android mobiles comes in vicinity of any Wifi tag, it receives
> the beacons from WiFi Tag. In order to achieve this, android has to scan
> all the wifi devices every 3 sec(say).So, the android has to forward the
> WiFi tag id (mac address), android mac id, Received Signal Strength to the
> HOST. So, how should I do this? What are the different applications to be
> loaded onto the android mobile? How should the scanning be done?
>
> Once HOST receives the data from android, it will determine the shortest
> path in accordance to algorithm and has to send back instruction (say
> direction - Go Left) to android. So, how can we do this? Since the student
> is visually impaired, the incoming msg should be audio.
>
> Please let me know how to achieve this? I am new to android.
>
> Thanks Shabana
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
*
*
*- "If you think you will win, or if you think you will lose, either way
you are right"*
*
*

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to