-2

I want to check some case https request with the weak network and timeout case. Any tools help my device in this condition ?.

Thái Ngô
  • 321
  • 2
  • 13

3 Answers3

2

You can use Stetho.

Stetho is a debug bridge for Android applications created by Facebook.

It integrates with the Chrome desktop browser’s Developer Tools.

With Stetho, you can easily inspect your application — most notably, its network traffic.

It also allows you to easily inspect and edit SQLite databases and the shared preferences in your app.

Martijn Pieters
  • 1,048,767
  • 296
  • 4,058
  • 3,343
Amit Shekhar
  • 3,135
  • 2
  • 16
  • 17
0

I think, you should try Stetho.

UPDATE

If you want to influence the network speed, then see the correct answer at this question.

Community
  • 1
  • 1
Gex
  • 2,092
  • 19
  • 26
  • In this case, this question can be useful for you: http://stackoverflow.com/questions/6236340/how-to-limit-speed-of-internet-connection-on-android-emulator – Gex Nov 02 '16 at 10:45
  • Thanks, @Gex it useful for me :) – Thái Ngô Nov 02 '16 at 16:37
  • Your welcome @TháiNgô . I updated my original answer, if this was what you were searching for, please feel free to mark as a correct answer. – Gex Nov 02 '16 at 17:17
0

I think AppSpector will helpful for you. It's a new tool to inspect the app remotely. It contains tools for watching HTTP requests and responses, tools for watching SQLite database and executing some SQL request during development.