OSDN Git Service

Merge "Add orientation to configuration for layoutlib." into jb-mr2-dev
[android-x86/frameworks-base.git] / docs / html / tools / index.jd
1 page.title=Developer Tools
2 @jd:body
3 <div id="butterbar-wrapper" >
4   <div id="butterbar" >
5     <div id="butterbar-message">
6 <a target="_blank" href="https://docs.google.com/a/google.com/forms/d/1EHLPGqhbxj2HungHRRN4_0K9TGpc-Izy-u46vBDgS8Q/viewform">
7       Take the Android Developer Survey</a>
8     </div>
9   </div>
10 </div>
11     
12 <img src="{@docRoot}images/tools-home.png" style="float:right;" height="415" width="763" />
13
14 <div style="position:relative;height:0">
15 <div style="position:absolute;width:420px"> 
16   <p>The Android Developer Tools (ADT) plugin for Eclipse provides
17     a professional-grade development environment for building
18   Android apps. It's a full Java IDE with advanced features to help you build, test, debug,
19   and package your Android apps. </p>
20   <p>Free, open-source, and runs on most major OS platforms.<br>To get started, 
21   <a href="{@docRoot}sdk/index.html">download the Android SDK.</a></p>
22 </div>
23 </div>
24
25 <div style="margin-top:20px;"></div>
26
27 <div class="col-7" style="margin-left:0">
28 <h3>Full Java IDE</h3>
29
30   <ul>
31     <li>Android-specific refactoring, quick fixes, integrated navigation between Java and XML resources.</li> 
32     <li>Enhanced XML editors for Android XML resources.</li> 
33     <li>Static analysis tools to catch performance, usability, and correctness problems.</li> 
34     <li>Build support for complex projects, command-line support for CI through Ant. Includes ProGuard and app-signing. </li> 
35     <li>Template-based wizard to create standard Android projects and components.</li> 
36   </ul>
37 </div>
38
39
40 <div class="col-6" style="margin-right:0">
41
42 <h3>Graphical UI Builders</h3>
43   <ul>
44     <li>Build rich Android UI with drag and drop. 
45     <li>Visualize your UI on tablets, phones, and other devices. Switch themes, locales, even platform versions instantly, without building.</li>
46     <li>Visual refactoring lets you extracts layout for inclusion, convert layouts, extract styles.</li>
47     <li>Editor support for working with custom UI components.</li>
48   </ul>
49
50 </div>
51
52
53 <div class="col-7" style="clear:both;margin-left:0;">
54
55 <h3>On-device Developer Options</h3>
56 <ul>
57   <li>Enable debugging over USB.</li>
58   <li>Quickly capture bug reports onto the device.</li>
59   <li>Show CPU usage on screen.</li>
60   <li>Draw debugging information on screen such as layout bounds,
61     updates on GPU views and hardware layers, and other information.</li>
62   <li>Plus many more options to simulate app stresses or enable debugging options.</li>
63 </ul>
64 <p>To access these settings, open the <em>Developer options</em> in the
65 system Settings. On Android 4.2 and higher, the Developer options screen is
66 hidden by default. To make it available, go to
67 <b>Settings > About phone</b> and tap <b>Build number</b> seven times. Return to the previous
68 screen to find Developer options.</p>
69
70 </div>
71
72 <div class="col-6" style="margin-right:0">
73   <img src="{@docRoot}images/tools/dev-options-inmilk.png" alt="" style="margin:-10px 0 0;">
74 </div>
75
76
77 <div class="col-7" style="clear:both;margin-left:0;">
78 <h3>Develop on Hardware Devices</h3>
79
80   <ul>
81     <li>Use any commercial Android hardware device or multiple devices.</li> 
82     <li>Deploy your app to connected devices directy from the IDE.</li> 
83     <li>Live, on-device debugging, testing, and profiling.</li> 
84   </ul>
85 </div>
86
87 <div class="col-6" style="margin-right:0">
88 <h3>Develop on Virtual Devices</h3>
89   <ul>
90     <li>Emulate any device. Use custom screen sizes, keyboards, and other hardware components. </li>
91     <li>Advanced hardware emulation, including camera, sensors, multitouch, telephony.</li>
92     <li>Develop and test for broad device compatibility.</li>
93   </ul>
94
95 </div>
96
97 <div style="margin-top:20px;"></div>
98
99 <div class="col-7" style="margin-left:0">
100 <h3>Powerful Debugging</h3>
101
102   <ul>
103     <li>Full Java debugger with on-device debugging and Android-specific tools.</li>
104     <li>Built-in memory analysis, performance/CPU profiling, OpenGL ES tracing.</li>
105     <li>Graphical tools for debugging and optimizing UI, runtime inspecton of UI structure and performance.</li>
106     <li>Runtime graphical analysis of your app's network bandwidth usage.</li>
107   </ul>
108
109 <h3>Testing</h3>
110     
111   <ul>
112     <li>Fully instrumentated, scriptable test environment.</li>
113     <li>Integrated reports using standard test UI.</li>
114     <li>Create and run unit tests on hardware devices or emulator.</li>
115   </ul>
116
117 <h3>Native Development</h3>
118     
119   <ul>
120     <li>Support for compiling and packaging existing code written in C or C++.</li>
121     <li>Support for packaging multiple architectures in a single binary, for broad compatibility.</li>
122   </ul>
123 </div>
124
125 <div class="col-6" style="margin-right:0">
126   <img src="{@docRoot}images/debugging-tall.png" align="left" style="margin-top:10px">
127 </div>
128
129