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. TableLayout is not appearing in the screen?

Hi,

   I have a TableLayout in a scrollView, which is ocuupying entire
screen.

   I have multiple rows, each having two textviews. Each row occupying
parent width and height as wrapping.

    But when i trying to display it TableLayout is not appearing on
the screen.

   While i trying to use heirarchyViewer tool my TableLayout is
showing 'zero' as height.

  Any help would be appreciated highly.

-- 

2. Google should clearly express their marketing strategy regarding Android Market

JP,

thanks for some nice idioms (right of the bat was really new for me as I'm
not native speaker ;-)).

There is on thing that I don't understand and it is: why Google clearly does
not say "We created Android as one big billboard site". It is also strategy
(I don't like it, but my opinion is not important).  People that like ads
(both users and developers) would know what are the rules and can live with
it. I (and maybe some others) will go to different OS and there is no
problem. I like AdSense on web pages but I can't bide it in mobile apps as
many of them have ads without context and on place where it is annoying.
Also profit from mobile ads is really poor.

But current situation when only official expression is *We're working hard
to add more countries, so please stay tuned! *at the page (
http://market.android.com/support/bin/answer.py?hl=en&answer=143779) is
definitely not credible for me.

I'm losing hope that there is a chance to get at least initial investment to
developer phone and android market fee back and I feel scammed.

Tom






> 

3. About framebuffer in enclair based phone

4. Reading and Writing PNG Metadata

5. File Browsing or Customisation Activities

6. Galaxy Spica VS HTC Legend

7. Service unable to call Java Class Methods