Notifications, Search, Toasts – Google Android Compatibility Definition: Android 1.6 User Manual
Page 12: Reference software compatibility, Notifications 3.8.3. search 3.8.4. toasts
![background image](/manuals/552814/12/background.png)
3.8.2. Notifications
Android includes APIs that allow developers to notify users of notable events [
Resources
, 15]. Device
implementers MUST provide support for each class of notification so defined; specifically: sounds,
vibration, light and status bar.
Additionally, the implementation MUST correctly render and all resources (icons, sound files, etc.)
provided for in the APIs [
, 7], or in the Status Bar icon style guide [
, 16]. Device
implementers MAY provide an alternative user experience for notifications than that provided by the
reference Android Open Source implementation; however, such alternative notification systems MUST
support existing notification resources, as above.
3.8.3. Search
Android includes
and expose their application's data into the global system search. Generally speaking, this functionality
consists of a single, system-wide user interface that allows users to enter queries, displays suggestions
as users type, and displays results. The Android APIs allow developers to reuse this interface to provide
search within their own apps, and allow developers to supply results to the common global search user
interface.
Device implementations MUST include a single, shared, system-wide search user interface capable of
real-time suggestions in response to user input. Device implementations MUST implement the APIs that
allow developers to reuse this user interface to provide search within their own applications.
Device implementations MUST implement the APIs that allow third-party applications to add suggestions
to the search box when it is run in global search mode. If no third-party applications are installed that
make use of this functionality, the default behavior SHOULD be to display web search engine results and
suggestions.
Device implementations MAY ship alternate search user interfaces, but SHOULD include a hard or soft
dedicated search button, that can be used at any time within any app to invoke the search framework,
with the behavior provided for in the API documentation.
3.8.4. Toasts
Applications can use the "Toast" API (defined in [
, 18]) to display short non-modal strings to the
end user, that disappear after a brief period of time. Device implementations MUST display Toasts from
applications to end users in some high-visibility manner.
4. Reference Software Compatibility
Device implementers MUST test implementation compatibility using the following open-source
applications:
• Calculator (included in SDK)
• Lunar Lander (included in SDK)
• ApiDemos (included in SDK)
•
Each app above MUST launch and behave correctly on the implementation, for the implementation to be