摘要: While developing your application, you should check that user interactions are buttery smooth, running at a consistent 60 frames per second. If someth 阅读全文
posted @ 2016-07-19 15:33 yexiant 阅读(669) 评论(0) 推荐(0) 编辑
摘要: A content provider manages access to a central repository of data. A provider is part of an Android application, which often provides its own UI for w 阅读全文
posted @ 2016-07-19 13:57 yexiant 阅读(234) 评论(0) 推荐(0) 编辑
摘要: Content providers manage access to a structured set of data. They encapsulate the data, and provide mechanisms for defining data security. Content pro 阅读全文
posted @ 2016-07-19 11:16 yexiant 阅读(164) 评论(0) 推荐(0) 编辑
摘要: If your unit test has no dependencies or only has simple dependencies on Android, you should run your test on a local development machine. This testin 阅读全文
posted @ 2016-07-18 17:03 yexiant 阅读(272) 评论(0) 推荐(0) 编辑
摘要: Android tests are based on JUnit, and you can run them either as local unit tests on the JVM or as instrumented tests on an Android device. This page 阅读全文
posted @ 2016-07-18 16:10 yexiant 阅读(290) 评论(0) 推荐(0) 编辑
摘要: adb命令 1.获得当前运行的activity栈,同时也可以用此命令查看到具体某一页面的activity名字 adb shell dumpsys activity|grep Run 2.获得手机安装的所有应用包名 adb shell pm list packages 3.获得已安装的应用的apk,导 阅读全文
posted @ 2016-07-12 16:22 yexiant 阅读(198) 评论(0) 推荐(0) 编辑
摘要: The IntentService class provides a straightforward structure for running an operation on a single background thread. This allows it to handle long run 阅读全文
posted @ 2016-07-12 16:11 yexiant 阅读(145) 评论(0) 推荐(0) 编辑
摘要: The navigation drawer is a panel that displays the app’s main navigation options on the left edge of the screen. It is hidden most of the time, but is 阅读全文
posted @ 2016-06-29 18:37 yexiant 阅读(312) 评论(0) 推荐(0) 编辑
摘要: The Native Development Kit (NDK) is a set of tools that allow you to leverage C and C++ code in your Android apps. You can use it either to build from 阅读全文
posted @ 2016-06-16 14:51 yexiant 阅读(137) 评论(0) 推荐(0) 编辑
摘要: The Android multimedia framework includes support for capturing and encoding a variety of common audio formats, so that you can easily integrate audio 阅读全文
posted @ 2016-06-13 10:44 yexiant 阅读(468) 评论(0) 推荐(0) 编辑