I decided to spend a few hours on Stetho.Stetho is a sophisticated debug bridge for Android applications.How to enable itIt's very simple to enable Stetho.Just add these lines to your build.gradle :{ //Stetho core ' com.facebook.stetho:stetho:1.1.1 '//if you want to add a network helper ' com.facebook.stetho:stetho-okhttp:1.1.1 '} Then on your application you can enable the tool just adding:Stetho.Initialize(
Android network debugging has always been a troublesome part, because in different sequences of requests, the returned data will vary, if you can use the debugging function like Web development to view the page access data what a wonderful thing!Fortunately, now Android development can also listen to network access in real time, to see your sending data information, but also to see the return data information. Click on each request to see the detailed page, you can view the details of the reques
Stetho Manage Phone moreStethogithub Community Search Stetho Main methods:
Put the following code into the dependencies;‘com.facebook.stetho:stetho:1.3.1
Create a new class that inherits applicationExample: pulic void Myapplocation extends ApplicationIn the configuration list, add the application node android:name=".MyApplication" //最好写全部地址
At the top right of the code, you will seesync nowSync D
One. Use the ADB command to viewOpen a command window and go to Platform-tools in the Android SDK directory to execute the command:1. Input: Under Windows: adb shell under Linux: ./adb Shell2. Enter Data/data: If the phone does not have root, use the command Run-as package name to go directly to/data/data3. Go to databases: CD databases4. Use the ls command to list all databases in the current directory5. Use the sqlite3 database name6. Finally, you can execute the corresponding SQL statement, n
Android debugging tool and android debugging
StethoIt is an open-source debugging tool for Facebook's Android platform. Stetho can view the App layout, Sqlite, SharedPreference, and Network through Chrome without the root phone. It also supports creating Dump files.
It is very important to use Stetho to understand that Stetho is a debugging tool. In theory, it c
The individual has always had a passion for chrome, and Chrome is friendlier to developers in addition to being faster. Built-in powerful developer Tools, I believe that web development simply fondle admiringly! and the chrome store provides a variety of plug-ins, no you can not use, only you can not imagine. Now everything basic chrome has to do, and sometimes think, if you can use Chrome to debug the Android app how convenient, and now Facebook just open up a tool
supporting download progress bar bindings), supports secure links and proxies
Stetho.
Stetho is a powerful Android debugging tool from Facebook that allows you to view the layout of your app in Chrome Developer tools, network requests (using volley only, okhttp Network request library), SQLite, Preference, everything is a visual operation, no need to use the ADB itself, or the root of yo
In the Android development process, you will encounter a number of small problems, although the hands can be solved, but with a number of small tools to solve these problems are handy, today for you to recommend the development of Android encounter gadgets to make your development more efficient.
Vysor
Vysor is a mobile phone can be projected onto the computer, of course, can also operate, when we do share or demo, the tool played a role.
Vector Asset
Android Studio supported Vectorasset
"));System.out.println(Integer.parseInt("128")==Integer.valueOf("128"));
A deeper understanding of the context (@ mu-net Android Learning Group)Context plays a very important role in the development of Android applications, For example, to start an activity needs to use the Context.startactivity method, to convert an XML file into a View object also needs to use the context object, so to speak, out of this class, Android development is unable to move, for such a class, we know how much to him.
Viewpager Library
Panax Notoginseng Ion.
Ion is a great way to make Android's network operation extremely simple, supports asynchronous acquisition and processing of JSON, supports Android file downloads (while supporting download progress bar bindings), supports secure links and proxies
Stetho.
Stetho is a powerful Android debugging tool from Facebook that allows you
= client.newcall (Request). Execute (); Final string reslut = Response.body (). String ();
there is a line of code in the preceding code:
Client.networkinterceptors (). Add (New Stethointerceptor ());
This is a tool for viewing network access using Facebook's open source Stetho.
Okhttp can use Chrome's development tools to view the phone's network access, just lik
Weekly Technology first-glance, always have what you want! Mobile Development
"Software" Android Debugging Tool Stetho
Front-end development
"Translation" 25 Awesome HTML5 JavaScript game Engine Development Library
"Translation" when will AngularJS go beyond jQuery?
"Software" HTML parser for JavaScript jsdom
server-side development/management
"Translation" file uploads via AngularJS and ASP . NET MVC5
"Softw
Unit Test framework
Android comes with a lot of test tools: Junit,monkeyrunner,uiautomator,espresso, etc.13. Debugging the Framework
name
Description
Stetho
Debug your Android app's bridge, making it possible to debug with chrome developer tools
14. Performance optimization
name
Description
Leakcanary
Memory Leak Detec
Rxjavajoins
Provides joins operation for Rxjava
Rxandroid
Responsive extensions on Android, added Android thread scheduling on Rxjava basis
Rxbinding
Provides an API to bind the Android UI with Rxjava
Agera
Responsive programming on Android
A. Log framework
name
Description
Logger
Simple, beautiful, powerful Android logging tool
Hugo
Log
Some of the tools are charged, but the vast majority are free.FlowupThis is a tool to help you track the overall performance of your app and drill down into key performance data such as FPS, memory, CPU, disk, and more. Flowup is charged according to the number of users.StethoA powerful open-source Android Debug platform developed by Facebook, Stetho makes the native Android app debug as simple as debugging a Web page using Chrome's developer tools. I
. Androidanotations Fast Android development. Easy to maintain roboguiceandroid platform Google Guice
8. Chart
Williamchart Create a chart of the Android library Hellocharts compatible to API8 's Android Chart Gallery mpandroidchart a powerful Android chart view/graphics library
9. Background processing
Tape a brisk, transactional, file-based FIFO library Android Priority job queue for Android easy to schedule task
10. Event Bus
Eventbus an optimized event bus that simplifies communication
, Google has few success stories and recommends only a few 12. Log Frame Name Description Logger Simple, pretty, powerful Android log tool Hugo on debug version notes the triggering method for logging Timber a small, extensible log tool 13. Test Framework Name Description Mockito Java-written mocking unit test framework robotium Android UI Test robolectric Android Unit Test framework
Android takes a lot of test tools: Junit,monkeyrunner,uiautomator,espresso 14. The debug framework name describe
loading library-fresco
Zhaokaiqiang
Code.facebook.com
[Kotlin for Android (II) create a project] (Https://github.com/bboyfeiyu/android-tech-frontier/tree/master/androidweekly/Kotlin for Android (II) create a project)
Lollypo
Androidweekly Issue #147
[In Layman's Android new features-transition-part-1] (https://github.com/bboyfeiyu/android-tech-frontier/tree/master/others/android new features-transition-part-1)
Tiiime
Androiddesignpatte
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.