Framework API Changes The sections below provide information about changes made to the application framework API provided by the Android 2.2 platform. The platform also provides a RecognitionService base class that lets third-party developers create plug-in recognition engines. New manifest elements and attributes For specifying the application&aposs preferred install location (see App Installation on External Storage Media, above New android:installLocation attribute of the manifest element. Better support for managed dialogs in Activity.
Aplicaciones android - Android Apps on Google Play
For example, the APIs are sufficient to integrate voice recognition deeply into an IME. Application developers can express the preferred installation location for their applications by means of a new attribute of manifest in the manifest file, android:installLocation. The attribute supports three values: "internalOnly "preferExternal and "auto". New broadcast intent for routing audio to SCO ACTION SCOAUDIO STATE CHANGED with extras indicating new state. Permissions NDDEVICE ADMIN Any device administration broadcast receiver must require this permission, to ensure that only the system can interact with it. Better support for managed dialogs in Activity.
Data backup The platform now provides a generalized backup service that applications can use to backup and restore user data, to ensure that users can maintain their data when switching devices or reinstalling the application. For more information about setting a preferred install location for your application, including a discussion of what types of applications should and should not request external installation, please read the App Install Location document. Permissions NDDEVICE ADMIN Any device administration broadcast receiver must require this permission, to ensure that only the system can interact with it. The Backup Manager handles the work of transporting the application data to and from the backup storage area in the cloud. Device policy manager New device policy management APIs allow developers to write "device administrator" applications that can control security features of the device, such as the minimum password strength, data wipe, and so on.
Specifies the default install location defined by an application. For more information, see the min classees or the example application code in DeviceAdminSample. The Backup Manager handles the work of transporting the application data to and from the backup storage area in the cloud. API Level: 8 Android 2.2 is a minor platform release including user features, developer features, API changes, and bug fixes. Graphics Media New APIs in dioManager for managing audio focus, transport control, transient loss of audio focus, ducking. Application developers can express the preferred installation location for their applications by means of a new attribute of manifest in the manifest file, android:installLocation.
DESCARGAR APLICACIONES PARA ANDROID
Boolean value that indicates whether the application is prepared to attempt a restore of any backed-up dataset, even if the backup is apparently from a newer version of the application than is currently installed on the device. Note that the platform will continue to honor uses of fillparent in legacy applications. However, it is possible to configure and compile a legacy application such that it is installed internally on older versions of the platform and externally on Android 2.2 and later platforms, if necessary. Application developers can express the preferred installation location for their applications by means of a new attribute of manifest in the manifest file, android:installLocation. Device policy manager New device policy management APIs allow developers to write "device administrator" applications that can control security features of the device, such as the minimum password strength, data wipe, and so on. This means that the system will always install legacy applications onto internal memory, since they do not have access to the android:installLocation attribute.
API Level The Android 2.2 platform delivers an updated version of the framework API. To get started developing or testing against Android 2.2, use the Android SDK Manager to download the platform into your SDK. The layout attribute fillparent is renamed to matchparent. UI Framework New UI modes "car mode" and "night mode" and UiModeManager let applications adjust their application UI for specific user modes. Note that requesting installation onto the device&aposs external media is not suitable for all applications, particularly because the external media may be removable and unmountingremounting may disrupt the user experience and system settings. Specifies the default install location defined by an application.
The Backup Manager can store any type of data, from arbitrary data to files, and manages backup and restore operations in an atomic manner. Speech recognition and third-party recognition engines The platform provides new speech-recognition APIs that allow applications to have a richer interaction with the available voice recognizer. Graphics Media New APIs in dioManager for managing audio focus, transport control, transient loss of audio focus, ducking.
No hay comentarios:
Publicar un comentario
Nota: solo los miembros de este blog pueden publicar comentarios.