beautypg.com

Software, Managed api compatibility – Google Android Compatibility Definition: Android 1.6 User Manual

Page 5

background image

13. Dalvik Virtual Machine specification, found in the dalvik/docs directory of a source code

checkout; also available at

http://android.git.kernel.org/?p=platform/

dalvik.git;a=tree;f=docs;h=3e2ddbcaf7f370246246f9f03620a7caccbfcb12;hb=HEAD

14. AppWidgets:

http://developer.android.com/guide/practices/ui_guidelines/widget_design.html

15. Notifications:

http://developer.android.com/guide/topics/ui/notifiers/notifications.html

16. Status Bar icon style guide:

http://developer.android.com/guide/practices/ui_guideline

/icon_design.html#statusbarstructure

17. Search Manager:

http://developer.android.com/reference/android/app/SearchManager.html

18. Toast:

http://developer.android.com/reference/android/widget/Toast.html

19. Apps For Android:

http://code.google.com/p/apps-for-android

20. Android apk file description:

http://developer.android.com/guide/topics/fundamentals.html

21. Android Debug Bridge (adb):

http://code.google.com/android/reference/adb.html

22. Dalvik Debug Monitor Service (ddms):

http://code.google.com/android/reference/ddms.html

23. Monkey:

http://developer.android.com/guide/developing/tools/monkey.html

24. Display-Independence Documentation:
25. Configuration Constants:

http://developer.android.com/reference/android/content/res/

Configuration.html

26. Display Metrics:

http://developer.android.com/reference/android/util/DisplayMetrics.html

27. Camera:

http://developer.android.com/reference/android/hardware/Camera.html

28. Sensor coordinate space:

http://developer.android.com/reference/android/hardware/

SensorEvent.html

29. Android Security and Permissions reference:

http://developer.android.com/guide/topics/security/

security.html

Many of these resources are derived directly or indirectly from the Android 1.6 SDK, and will be
functionally identical to the information in that SDK's documentation. In any cases where this
Compatibility Definition disagrees with the SDK documentation, the SDK documentation is considered
authoritative. Any technical details provided in the references included above are considered by inclusion
to be part of this Compatibility Definition.

3. Software

The Android platform includes both a set of managed ("hard") APIs, and a body of so-called "soft" APIs
such as the Intent system, native-code APIs, and web-application APIs. This section details the hard and
soft APIs that are integral to compatibility, as well as certain other relevant technical and user interface
behaviors. Device implementations MUST comply with all the requirements in this section.

3.1. Managed API Compatibility

The managed (Dalvik-based) execution environment is the primary vehicle for Android applications. The
Android application programming interface (API) is the set of Android platform interfaces exposed to
applications running in the managed VM environment. Device implementations MUST provide complete
implementations, including all documented behaviors, of any documented API exposed by the Android
1.6 SDK, such as:

1. Core Android Java-language APIs [

Resources

, 5].

2. Content Providers [

Resources

, 6].

3. Resources [

Resources

, 7].

4. AndroidManifest.xml attributes and elements [

Resources

, 8].