Upload
dimensionx-xhris
View
148
Download
0
Embed Size (px)
Citation preview
Showing technical resources tagged with Sample:
Accelerometer PlaySample
An example of using the accelerometer to integrate the device's acceleration to a position using the Verletmethod. This is illustrated with a very simple particle system comprised of a few iron balls freely moving onan inclined wooden table. The inclination of the virtual table is controlled by the device's accelerometer.
Action Bar Compatibility new!
Sample for User Interface, Compatibility and New Features
Shows how to use the action bar on both pre-API 11 and API 11+ devices, maximizing code re-use.
Android Beam Demo new!
Sample
An example of how to use the Android Beam feature to send messages between two Android-powereddevices (API level 14 or later) that support NFC.
API DemosSample for Layouts/Views and User Interface
A variety of small applications that demonstrate an extensive collection of framework topics.
API 4+ Support DemosSample for Layouts/Views and User Interface
A variety of small applications that demonstrate the use of the helper classes in the Android API 4+ SupportLibrary (classes which work down to API level 4 or version 1.6 of the platform).
API 13+ Support DemosSample for Layouts/Views and User Interface
A variety of small applications that demonstrate the use of the helper classes in the Android API 13+ SupportLibrary (classes which work down to API level 13 or version 3.2 of the platform).
Backup and RestoreSample for Data Access, New Features and Accounts & Sync
Illustrates a few different approaches that an application developer can take when integrating with the
Technical Resources | Android Developers http://developer.android.com/resources/browser.html?tag=sample
1 de 6 28/02/2012 11:11
Android Backup Manager using the BackupAgent API introduced in Android 2.2.
Bluetooth ChatSample for Communication
An application for two-way text messaging over Bluetooth.
Bluetooth HDP Demo new!
Sample for Communication
A sample application that demonstrates how to communicate with a Bluetooth Health Device Profile (HDP)device.
BusinessCardSample for Accounts & Sync
An application that demonstrates how to launch the built-in contact picker from within an activity. This samplealso uses reflection to ensure that the correct version of the contacts API is used, depending on which APIlevel the application is running under.
Contact ManagerSample for Accounts & Sync
An application that demonstrates how to query the system contacts provider using the ContactsContractAPI, as well as insert contacts into a specific account.
Cube Live WallpaperSample for User Interface
An application that demonstrates how to create a live wallpaper and bundle it in an application that users caninstall on their devices.
Device Policy Management new!
Sample
This is a security-aware sample application that demonstrates the enforcement of device administrationpolicies on Android 2.2 or above platforms.
HomeSample
A home screen replacement application.
Honeycomb GallerySample for New Features and User Interface
An image gallery application that demonstrates a variety of new APIs in Android 3.0 (Honeycomb). Inaddition to providing a tablet-optimized design, it also supports handsets running Android 4.0 (Ice Cream
Technical Resources | Android Developers http://developer.android.com/resources/browser.html?tag=sample
2 de 6 28/02/2012 11:11
Sandwich) and beyond, so is a good example of how to reuse Fragments to support different screen sizes.
JetBoySample for Game Development and Multimedia
A game that demonstrates the SONiVOX JET interactive music technology, with JetPlayer.
Lunar LanderSample for Game Development and Multimedia
A classic Lunar Lander game.
Mobile Advertisement Integration new!
Sample
This sample demonstrates the integration of a mobile ad SDK with your application.
Multiple ResolutionsSample for User Interface, Best Practices and Layouts/Views
A sample application that shows how to use resource directory qualifiers to provide different resources fordifferent screen configurations.
News Reader new!
Sample
A sample app demonstrating best practices to support multiple screen sizes and densities.
NFC DemoSample for Data Access
An application for reading NFC Forum Type 2 Tags using the NFC APIs
Note PadSample for Data Access
An application for saving notes. Similar (but not identical) to the Notepad tutorial.
Random Music PlayerSample for Multimedia
Demonstrates how to write a multimedia application that plays music from the device and from URLs. Itmanages media playback from a service and can play music in the background, respecting audio focuschanges. Also shows how to use the new Remote Control APIs in API level 14.
RenderScriptSample for New Features, Performance, Game Development and OpenGL ES
Technical Resources | Android Developers http://developer.android.com/resources/browser.html?tag=sample
3 de 6 28/02/2012 11:11
A set of samples that demonstrate how to use various features of the RenderScript APIs.
Spell Checker Service new!
Sample for Input Methods
An example spell checker service, using the SpellCheckerService.
Spell Checker Client new!
Sample for Input Methods
An example spell checker client, using the TextServicesManager and SpellCheckerSession.
SampleSyncAdapterSample for Accounts & Sync
Demonstrates how an application can communicate with a cloud-based service and synchronize its data withdata stored locally in a content provider. The sample uses two related parts of the Android framework — theaccount manager and the synchronization manager (through a sync adapter).
Searchable Dictionary v2Sample for User Interface and Search
A sample application that demonstrates Android's search framework, including how to provide searchsuggestions for Quick Search Box.
SIP DemoSample
A demo application highlighting how to make internet-based calls with the SIP API.
SnakeSample for Layouts/Views and User Interface
An implementation of the classic game "Snake."
Soft KeyboardSample for Input Methods
An example of writing an input method for a software keyboard.
SpinnerSample for Testing
A simple application that serves as an application under test for the SpinnerTest example.
SpinnerTestSample for Testing
Technical Resources | Android Developers http://developer.android.com/resources/browser.html?tag=sample
4 de 6 28/02/2012 11:11
The test application for the Activity Testing tutorial. It tests the Spinner example application.
StackView WidgetSample for New Features and App Widgets
Demonstrates how to create a simple collection widget containing a StackView.
TicTacToeLibSample for New Features
An example of an Android library project, a type of project that lets you store and manage shared code andresources in one place, then make them available to your other Android applications.
TicTacToeMainSample for New Features
Demonstrates how an application can make use of shared code and resources stored in an Android libraryproject.
Toy VPN Client new!
Sample for Communication
A sample application that illustrates the creation of a custom VPN client.
USBSample for New Features
A set of samples that demonstrate how to use various features of the USB APIs.
Voicemail Provider new!
Sample for Data Access
A sample application to demonstrate how to use voicemail content provider APIs in Android 4.0.
Wi-Fi Direct Demo new!
Sample for New Features
A demo application to demonstrate how to use Wi-Fi Direct APIs.
WiktionarySample for User Interface and App Widgets
An example of creating interactive widgets for display on the Android home screen.
Wiktionary (Simplified)Sample for User Interface and App Widgets
Technical Resources | Android Developers http://developer.android.com/resources/browser.html?tag=sample
5 de 6 28/02/2012 11:11
Except as noted, this content is licensed under Creative Commons Attribution 2.5. For details and restrictions, see the ContentLicense.Privacy & Terms - Brand Guidelines - Report Document Issues
A simple Android home screen widgets example.
Weather List WidgetSample for App Widgets and New Features
A more complex collection-widget example which uses a ContentProvider as its data source.
XML AdaptersSample for Layouts/Views
Binding data to views using XML Adapters examples.
Text To Speech Engine new!
Sample for Accessibility
An example Text To Speech engine written using the Android text to speech engine API in Android 4.0.
Technical Resources | Android Developers http://developer.android.com/resources/browser.html?tag=sample
6 de 6 28/02/2012 11:11