Need help.. Client Server..

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

Need help.. Client Server..

Postby b3n_hysteria » Tue May 19, 2009 3:01 am

can i send some file from my server, to my client (android)??
and how??

regards.
b3n_hysteria
Junior Developer
Junior Developer
 
Posts: 11
Joined: Thu May 07, 2009 1:38 pm

Top

Postby Couillette » Fri May 22, 2009 12:26 pm

Hello

Have you already a socket server ?


If this is the case, for a binary file, you can open the file with a FileInputStream on the server, then send it with a socket with a BufferedOutpuStream to the client.

The client will receive the data with a BufferedInputStream.

You just have to go to the api specification to see how those classes work.

If you don't have a server, search on this forum, there is plenty of examples and tutorials.

Bye.
Couillette
Freshman
Freshman
 
Posts: 6
Joined: Fri May 22, 2009 11:57 am
Location: France

Postby b3n_hysteria » Sun May 24, 2009 3:23 pm

hai.. that's problem has been fix.. thank's a lot..

but.. now i got problem with html parser..

i must read the data from html file.. but the problem is, the data is in table.. and the table is in table again..

and in the file, so many table.. so i can't get specific data.. can you help me??

regards
b3n_hysteria
Junior Developer
Junior Developer
 
Posts: 11
Joined: Thu May 07, 2009 1:38 pm

running client and server

Postby pushpa » Tue Jun 09, 2009 11:24 am

Hi,

Can you please help me with the following:

I have a TCPclient class, a TCPserver class and SocketTest.java. I want to establish communication between two emulators each in different computer.How to proceed with this.How to run them.Please help.Please see the attachment.i have attached all the above mentioned three files.Please can you reply me as soon as possible.Please

Thanks and Regards,
Pushpa
Attachments
SocketTest.doc
(24 KiB) Downloaded 97 times
TCPServer.doc
(25.5 KiB) Downloaded 83 times
TCPClient.doc
(21.5 KiB) Downloaded 79 times
pushpa
Freshman
Freshman
 
Posts: 9
Joined: Tue Jun 09, 2009 10:37 am

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 4 guests