Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Send string/int from phone to pc

Send string/int from phone to pc

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

Send string/int from phone to pc

Postby Sapientum » Tue Nov 24, 2009 4:27 pm

Hey guys,

I'm pretty new at Android and communication development, so forgive me if I ask anything stupid/noobish ;)

I need an application that can send messages(being int, string, perhaps xml) from the phone to my pc.
I've been looking at the server/client example from:
Anddev.org - Socket programming

Can anyone think of a better way of doing it?


If not, I've come to the point where the code executes without error messages, but I don't seem to receive anything in the Android emulator... The app opens on the emulator, but then nothing else happens.

I'm not quite sure whether the problem is port- or execution-based.
I'm compiling/running all the code directly from Eclipse, but is that the proper method for testing it? I'm not sure if some of the code(the server?) should be run differently, and only the client be run from Eclipse?

Or is the problem most likely port-based? That the port isn't forwarded?

Thanks in advance for any help that you can provide :)
Sapientum
Junior Developer
Junior Developer
 
Posts: 11
Joined: Tue Nov 24, 2009 3:56 pm

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: Exabot [Bot] and 4 guests