[android-developers] Plz help. android emulator on eclipse

2010-07-19 Thread xuxu
Hi all,
I'm newbie with android and eclipse and I got this strange
thing...when ever I'm running little program that I write on the
emulator I'm getting: Hello android, program_name
for example: I'm writing a little program could udp_client and I'm
getting: Hello android, udp_client
can someone tell me if this is the way it should be?
thanks

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


[android-developers] Re: Udp +Tcp connection in Android

2010-07-17 Thread xuxu
Carlos Silva thanks for your answer.
I sorry wasn't clearly enough. I want to open udp connection on
android with a remote (pc) java server and after getting some packet
to switch to tcp connection (open tcp connection between them) I have
down it with pc java client and i wand to do it with android client.
All the tutorial that I've found on the internet is for tcp connection
only or udp only but never found some mixed between them and I not
yet know android to know if it even possible...

thanks.


On Jul 16, 6:52 pm, Carlos Silva r3...@r3pek.org wrote:
 On Fri, Jul 16, 2010 at 16:46, xuxu shlomitmay...@gmail.com wrote:
  Hi,
  I'm newbie with android.
  I wanted to ask if there is a possibility to create udp connection and
  then change to tcp connection while the emulator is client and the
  server's code is java.

  all I found at the web is or tcp connection or udp but never a mixed
  between them.  someone tried it before?

 That's not possible. Not in Java, nor in Android, not even in any OS.

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


[android-developers] Udp +Tcp connection in Android

2010-07-16 Thread xuxu
Hi,
I'm newbie with android.
I wanted to ask if there is a possibility to create udp connection and
then change to tcp connection while the emulator is client and the
server's code is java.

all I found at the web is or tcp connection or udp but never a mixed
between them.  someone tried it before?

thanks

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


[android-developers] android client, pc server (JAVA) can't open TCP connection

2010-06-23 Thread xuxu
HI all,
I'm trying to open tcp connection between android (emulator) and PC.
I'm trying to create a new socket and then it crash.
the line where it crash:
Socket s = new Socket(10.0.2.2, 27015);   // trying to open a socket
Can some one please please help me.
thanks

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