/frameworks/base/docs/html/tools/projects/ |
D | projects-eclipse.jd | 51 <li>Select <strong>File</strong> > <strong>New</strong> > <strong>Project</strong>.</li> 53 <li>Select <strong>Android</strong> > <strong>Android Application Project</strong>, and click 54 <strong>Next</strong>.</li> 59 <li>Enter an <strong>Application Name</strong>. This name is used as the title of your 62 <li>Enter a <strong>Project Name</strong>. This text is used as the name of the folder where 65 <li>Enter a <strong>Package Name</strong>. This class package namespace creates the initial 74 <li>Select a <strong>Minimum Required SDK</strong>. This setting indicates the lowest 80 <li>Select a <strong>Target SDK</strong>. This setting indicates the highest version of 85 <p class="note"><strong>Note:</strong> You can change the target SDK for your 87 <strong>Properties</strong>, select <strong>Android</strong> and then check the desired [all …]
|
D | templates.jd | 56 <li>In Eclipse, with the Android Development Tools (ADT) plugin installed, select <strong>File 57 > New > Android</strong>.</li> 58 <li>Select <strong>Android > Android Application Project</strong>, and click 59 <strong>Next</strong>.</li> 60 <li>Enter the settings for your application, including <strong>Application Name</strong>, 61 <strong>Project Name</strong>, <strong>Package Name</strong>, API level settings and 62 presentation <strong>Theme</strong>, and click <strong>Next</strong>.</li> 63 <li>Enter the project configuration options, and click <strong>Next</strong>.</li> 64 <li>Optionally enter launcher icon settings, and click <strong>Next</strong>.</li> 65 <li>In the <strong>Create Activity</strong> page, select an application template to use. [all …]
|
/frameworks/base/docs/html/tools/help/ |
D | gltracer.jd | 23 <p class="note"><strong>Note:</strong> The Tracer tool requires a device running Android 4.1 (API 36 <li>Activate the perspective for Tracer by choosing <strong>Window > Open Perspective > 37 Other...</strong></li> 38 <li>Select <strong>Tracer for OpenGL ES</strong> and click <strong>OK</strong>.</li> 45 <li>Activate the perspective for Tracer by choosing <strong>Window > Open 46 Perspective...</strong></li> 47 <li>Select <strong>Tracer for OpenGL ES</strong> and click <strong>OK</strong>.</li> 60 <p class="img-caption"><strong>Figure 1.</strong> Trace capture dialog box.</p> 67 <li>In Eclipse or Device Monitor, activate the <strong>Tracer for OpenGL ES</strong> 71 <li>In the dialog box, select the <strong>Device</strong> to use for the trace.</li> [all …]
|
D | draw9patch.jd | 23 (or <strong>File</strong> > <strong>Open 9-patch...</strong> to locate the file). 33 <li>When done, select <strong>File</strong> > <strong>Save 9-patch...</strong> 37 <p class="note"><strong>Note:</strong> A normal PNG file (<code>*.png</code>) will be 48 <li><strong>Zoom</strong>: Adjust the zoom level of the graphic in the drawing area.</li> 49 <li><strong>Patch scale</strong>: Adjust the scale of the images in the preview area.</li> 50 <li><strong>Show lock</strong>: Visualize the non-drawable area of the graphic on mouse-over.</li> 51 <li><strong>Show patches</strong>: Preview the stretchable patches in the drawing area (pink is a 53 <li><strong>Show content</strong>: Highlight the content area in the preview images 55 <li><strong>Show bad patches</strong>: Adds a red border around patch areas that may
|
D | systrace.jd | 130 <p class="note"><strong>Note:</strong> When setting trace tags from the command line, you 152 interface, by navigating to <strong>Settings > Developer options > Monitoring > Enable 153 traces</strong>.</p> 169 <td><strong>w</strong></td> 175 <td><strong>s</strong></td> 181 <td><strong>a</strong></td> 187 <td><strong>d</strong></td> 193 <td><strong>e</strong></td> 199 <td><strong>g</strong></td> 205 <td><strong>Shift+g</strong></td> [all …]
|
D | adt.jd | 58 <dt><strong>Integrated Android project creation, building, packaging, installation, and 59 debugging</strong></dt> 64 <dt><strong>SDK Tools integration</strong></dt> 69 <dt><strong>Java programming language and XML editors</strong></dt> 77 <dt><strong>Integrated documentation for Android framework APIs</strong></dt> 104 (<strong>Window > Open Perspective > Traceview</strong>). </li> 112 (<strong>Window > Open Perspective > Hierarchy Viewer</strong>).</li> 116 (<strong>Window > Open Perspective > Pixel Perfect</strong>).</li> 120 (<strong>Window > Open Perspective > DDMS</strong>).</li> 149 <p class="note"><strong>Note:</strong> You can edit Android-specific XML files (such as a layout [all …]
|
D | sdk-manager.jd | 11 select <strong>Window</strong> > <strong>Android SDK Manager</strong>.</li> 19 click <strong>Install</strong> to install the selected packages.</p> 22 <p class="img-caption"><strong>Figure 1.</strong> The Android SDK Manager shows the 33 <dd><strong>Required.</strong> Your new SDK installation already has the latest version. Make sure 36 <dd><strong>Required.</strong> You must install this package when you install the SDK for 39 <dd><strong>Required.</strong>You must download <em>at least one platform</em> into your 67 <p class="note"><strong>Tip:</strong> For easy access to the SDK tools from a command line, add the
|
/frameworks/base/docs/html/tools/extras/ |
D | oem-usb.jd | 36 <p class="note"><strong>Note:</strong> If your device is one of the Android Developer Phones 53 <p class="note"><strong>Tip:</strong> When you finish the USB driver installation, 66 <p class="caution"><strong>Caution:</strong> 81 and select <strong>Manage</strong>.</li> 82 <li>Select <strong>Devices</strong> in the left pane.</li> 84 <li>Right-click the device name (such as <em>Nexus S</em>) and select <strong>Update 85 Driver Software</strong>. 87 <li>Select <strong>Browse my computer for driver software</strong> and click 88 <strong>Next</strong>.</li> 89 <li>Click <strong>Browse</strong> and locate the USB driver folder. (The Google USB [all …]
|
/frameworks/base/docs/html/sdk/installing/ |
D | installing-adt.jd | 22 <p class="note"><strong>Note:</strong> If you prefer to work in a different IDE, you do not need to 32 <li>Start Eclipse, then select <strong>Help</strong> > <strong>Install New 33 Software</strong>.</li> 34 <li>Click <strong>Add</strong>, in the top-right corner.</li> 39 <li>Click <strong>OK</strong>. 43 <strong>Next</strong>.</li> 45 <strong>Next</strong>. </li> 46 <li>Read and accept the license agreements, then click <strong>Finish</strong>. 48 the software can't be established, click <strong>OK</strong>.</p></li> 60 <li>In the "Welcome to Android Development" window that appears, select <strong>Use [all …]
|
D | migrate.jd | 26 <li>In Eclipse, select <strong>File > Export</strong>.</li> 27 <li>In the window that appears, open <strong>Android</strong> and select <strong>Generate Gradle 28 build files</strong>.</li> 30 <strong>Finish</strong>.</li> 40 <strong>Welcome to Android Studio</strong> window.</li> 41 <li>Click <strong>Import Project</strong>.</li> 43 <strong>build.gradle</strong> file and click <strong>OK</strong>.</li> 44 <li>In the following dialog, leave <strong>Use gradle wrapper</strong> selected and click 45 <strong>OK</strong>. (You do not need to specify the Gradle home.)</li> 54 <p class="note"><strong>Note:</strong>
|
D | studio-tips.jd | 29 <p class="img-caption"><strong>Figure 1.</strong> Gradle project structure</p> 59 the Android Studio interface. Click the <strong>Android Virtual Device Manager</strong> 69 for your app. Click the <strong>SDK Manager</strong> 78 <strong>Project</strong> pane and pressing CTRL + N (CMD + N, on Mac). Based on the type of 82 <strong>Layout resource file</strong>, a dialog opens so you can name the file (you can exclude 92 <p>While editing in the <strong>Text</strong> view, you can preview the layout on devices by opening 93 the <strong>Preview</strong> pane available on the right side of the window. Within the 96 devices simultaneously, select <strong>Preview All Screen Sizes</strong> from the device drop-down. 99 <p>You can switch to the graphical editor by clicking <strong>Design</strong> at the 101 widgets available to drag-and-drop by clicking <strong>Palette</strong> on the [all …]
|
/frameworks/base/docs/html/about/versions/ |
D | jelly-bean.jd | 86 Bean — <strong>vsync timing</strong>, <strong>triple buffering</strong>, 87 <strong>reduced touch latency</strong>, <strong>CPU input boost</strong>, and 88 <strong>hardware-accelerated 2D rendering</strong> — and adds new 92 <strong>optimizes the stream of drawing commands</strong>, transforming it into 94 multithreaded processing, the renderer can also now use <strong>multithreading 95 across multiple CPU cores</strong> to perform certain tasks.</p> 97 <p>Android 4.3 also improves <strong>rendering for shapes and text</strong>. 103 <p><strong>Improved window buffer allocation</strong> results in a faster image 108 <strong>OpenGL ES 3.0</strong> and makes it accessible to apps through both 110 rendering engine takes advantage of OpenGL ES 3.0 to optimize <strong>texture [all …]
|
D | android-4.0-highlights.jd | 74 <p style="margin-top:1em;margin-bottom:.75em;"><strong>Refined, evolved UI</strong></p> 77 <strong>common actions more visible</strong> and lets users navigate with 78 simple, intuitive gestures. Refined <strong>animations</strong> and feedback 80 <strong>new typeface</strong> optimized for high-resolution screens improves 84 and Recent Apps. The <strong>System Bar</strong> and virtual buttons are present 86 Users can access each application's contextual options in the <strong>Action 87 Bar</strong>, displayed at the top (and sometimes also at the bottom) of the 90 <p><strong>Multitasking</strong> is a key strength of Android and it's made even 119 <p>Rich and interactive <strong>notifications</strong> let users keep in 135 <div style="padding-bottom:1em;margin-top:0;padding-top:0;font-size:.9em"><!--<strong>Figure [all …]
|
/frameworks/base/docs/html/training/basics/firstapp/ |
D | creating-project.jd | 43 <p class="note"><strong>Note:</strong> You should already have the Android SDK installed, and if 53 <li>Click <strong>New</strong> <img src="{@docRoot}images/tools/eclipse-new.png" 55 <li>In the window that appears, open the <strong>Android</strong> folder, 56 select <strong>Android Application Project</strong>, and click <strong>Next</strong>.</li> 60 <p class="img-caption"><strong>Figure 1.</strong> The New Android App Project wizard in Eclipse.</p> 65 <li><strong>Application Name</strong> is the app name that appears to users. 67 …<li><strong>Project Name</strong> is the name of your project directory and the name visible in Ec… 68 <li><strong>Package Name</strong> is the package namespace for your app (following the same 74 … <li><strong>Minimum Required SDK</strong> is the lowest version of Android that your app supports, 85 <li><strong>Target SDK</strong> indicates the highest version of Android (also using the [all …]
|
D | running-app.jd | 111 <li>Enable <strong>USB debugging</strong> on your device. 114 <strong>Settings > Applications > Development</strong>.</li> 115 <li>On Android 4.0 and newer, it's in <strong>Settings > Developer options</strong>. 116 <p class="note"><strong>Note:</strong> On Android 4.2 and newer, <strong>Developer 117 options</strong> is hidden by default. To make it available, go 118 to <strong>Settings > About phone</strong> and tap <strong>Build number</strong> 119 seven times. Return to the previous screen to find <strong>Developer options</strong>.</p> 128 <strong>Run</strong> <img 131 <li>In the <strong>Run as</strong> window that appears, select 132 <strong>Android Application</strong> and click <strong>OK</strong>.</li> [all …]
|
/frameworks/base/docs/html/tools/debugging/ |
D | index.jd | 28 <dt><a href="{@docRoot}tools/help/adb.html"><strong>adb</strong></a></dt> 35 <dt><a href="{@docRoot}tools/debugging/ddms.html"><strong>Dalvik Debug Monitor 36 Server</strong></a></dt> 42 <dt><strong><a href="{@docRoot}tools/device.html">Device</a> or 43 <a href="{@docRoot}tools/devices/index.html">Android Virtual Device</a></strong></dt> 49 <dt><strong>JDWP debugger</strong></dt> 67 <p class="img-caption><strong>Figure 1. </strong> Debugging Workflow</p> 94 <dt><strong><a href="{@docRoot}tools/debugging/debugging-ui.html">Heirarchy Viewer 95 and layoutopt</a></strong></dt> 99 <dt><strong><a href= [all …]
|
/frameworks/base/docs/html/google/play/billing/ |
D | index.jd | 11 <h2><strong>New in In-App Billing</strong></h2> 13 …<li><strong>Purchase Status API</strong>—The <a href="{@docRoot}google/play/billing/gp-purch… 14 …<li><strong>In-app Billing Version 3</strong>—The <a href="{@docRoot}google/play/billing/api… 15 …<li><strong>Subscriptions now supported in Version 3</strong>—You can query and launch purch… 16 …<li><strong>Free trials</strong>—You can now offer users a configurable <a href="/google/pla… 47 …<dt><strong><a href="{@docRoot}google/play/billing/billing_overview.html">Overview</a></strong></d… 49 <dt><strong><a href="{@docRoot}google/play/billing/api.html">Version 3 API</a></strong></dt> 51 <dt><strong><a href="{@docRoot}google/play/billing/billing_best_practices.html">Security 52 and Design</a></strong></dt> 55 <dt><strong><a href="{@docRoot}google/play/billing/billing_testing.html">Testing In-app [all …]
|
D | billing_admin.jd | 49 <p>You can access an application's product list by clicking the <strong>In-App Products</strong> 51 figure 1). The <strong>In-App Products</strong> link appears only if you have a Google Wallet 64 <strong>Figure 1.</strong> You can access an application's product list by clicking the 65 <strong>In-App Products</strong> link in the main Apps navigation. 92 <p class="note"><strong>Note:</strong> Batch upload of product lists containing subscriptions is no… 100 <li>In the <strong>All Google Play listings</strong> panel, under the application name, click 101 <strong>In-app Products</strong>.</li> 102 …<li>Click <strong>Add new product</strong> (see figure 2) and provide details about the item you a… 103 selling and then click <strong>Save</strong> or <strong>Publish</strong>.</li> 109 <strong>Figure 2.</strong> The Add New Product page lets you add items to an [all …]
|
/frameworks/base/docs/html/tools/support-library/ |
D | setup.jd | 60 <li>Select the <strong>Android Support Library</strong> item. 62 <strong>Note:</strong> If you're developing with Android Studio, select and install the 63 <strong>Android Support Repository</strong> item instead. 66 <li>Click the <strong>Install packages...</strong> button.</li> 70 <p class="img-caption"><strong>Figure 1.</strong> The Android SDK Manager with the 114 <li>Make sure you have downloaded the <strong>Android Support Library</strong> 120 <li>Right click the JAR file and select <strong>Build Path > Add to Build Path</strong>. 133 <li>Make sure you have downloaded the <strong>Android Support Repository</strong> 166 <li>Make sure you have downloaded the <strong>Android Support Library</strong> 171 <li>Select <strong>File > Import</strong>.</li> [all …]
|
/frameworks/base/docs/html/tools/testing/ |
D | testing_accessibility.jd | 70 <li><strong>Directional controls:</strong> Verify that the application can be operated 76 <p class="note"><strong>Note:</strong> Keyboards and D-pads provide different navigation paths 80 <li><strong>TalkBack audio prompts:</strong> Verify that user interface controls that provide 84 <li><strong>Explore by Touch prompts:</strong> Verify that user interface controls that 88 <li><strong>Touchable control sizes:</strong> All controls where a user can select or take an 91 <li><strong>Gestures work with TalkBack enabled:</strong> Verify that app-specific gestures, 95 <li><strong>No audio-only feedback:</strong> Audio feedback must always have a secondary 109 <li><strong>Repetitive audio prompting:</strong> Check that closely related controls (such as 113 <li><strong>Audio prompt overloading or underloading:</strong> Check that closely related 127 <li><strong>Review developer special cases and considerations:</strong> Review the list of [all …]
|
/frameworks/base/docs/html/tools/building/ |
D | building-eclipse.jd | 44 <p>To run (or debug) your application, select <strong>Run</strong> > <strong>Run</strong> (or 45 <strong>Run</strong> > <strong>Debug</strong>) from the Eclipse menu bar. The ADT plugin will 87 <li>Enable <strong>USB debugging</strong> on your device. 90 <strong>Settings > Applications > Development</strong>.</li> 91 <li>On Android 4.0 and newer, it's in <strong>Settings > Developer options</strong>. 92 <p class="note"><strong>Note:</strong> On Android 4.2 and newer, <strong>Developer 93 options</strong> is hidden by default. To make it available, go 94 to <strong>Settings > About phone</strong> and tap <strong>Build number</strong> 95 seven times. Return to the previous screen to find <strong>Developer options</strong>.</p> 107 selecting <strong>Run</strong> > <strong>Run</strong> (or <strong>Run</strong> > [all …]
|
/frameworks/base/docs/html/guide/topics/ui/accessibility/ |
D | checklist.jd | 55 <li><strong>Describe user interface controls:</strong> Provide content 64 <li><strong>Enable focus-based navigation:</strong> Make sure 71 <li><strong>Custom view controls:</strong> If you build 78 <li><strong>No audio-only feedback:</strong> Audio feedback must always have a secondary 82 <li><strong>Test:</strong> Test accessibility by navigating your application 97 <li><strong>Android Design Accessibility Guidelines:</strong> Before building your layouts, 100 <li><strong>Framework-provided controls:</strong> Use Android's built-in user interface 102 <li><strong>Temporary or self-hiding controls and notifications:</strong> Avoid having user 115 <li><strong>Text field hints:</strong> For {@link android.widget.EditText} fields, provide an 120 <li><strong>Custom controls with high visual context:</strong> If your application contains a [all …]
|
/frameworks/base/docs/html-intl/ja/guide/publishing/ |
D | app-signing.jd | 126 …T で、[[]<strong>ウィンドウ(Windows)</strong>] > [[]<strong>設定(Prefs)</strong>] > [[]<strong>Androi… 128 <p class="note"><strong>注:</strong> デバッグ証明書で署名した場合は、アプリケーションを<em>公開できません</em>。</p> 177 <p class="warning"><strong>注:</strong> 署名されていないアプリケーション、またはデバッグ キーで署名されたアプリケーションはリリースできません。</p> 181 …strong>Android ツール(Android Tools)</strong>] > [[]<strong>署名されていないアプリケーション パッケージのエクスポート(Export U… 211 <p class="warning"><strong>注:</strong> Keytool を実行する前に、<a href="#secure-key">秘密鍵のセキュリティ設定</a>を読んで、キ… 240 <td><code>-validity <valdays></code></td><td><p>キーの有効期間(日数)。 </p><p><strong>注:</strong> 10000… 307 <p class="note"><strong>注:</strong> 「CN=Android Debug」と出力される場合、.apk が Android SDK によって生成されたデバッグ キーで… 316 …strong>[[]Android ツール(Android Tools)] > [[]署名済みアプリケーション パッケージのエクスポート(Export Signed Application …
|
/frameworks/base/docs/html/training/implementing-navigation/ |
D | index.jd | 44 <p>After reading the lessons in this class, you should have a strong understanding of how to 48 <p class="note"><strong>Note:</strong> Several elements of this class require the 58 <dt><strong><a href="lateral.html">Creating Swipe Views with Tabs</a></strong></dt> 62 <dt><strong><a href="nav-drawer.html">Creating a Navigation Drawer</a></strong></dt> 66 <dt><strong><a href="ancestral.html">Providing Up Navigation</a></strong></dt> 69 <dt><strong><a href="temporal.html">Providing Proper Back Navigation</a></strong></dt> 74 <dt><strong><a href="descendant.html">Implementing Descendant Navigation</a></strong></dt>
|
/frameworks/base/docs/html/tools/adk/ |
D | adk2.jd | 110 cable to the port marked <strong>Computer</strong> and a USB port on your computer.</li> 112 <p class="note"><strong>Note:</strong> You may need to hold your finger in place for 1-2 124 <p>To use the <strong>ADK 2012</strong> companion application for the alarm clock:</p> 133 <li>Start Google Play on your device, search for the <strong>ADK 2012</strong> application and 143 <li>On your Android device, turn Bluetooth On (<strong>Settings > 144 Bluetooth</strong>).</li> 145 <li>In the <strong>Settings</strong> page, press the <strong>Bluetooth</strong> option to 147 <li>Select <strong>Search for Devices</strong> to locate the ADK 2012 accessory and follow 149 <li>After pairing is complete, start the <strong>ADK 2012</strong> app on your Android 151 <li>On the start screen, select the <strong>Use Bluetooth</strong> button.</li> [all …]
|