Forwarding ranges of ports to the Android emulator

by Luca Carlon » Sat, 17 Jul 2010 17:22:16 GMT


Sponsored Links
 Hi! I'm working on a C++ library which uses TCP to estabilish
communications with the LAN. I've been able to use it without problems
on a real device with Android, but I'm not able to use it on the
emulator. I suppose it is because the emulator doesn't have access to
my LAN.

I read the documentation, and, as far as I can understand, it is
necessary to forwards ports for incoming connections with the redir
command. Unfortunately my library uses many different ports randomly,
jumping from one to the other as threads are spawned. So, would it be
possible to forward entire ranges of ports instead of single ports?

Thanks for any advice!

--



Forwarding ranges of ports to the Android emulator

by FaTZ » Wed, 21 Jul 2010 07:41:21 GMT


 It's amazing that this is a problem for alot of people out there but
there doesn't seem to be a resolution.

I am experiencing the same trying to write a simple FTP app, as part
of a larger app.

I can connect to an FTP server and perform cwd etc but as soon as I do
anything that requires an inbound connection to transfer data (list)
then it fails and i get an unexpted disconnect from the server.  very
annoying!

Have you managed to work this one out yet?

Can anyone out there help!?

Cheers

Chris




--


Sponsored Links


Forwarding ranges of ports to the Android emulator

by Luca Carlon » Fri, 06 Aug 2010 20:50:55 GMT


 Unfortunately no. No news. I'm still not able to work with
applications which uses extensively the network with the emulator. I
think this is really a limitation.





--



Other Threads

1. bluetooth test case is failing in android

Hi all,
    iam new to android and I have assigned a work to solve issues on
CTS.
Currently iam working on android GB and I have a doubt regarding
bluetooth testing with CTS.

1. Can we test bluetooth feature with CTS ith single phone ? (I have
only one phone with me)
2. If yes then in my case "testBluetoothFeature" is failing for me
saying that "PackageManager#hasSystemFeature should return true for
android.hardware.bluetooth"
when I debugged that code I came to know that "hasSystemFeature"
function is returing false.
If this feature can be tested with one phone then where do we set
these system features in the code.

Please help me out in solving this issue.

-- 

2. Question about Opengl ES2.0 in 2.3 SDK

Hi, I'm developing some application using Opengl ES2.0, especially
shader language.

Before 2.3 released, only RGB format is available to input to Opengl
ES.

So it is definitely needed for converting preview (YV12) to RGB before
main function.

However fortunately from 2.3 SDK, there is new features as below:

Adds support for YV12 pixel format

But I don't know how to use new feature. there is no reference.

I need some guide code or let me know hot to use it.

-- 

3. sipdroid video call over asterisk

4. Emulating native EGL via Java/JNI access?

5. how to auto answer call programmatically

6. back button with activity

7. Android Operating System memory consumption 2.1, 2.2