官术网_书友最值得收藏!

Conventions

In this book, you will find a number of text styles that will help you distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "To send an ordered broadcast, you can call the sendOrderedBroadcast method."

A block of code is set as follows:

Instrumentation.ActivityMonitor monitor = getInstrumentation().addMonitor(SecondActivity.class.getName(), null, false);

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

@Override
protected void setUp() throws Exception {
super.setUp();

Intent intent = new Intent(getInstrumentation().getTargetContext(), MainActivity.class);
startActivity(intent, null, null);
mActivity = getActivity();

Any command-line input or output is written as follows:

adb shell monkey –p com.packt.package –v 100

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "The multiplication is made when the Button1 button is clicked."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 台州市| 色达县| 鹤壁市| 冷水江市| 海兴县| 扶沟县| 游戏| 新巴尔虎右旗| 崇礼县| 郸城县| 南丹县| 连山| 东乡县| 南充市| 扶风县| 吉首市| 高州市| 茶陵县| 白水县| 峨眉山市| 昌平区| 武威市| 礼泉县| 蓝山县| 阳西县| 天台县| 和政县| 开平市| 尚志市| 哈尔滨市| 贵溪市| 梁河县| 勐海县| 政和县| 卓尼县| 沭阳县| 唐海县| 江安县| 河东区| 肥东县| 陇西县|