Unfortunately I haven't found a solution.

The delay looks to only affect initializing connections (if you have a 10sec
delay on the emulator, you'll see it take 10 seconds to connect the socket).

We built a workaround in-app that delayed outgoing/incoming packets by a
constant amount.  I haven't seen a way to do it with the emulator by default
however...

- Dan

On Tue, Oct 20, 2009 at 1:27 PM, kllrnohj <[email protected]> wrote:

>
> An app I'm developing opens a TCP socket connection to a server. That
> works great, no problems. What I want to do is simulate network delay
> and slow speeds, but the changes don't do anything. I telnet in to the
> emulator console just fine and can set the delay and speed changes,
> but they don't affect my app in any way. Even disabling data entirely
> (gsm data off) doesn't do anything. However, all of the settings
> affect the browser, just not my app. I'm just using a regular Java
> socket (java.net.Socket).
>
> What am I missing?
>
> >
>

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

Reply via email to