/frameworks/base/docs/html/training/basics/firstapp/ |
D | running-app.jd | 73 <li>Select one of your project's files and click 78 <strong>Choose a running device</strong> radio button, select your device, and click <strong>OK 113 <li>In Android Studio, select <strong>Tools > Android > AVD Manager</strong>, or click 129 <li>On the AVD Manager main screen (figure 1), click <strong>Create Virtual Device</strong>.</li> 132 then click <strong>Next</strong>. 134 <li>Select the desired system version for the AVD and click <strong>Next</strong>. 136 <li>Verify the configuration settings, then click <strong>Finish</strong>. 145 <li>In <strong>Android Studio</strong>, select your project and click <strong>Run</strong> 148 <li>In the <strong>Choose Device</strong> window, click the <strong>Launch emulator</strong> radio 151 you created, and click <strong>OK</strong>.</li>
|
/frameworks/base/docs/html/guide/topics/ui/controls/ |
D | togglebutton.jd | 46 the object receives an on-click event.</p> 48 <p>To define the click event handler, add the <code><a 52 to a click event. The {@link android.app.Activity} hosting the layout must then implement the 69 click event:</p> 102 <p>You can also declare a click event handler programmatically rather than in an XML layout. This 105 declare the click behavior in a {@link android.app.Fragment} subclass.</p>
|
D | checkbox.jd | 26 separately and you must register a click listener for each one.</p> 31 on-click event.</p> 33 <p>To define the click event handler for a checkbox, add the <code><a 37 to a click event. The {@link android.app.Activity} hosting the layout must then implement the 62 click event for both checkboxes:</p>
|
D | radiobutton.jd | 35 android.widget.RadioButton} object receives an on-click event.</p> 37 <p>To define the click event handler for a button, add the <code><a 41 to a click event. The {@link android.app.Activity} hosting the layout must then implement the 69 click event for both radio buttons:</p>
|
D | button.jd | 73 an on-click event.</p> 75 <p>To define the click event handler for a button, add the {@link 78 to a click event. The {@link android.app.Activity} hosting the layout must then implement the 95 the click event:</p> 100 // Do something in response to button click 116 <p>You can also declare the click event handler programmatically rather than in an XML layout. This 118 declare the click behavior in a {@link android.app.Fragment} subclass.</p> 128 // Do something in response to button click
|
/frameworks/base/docs/html/google/gcm/ |
D | gs.jd | 40 <li>If you haven't created an API project yet, click <strong>Create Project</strong>.</li> 42 <li>Supply a project name and click <strong>Create</strong>. 64 <li>Under <strong>Public API access</strong>, click <strong>Create new key</strong>.</li> 66 <li>In the <strong>Create a new key</strong> dialog, click <strong>Server key</strong>.</li> 76 <p class="note"><strong>Note:</strong> If you need to rotate the key, click 78 compromised and you want to delete it immediately, click <strong>Delete</strong>.</p>
|
/frameworks/base/docs/html/tools/devices/ |
D | managing-avds.jd | 29 <li>In Android Studio, select <strong>Tools > Android > AVD Manager</strong>, or click 64 <li>From the main screen (figure 1), click <strong>Create Virtual Device</strong>.</li> 67 then click <strong>Next</strong>.</p> 72 <li>Select the desired system version for the AVD and click <strong>Next</strong>. 74 <li>Verify the configuration settings, then click <strong>Finish</strong>. 75 <p>If necessary, click <strong>Show Advanced Settings</strong> to select a custom skin 80 <p>To launch the AVD in the Android Emulator, click the launch button 91 <li>From the main screen (figure 1), click <strong>Create Virtual Device</strong>.</li> 93 a device profile then click <strong>Clone Device</strong>. 94 <p>Or, to start from scratch, click <strong>New Hardware Profile</strong>.</p> [all …]
|
/frameworks/base/docs/html/sdk/installing/ |
D | installing-adt.jd | 56 <li>In the Available Software dialog, select the checkbox next to Developer Tools and click 60 <li>Read and accept the license agreements, then click <strong>Finish</strong>. 62 the software can't be established, click <strong>OK</strong>.</p></li> 125 <li>In the Add Repository dialog, click <strong>Archive</strong>.</li> 126 <li>Select the downloaded {@adtZipDownload} file and click <strong>OK</strong>.</li> 127 <li>Enter "ADT Plugin" for the name and click <strong>OK</strong>. 128 <li>In the Available Software dialog, select the checkbox next to Developer Tools and click 132 <li>Read and accept the license agreements, then click <strong>Finish</strong>. 134 the software can't be established, click <strong>OK</strong>.</p></li>
|
D | create-project.jd | 58 To create a new project, click <strong>New Project</strong>.</p> 61 To create a new project, click <strong>File</strong> > <strong>New Project</strong>.</p> 69 <p>Enter the values for your project then click <strong>Next</strong>.</p> 76 click <strong>Help me choose</strong>.</p> 84 your apps needs, so you can reach as many devices as possible. Then click <strong>OK</strong>.</p> 89 <p>Then, on the Form Factors Window, click <strong>Next</strong>.</p> 100 <p>Choose an activity type then click <strong>Next</strong>.</p> 102 …<p class="note"><strong>Note:</strong> If you choose "Add No Activity", click <strong>Finish</stro… 113 <p>Enter the activity name, the layout name, and the activity title. Then click 145 <strong>Module</strong>. Select the desire module type then click Next to enter the basic module [all …]
|
D | studio-layout.jd | 30 you edit the XML file as text, and the <strong>Design</strong> view. Just click the 45 skin, click the preview icon 55 <p>When you click in the preview image, the layout editor highlights the corresponding 65 where you can click on "Change to Button" to fix the error in the XML file:</p> 74 Android Studio displays an error panel with links that you can click to supply the missing 84 <p>To pick a theme for your app, click the Theme icon 98 <p>Android Studio provides built-in localization support. When you click the 147 <p>You can use the same process to create a snapshot of your app's preview. Just click the
|
D | migrate.jd | 31 <strong>build.gradle</strong> file and click <strong>OK</strong>.</li> 32 <li>In the following dialog, leave <strong>Use gradle wrapper</strong> selected and click
|
/frameworks/base/docs/html/tools/help/ |
D | avd-manager.jd | 11 <li>In Eclipse: select <strong>Window > Android Virtual Device Manager</strong>, or click 14 <li>In Android Studio: select <strong>Tools > Android > AVD Manager</strong>, or click
|
D | gltracer.jd | 38 <li>Select <strong>Tracer for OpenGL ES</strong> and click <strong>OK</strong>.</li> 47 <li>Select <strong>Tracer for OpenGL ES</strong> and click <strong>OK</strong>.</li> 69 <li>On the toolbar, click the trace capture button (<img 99 <li>On the toolbar, click the trace load button (<img
|
/frameworks/base/docs/html/samples/ |
D | index.jd | 13 share a link to a specific line you can double-click it to the get the URL.</p> 26 <li>Select a sample to import and click <strong>Next</strong>.</li> 48 <p>If you want to download a complete project, just click on any source file in the project and 49 click the <strong>Download</strong> link in the upper right of the source page.</p>
|
/frameworks/base/docs/html/tools/projects/ |
D | projects-eclipse.jd | 53 <li>Select <strong>Android</strong> > <strong>Android Application Project</strong>, and click 86 project at any time: Right-click the project in the Package Explorer, select 103 <li>In the <strong>Configure Project</strong> page, select the desired settings and click 107 <li>In the <strong>Configure Launcher Icon</strong> page, create an icon and click 110 <li>In the <strong>Create Activity</strong> page, select activity template and click 134 <li>Select <strong>Android</strong> > <strong>Android Application Project</strong>, and click 143 <li>Set the other options as desired and click <strong>Next</strong>.</li> 158 <li>In the <strong>Package Explorer</strong>, right-click the library project and select 164 <li>Select the <strong>is Library</strong> check box and click <strong>Apply</strong>.</li> 206 <li>In the <strong>Package Explorer</strong>, right-click the dependent project and select [all …]
|
D | templates.jd | 59 then click <strong>Next</strong>.</li> 60 <li>Select an application template to use, then click <strong>Next</strong>. For example, 70 then click <strong>Finish</strong>.</li> 246 <li>Right click the project folder of the Android application where you want to add an 249 <li>Select <strong>Android > Android Activity</strong>, then click <strong>Next</strong>.</li> 333 <li>Right-click the module folder of the Android application where you want to add a code
|
/frameworks/base/docs/html/tools/testing/ |
D | testing_eclipse.jd | 85 click the toggle to the left. Select <strong>Android Test Project</strong>, then at the 86 bottom of the dialog click <strong>Next</strong>. The <em>New Android Test Project</em> 115 In the Test Target panel, set An Existing Android Project, click Browse, then select your 169 If you want to change the identifier value, right-click the identifier and select 173 When you are ready, right-click the Java package identifier again and select 189 click <strong>Finish</strong>. You will set up the constructor manually. 286 In the left-hand pane, find the Android JUnit Test entry. In the right-hand pane, click the 291 To run one test class, click Run a single test, then enter your project name in the 294 To run all the test classes, click Run all tests in the selected project or package, 299 Now click the Target tab. [all …]
|
D | testing_ui.jd | 101 <li><p>To capture a screen for analysis, click the <strong>Device Screenshot</strong> button in the… 117 …<li>Optionally, click on the <strong>Toggle NAF Nodes</strong> button to see UI components that ar… 146 <p class="note"><strong>Note: </strong>To identify the non-accessible components in the UI, click o… 154 <li>From the <strong>Project Explorer</strong>, right-click on the new project that you created, th… 198 …ot}tools/help/uiautomator/UiObject.html">{@code UiObject}</a> instance to click on a UI element or… 199 …ch is found and if the element is enabled, the framework simulates a user click action on the elem… 203 okButton.click(); 226 … element {@code Cute Baby Laughing} from the collection and simulate a user-click on the video:</p> 230 video.click(); 237 if(!checkBox.isSelected()) checkbox.click(); [all …]
|
/frameworks/base/docs/html/tools/debugging/ |
D | debugging-ui.jd | 98 of Activity objects for a device or emulator, click the arrow on the left. This displays a 126 the section <a href="#runhv">Running Hierarchy Viewer and choosing a window</a>. Next, click 140 visible, click and drag the pane. 149 To save a screenshot of Tree View to a PNG file, click <strong>Save As PNG</strong> at 155 file, click <strong>Capture Layers</strong> at the top of the View Hierarchy window. 188 When you click on a View object in Tree View, its position in the UI is highlighted. 189 Conversely, when you click in an area of Layout View, the View object for that area is 211 updated. To update it, click <strong>Load View Hierarchy</strong> at the top of the window. 216 navigates back to the Window Selection window. From this window, click the Android 217 component name of the new Activity and then click <strong>Load View Hierarchy</strong> [all …]
|
D | debugging-studio.jd | 89 <em>Debug</em> window manually, click <strong>Debug</strong> 111 <li>To open the <em>Debug</em> tool window, click <strong>Debug</strong> 182 <li>If the system log is empty in the <em>Logcat view</em>, click <strong>Restart</strong> 201 <em>Devices</em> view and then click <strong>Only Show Logcat from Selected 204 is not available, click <strong>Restore Devices View</strong> 225 <li>Locate the line where you want to set a breakpoint and click on it.</li> 239 <p>To view all the breakpoints and configure breakpoint settings, click <strong>View 258 <p>After you set breakpoints in your code, click <strong>Rerun</strong> 268 the <em>Variables</em> view is not visible, click <strong>Restore Variables View</strong> 273 <p>To evaluate an expression at the current execution point, click <strong>Evaluate [all …]
|
/frameworks/base/docs/html/sdk/ |
D | download.jd | 19 … document.getElementById('click-download').setAttribute("href", "https://dl.google.com/android/" 69 <p>Your download should be underway. If not, <a id="click-download">click here to start the
|
/frameworks/base/docs/html/tools/extras/ |
D | oem-usb.jd | 78 <li>Right-click on <em>Computer</em> from your desktop or Windows Explorer, 82 <li>Right-click the device name (such as <em>Nexus S</em>) and select <strong>Update 85 <li>Select <strong>Browse my computer for driver software</strong> and click 97 <li>Right-click on <em>Computer</em> from your desktop or Windows Explorer, 102 <li>Right-click <em>Android Composite ADB Interface</em> and select <strong>Update 105 <li>Select <strong>Install from a list or specific location</strong> and click 136 click <strong>Install</strong> to install the driver.</li> 144 <li>Right-click on <em>Computer</em> from your desktop or Windows Explorer, 148 <li>Right-click on <em>HTC Dream Composite ADB Interface</em>, and select <strong>Update 161 click <strong>Install</strong> to upgrade the driver.</li>
|
/frameworks/base/docs/html/tools/building/ |
D | configuring-gradle.jd | 298 <li>Right-click the <strong>src</strong> directory under <em>app</em> and select 300 <li>Enter "demo" as the name of the new directory and click <strong>OK</strong>.</li> 321 <li>On the <em>Project</em> panel, right click on the <strong>app</strong> module and select 323 <li>Select <strong>Blank Activity</strong> and click <strong>Next</strong>.</li> 325 <li>Enter "com.buildsystemexample.app" as the package name and click 327 <li>Right click on the <strong>java</strong> directory under <em>app/src/demo</em> and select 329 <li>Enter "com.buildsystemexample.app" as the package name and click <strong>OK</strong>.</li> 332 <li>Accept the default values and click <strong>Refactor</strong>.</li> 340 <li>Accept the default values on the window that appears and click <code>OK</code>.</li> 358 <li>On the <em>Project</em> panel, right click on the <strong>demo</strong> directory under [all …]
|
/frameworks/base/docs/html/training/activity-testing/ |
D | activity-basic-testing.jd | 55 <li>In the Package Explorer, right-click on the {@code /src} directory for 59 {@code com.example.android.testingfun.tests}) and click 61 <li>Right-click on the test package you created, and select 65 {@code MyFirstTestActivityTest}) and click <strong>Finish</strong>.</li> 80 <li>In the Package Explorer, double-click on the test case that you created 213 <li>In the Project Explorer, right-click on the test class that you created 216 connected, then click <strong>OK</strong>.</li>
|
/frameworks/base/docs/html/tools/support-library/ |
D | setup.jd | 120 <li>Right click the JAR file and select <strong>Build Path > Add to Build Path</strong>. 172 <li>Select <strong>Existing Android Code Into Workspace</strong> and click 179 <li>In the new library project, expand the {@code libs/} folder, right-click each {@code .jar} 183 <li>Right-click the library project folder and select <strong>Build Path > Configure 200 … <li>In the Project Explorer, right-click your project and select <strong>Properties</strong>.</li> 202 <li>In the Library pane, click the <strong>Add</strong> button.</li> 203 <li>Select the library project and click <strong>OK</strong>. For example, the 206 <li>In the properties window, click <strong>OK</strong>.</li>
|