Simulate low bandwidth in android

前端 未结 11 1281
天涯浪人
天涯浪人 2020-12-13 13:20

does anyone know a possibility to simulate a low bandwidth on android phones (i.e. EDGEor G3) while connected to WIFI?

Is there a app for this?

It it po

相关标签:
11条回答
  • 2020-12-13 13:51

    you can limit bandwidth in Android emulator.

    eg:

    emulator -netspeed gsm
    

    Speeds for reference in increasing kbps:

                                UP       DOWN
                          -------- ----------
        gsm   GSM/CSD         14.4       14.4
        hscsd HSCSD           14.4       57.6
        gprs  GPRS            28.8       57.6
        umts  UMTS/3G        384.0      384.0
        edge  EDGE/EGPRS     473.6      473.6
        hsdpa HSDPA         5760.0   13,980.0
        lte   LTE         58,000.0  173,000.0
        evdo  EVDO        75,000.0  280,000.0
        full  No limit           ∞          ∞
    

    more:

    https://developer.android.com/studio/run/emulator-console

    0 讨论(0)
  • 2020-12-13 13:52

    You can also just change the preferred network type to 2G.

    Its not as fine-grained as throttling your bandwidth via the PC but its a lot simpler to implement.

    On Android 5 Lollipop go to:

    1. Settings
    2. More
    3. Cellular Networks
    4. Preferred network type

    You'll notice the change to a slower GPRS network as an E icon on the top status bar of the screen.

    0 讨论(0)
  • 2020-12-13 13:53

    If you have rooted phone, you can use tc utility to limit bandwidth on wlan0 interface. I've written a little script that does that and described how to use it on my blog. I've tested it with CyanogenMod 10.3 and I'm really curious if it works on other rooted phones.

    0 讨论(0)
  • 2020-12-13 13:54

    If you have an iPhone with developer mode on, you can use the network conditioner under developer settings. Setup a wi-fi hotspot and connect your android device to the hotspot. Now you can simulate the different network speeds via link conditioner.

    0 讨论(0)
  • 2020-12-13 13:56

    I know this is an old channel, but I was recently required to do this, most of the solutions listed seemed "quite complex" for a humble app developer like me, so I figured out a simple 3-step approach to do this.

    1. Root your phone, there are a lot of websites devoted to this kind of nonsense.

    2. Download BradyBound app. Rate this guy a 5 star for such an amazing job.

    3. While connected to the desired WiFi network, throttle your connection away!

    0 讨论(0)
  • 2020-12-13 13:56
    • traffic shaper on your wireless router?
    • http://code.google.com/p/netsentry/updates/list (issue 32)
    • How to use iptables in an Android application
    • physically cover the wireless antenna on your device in order to simulate increased attenuation? :-)
    • maybe proxy type software as suggested previously
    0 讨论(0)
提交回复
热议问题