/frameworks/base/docs/html/training/in-app-billing/ |
index.jd | 6 next.title=Preparing Your In-app Billing Application 29 <p>In-app billing is a service hosted on Google Play that lets you charge for digital content or for upgrades in your app. The In-app Billing API makes it easy for you to integrate In-app Billing into your applications. You can request product details from Google Play, issue orders for in-app products, and quickly retrieve ownership information based on users' purchase history. You can also query the Google Play service for details about in-app products, such as local pricing and availability. Google Play provides a checkout interface that makes user interactions with the In-app Billing service seamless, and provides a more intuitive experience to your users.</p> 39 <dt><b><a href="preparing-iab-app.html">Preparing Your In-app Billing Application</a></b></dt> 40 <dd>In this lesson, you will learn how to prepare your application to use the In-app Billing API and communicate with Google Play. You will also learn how to establish a connection to communicate with Google Play and verify that the In-app Billing API version that you are using is supported.</dd> 42 <dd>In this lesson, you will learn how to specify the In-app Billing products for your app in Google Play and query the product details.</dd> 45 <dt><b><a href="test-iab-app.html">Testing Your In-app Billing Application</a></b></dt> 46 <dd>In this lesson, you will learn how to test your application to ensure that In-app Billing is functioning correctly.</dd>
|
/frameworks/base/docs/html/training/monitoring-device-state/ |
index.jd | 3 page.metaDescription=Learn how to optimize your app to reduce battery drain and use power-hungry resources efficiently. 28 <p>For your app to be a good citizen, it should seek to limit its impact on the battery life of its 34 ensure that the impact of your app on battery life is minimized, without compromising the user 46 <dd>Learn how to analyze your app's use of network resources and optimize it to reduce 50 <dd>Learn how to test and optimize your app for the power-management features introduced in 54 <dd>Learn how to alter your app's update rate by determining, and monitoring, the current battery 60 determine, and monitor, the docking state and type of dock being used to affect your app's 65 <dd>Without Internet connectivity you can't update your app from an online source. Learn how to 66 check the connectivity status to alter your background update rate. You'll also learn to check for
|
/frameworks/base/docs/html/training/testing/unit-testing/ |
index.jd | 23 <p>Unit tests are the fundamental tests in your app testing strategy. By creating and running unit 24 tests against your code, you can easily verify that the logic of individual units is correct. 26 quickly catch and fix software regressions introduced by code changes to your app. 31 need to verify the logic of specific code in your app. For example, if you are unit testing a 32 class, your test might check that the class is in the right state. Typically, the unit of code 33 is tested in isolation; your test affects and monitors changes to that unit only. A 35 can be used to isolate your unit from its dependencies.</p> 44 <li><strong>Local tests:</strong> Unit tests that run on your local machine only. These tests are 60 <dd>Learn how to build unit tests that run on your local machine.</dd>
|
/frameworks/base/docs/html/distribute/googleplay/families/ |
start.jd | 15 <li>Complete the content rating questionnaire for your app and meet an ESRB 19 <li>Add a privacy policy link to your app?s <strong>Store Listing</strong> 23 <li>Make sure your app meets all the <a href= 30 Now that your app is ready to publish, you can opt-in to Designed for 33 that you want your app to be made available on the family-friendly 39 Opt-in also confirms that your app complies with <a href= 60 <li>Start the opt-in flow and confirm that your app meets the eligibility 62 <li>If your app has ads, confirm that it meets the ads policy. 65 <li>Choose your target age groups from: Ages 5 & Under, Ages 6 to 8, Ages 9 67 audiences). You can choose up to two adjacent age groups only if your ap [all...] |
/frameworks/base/docs/html/google/backup/ |
terms.jd | 7 <h3>1. Your relationship with Google</h3> 10 Your use of the Android Backup Service (referred to as the "Service" 18 Unless otherwise agreed in writing with Google, your agreement with Google will 24 your use of the Service. It is important that you take the time to read them 47 capacity and authority to accept these Terms. If you are accepting on behalf of your employer or 48 another entity, you represent that you have full legal authority to bind your employer 51 person from your entity consents to and accepts these Terms.</p> 80 acknowledge and agree that if Google disables your Backup Service Key, you and the Android 99 ("Package Name") for your Application as described in the documentation for the 105 uniquely associated with your Application. Your Application must include this Backup Service Key a [all...] |
/frameworks/base/docs/html/guide/practices/ |
compatibility.jd | 10 <li><a href="#how">Controlling Your App's Availability to Devices</a> 17 <li><a href="#filtering">Controlling Your App's Availability for Business Reasons</a></li> 35 the range of devices provides a huge potential audience for your app. In order for your app 40 <p>To facilitate your effort toward that goal, Android provides a dynamic app framework in which 44 the current device configuration. So with some forethought to your app design and some additional 48 <p>If necessary, however, you can specify your app's feature requirements and control 49 which types of devices can install your app from Google Play Store. This page explains how you can 50 control which devices have access to your apps, and how to prepare your apps to make sure the [all...] |
/frameworks/base/docs/html/training/efficient-downloads/ |
regular_updates.jd | 35 <p>This lesson will examine how your refresh frequency can be varied to best mitigate the effect of background updates on the underlying wireless radio state machine.</p> 39 <p>Every time your app polls your server to check if an update is required, you activate the wireless radio, drawing power unnecessarily, for up to 20 seconds on a typical 3G connection.</p> 41 <p><a href="{@docRoot}google/gcm/index.html">Google Cloud Messaging for Android (GCM)</a> is a lightweight mechanism used to transmit data from a server to a particular app instance. Using GCM, your server can notify your app running on a particular device that there is new data available for it.</p> 43 <p>Compared to polling, where your app must regularly ping the server to query for new data, this event-driven model allows your app to create a new connection only when it knows there is data to download.</p> 45 <p>The result is a reduction in unnecessary connections, and a reduced latency for updated data within your application.</p> 47 <p>GCM is implemented using a persistent TCP/IP connection. While it's possible to implement your own push service, it's best practice to use GCM. This minimizes the number of persistent connections and allows the platform to optimize bandwidth and minimize the associated impact on battery life.</p> 51 <p>Where polling is required, it's good practice to set the default data refresh frequency of your app as low as possible without detracting from the user experience.</p [all...] |
/frameworks/base/docs/html/training/permissions/ |
declaring.jd | 11 <a href="#perm-needed">Determine What Permissions Your App Needs</a> 38 the appropriate <i>permission.</i> You declare that your app needs a 46 the request. For example, if your app requests permission to turn on the 48 if your app needs to read the user's contacts, the system asks the user 54 <h2 id="perm-needed">Determine What Permissions Your App Needs</h2> 57 As you develop your app, you should note when your app is using capabilities 69 Your app only needs permissions for actions that it performs directly. Your 71 task or provide the information. For example, if your app needs to read th [all...] |
requesting.jd | 4 page.metaDescription=Learn about runtime permissions and how they make it easier for users to install and upgrade your apps. 56 <li>Normal permissions do not directly risk the user's privacy. If your app 62 data. If your app lists a normal permission in its manifest, the system 64 user has to explicitly give approval to your app. 75 On all versions of Android, your app needs to declare both the normal and the 78 that declaration is different depending on the system version and your 83 <li>If the device is running Android 5.1 or lower, <strong>or</strong> your app's target SDK 84 is 22 or lower: If you list a dangerous permission in your manifest, the user 89 <li>If the device is running Android 6.0 or higher, <strong>and</strong> your app's target SDK 101 API level. You should test your app to verify that it behaves properly whe [all...] |
/frameworks/base/docs/html/training/sync-adapters/ |
index.jd | 40 Synchronizing data between an Android device and web servers can make your application 41 significantly more useful and compelling for your users. For example, transferring data to a web 48 Although you can design your own system for doing data transfers in your app, you should 73 The system only runs your data transfer when the device has network connectivity. 79 Allows you to centralize all of your app's data transfer tasks in one place, so that they 80 all run at the same time. Your data transfer is also scheduled in conjunction with data 88 If your app requires user credentials or server login, you can optionally 89 integrate account management and authentication into your data transfer. 110 part of your app. This lesson shows you how to create a stub authentication component fo [all...] |
creating-sync-adapter.jd | 53 The sync adapter component in your app encapsulates the code for the tasks that transfer 55 your app, the sync adapter framework runs the code in the sync adapter component. To add a 56 sync adapter component to your app, you need to add the following pieces: 62 A class that wraps your data transfer code in an interface compatible with the sync adapter 69 A component that allows the sync adapter framework to run the code in your sync adapter 76 A file containing information about your sync adapter. The framework reads this file to 77 find out how to load and schedule your data transfer. 100 constructors to run setup tasks each time your sync adapter component is created from 102 activity. For example, if your app uses a content provider to store data, use the constructors 133 * If your app uses a content resolver, get an instance of i [all...] |
/external/ceres-solver/docs/source/ |
contributing.rst | 14 to merge your work into the main branch. If you are looking for ideas, 15 please let us know about your interest and skills and we will be happy 26 We now describe how to set up your development environment and submit 29 Setting up your Environment 43 which gives Google a royalty-free unlimited license to use your 58 creates `Change-Id: ...` lines in your commits. 68 5. Configure your Gerrit password with a ``.netrc`` (Mac and Linux) 78 same as your Gerrit login. 80 * Click ``Allow access`` when the page requests access to your 96 e.g. ``C:\Users\username`` where ``username`` is your use [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/ |
CONTRIBUTING.md | 5 1. Fork the repo, develop and test your code changes, add docs. 6 1. Make sure that your commit messages clearly describe the changes. 17 - While logged into your GitHub account, navigate to the `oauth2client` 19 - Fork and clone the `oauth2client` repository to your GitHub account 21 - Clone your fork of `oauth2client` from your GitHub account to your 22 local computer, substituting your account username and specifying 30 $ # repository into your local repository. 37 Now your local repo is set up such that you will push changes to you [all...] |
/frameworks/base/docs/html/guide/topics/search/ |
index.jd | 28 search framework that helps you implement search for your application.</p> 37 screen or a search widget ({@link android.widget.SearchView}) that you can embed in your activity 38 layout. In either case, the Android system will assist your search implementation by 48 <li>Provide custom search suggestions that match actual results in your application data</li> 49 <li>Offer your application's search suggestions in the system-wide Quick Search Box</li> 53 search your data. To perform a search, you need to use APIs appropriate for your data. For example, 54 if your data is stored in an SQLite database, you should use the {@link android.database.sqlite} 58 search interface in your application. When using the search dialog or a custom interface, you 59 must provide a search button in your UI that activates the search interface. For mor [all...] |
adding-recent-query-suggestions.jd | 38 in your application. 52 the suggestions, your searchable activity receives a {@link 53 android.content.Intent#ACTION_SEARCH} intent with the suggestion as the search query, which your 63 android.content.SearchRecentSuggestionsProvider} and declare it in your application manifest.</li> 66 <li>Save queries to your content provider each time a search is executed.</li> 73 <p>When the system identifies that your activity is searchable and provides search 78 query to the content provider that contains your suggestions.</li> 79 <li>Your content provider returns a {@link android.database.Cursor} that points to all 90 to your searchable activity using the normal {@link android.content.Intent#ACTION_SEARCH} 93 {@link android.content.Intent#ACTION_SEARCH} intent is delivered to your searchable activity usin [all...] |
/frameworks/base/docs/html/training/keyboard-input/ |
navigation.jd | 12 <ol>
<li><a href="#Test">Test Your App</a></li>
<li><a href="#Tab">Handle Tab Navigation</a></li>
<li><a href="#Direction">Handle Directional Navigation</a></li>
</ol> 28 interact with your app. Although most hand-held devices such as phones use touch as the 34 you optimize your app to support interaction through a keyboard. This lesson describes 38 Supporting of directional navigation in your application is also important in ensuring that 39 your application is <a href="{@docRoot}guide/topics/ui/accessibility/apps.html">accessible</a> 40 to users who do not navigate using visual cues. Fully supporting directional navigation in your 47 <h2 id="Test">Test Your App</h2> 49 <p>It's possible that users can already navigate your app using a keyboard, because the 57 <p>To test your app:</p> 59 <li>Install your app on a device that offers a hardware keyboard [all...] |
/frameworks/base/docs/html/work/ |
guide.jd | 16 <li><a href="#testing">Test Your App</a></li> 26 your Android app work best on a managed device: 31 <a href="#managed-profiles">Managed profile compatibility</a>?Modify your Android 36 your app to allow IT administrators the option to specify custom 37 settings for your apps. 40 <a href="#cosu">Corporate-owned, single-use (COSU)</a>?Optimize your 54 <li>You?re ready to modify your app so that it works best with 75 personal profile, which your user controls. These separate profiles 120 Before your app starts an activity, you should verify that the 163 to your file usin [all...] |
/development/samples/Compass/ |
AndroidManifest.xml | 18 used by the system to determine how to start your application and 23 supplies a unique name for the application. When writing your 37 name of the class within your package that implements this 41 <!-- An IntentFilter tells the system when it should use your 42 activity. This allows the user to get to your activity 43 without someone having to explicitly know to launch your
|
/external/autotest/client/profilers/powertop/src/ |
README | 10 your laptop, or a lower energy bill for your datacenter. However, a 18 pieces of information from your system and presents an overview of how 19 well your laptop is doing in terms of power savings. In addition, 21 components are the biggest offenders in slurping up your battery time. 32 maximum battery life out of your (hopefully Intel based) laptops. Try
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ |
__init__.py | 117 :param aws_access_key_id: Your AWS Access Key ID 120 :param aws_secret_access_key: Your AWS Secret Access Key 132 :param aws_access_key_id: Your AWS Access Key ID 135 :param aws_secret_access_key: Your AWS Secret Access Key 147 @param gs_access_key_id: Your Google Cloud Storage Access Key ID 150 @param gs_secret_access_key: Your Google Cloud Storage Secret Access Key 162 :param aws_access_key_id: Your AWS Access Key ID 165 :param aws_secret_access_key: Your AWS Secret Access Key 177 :param aws_access_key_id: Your AWS Access Key ID 180 :param aws_secret_access_key: Your AWS Secret Access Ke [all...] |
/external/webrtc/tools/python_charts/ |
README | 26 contents and browse to your tools/python_charts directory. 33 9. Select your Python Charts project as project 34 10. As Main Module, enter the path to your dev_appserver.py, which is a part 35 of your App Engine installation, 37 11. At the Arguments tab, enter the location of your project root. 38 Using Eclipse variables if your project name is PythonCharts:
|
/frameworks/base/docs/html/distribute/monetize/ |
premium.jd | 3 page.metaDescription=Charging users to download your apps is a simple, convenient monetization model. 12 Charging users to download your apps is a simple, convenient monetization 13 model. After creating your <a href= 16 "/distribute/googleplay/developer-console.html#selling-pricing-your-products"> 17 set prices for your apps</a> in the Developer Console. You can optionally 32 However, this model may limit your apps monetization potential, particularly
|
/frameworks/base/docs/html/distribute/users/ |
ota-installs.jd | 2 page.metaDescription=Let users send your app directly to their devices when they sign in with Google. 10 consistent across devices. With minimal effort, you can improve your sign-in conversion 12 you can offer users the option to send your app directly to their Android devices when 19 installs</a> for your web site.</p> 33 <li>Adding Google sign-in to your app can increase conversions by reducing the burden 35 <li>Focus on the quality of your app to ensure that it passes the quality threshold for
|
/frameworks/base/docs/html/topic/libraries/support-library/ |
setup.jd | 38 <p>How you setup the Android Support Libraries in your development project depends on what features 39 you want to use and what range of Android platform versions you want to support with your 43 to your development environment.</p> 73 <p>After downloading, the tool installs the Support Library files to your existing Android SDK 74 directory. The library files are located in the following subdirectory of your SDK: 80 <p>Before adding a Support Library to your application, decide what features you want to include 88 <p>In order to use a Support Library, you must modify your application's project's 89 classpath dependencies within your development environment. You must perform this procedure for 99 The following sections describe how to add a Support Library with or without resources to your 105 <p>To add a Support Library without resources to your application project:</p [all...] |
/frameworks/base/docs/html/training/accessibility/ |
index.jd | 26 pay attention to accessibility in your Android application. Cues in your user 32 built into the Android framework. It covers how to optimize your app for 36 just your own.</p> 42 <dd>Learn to make your Android application accessible. Allow for easy 54 <dd>Learn how to test your app for accessibility.</dd>
|