2013年7月30日星期二

Twenty new things for developers in Android 4.3 Programming Eyes On Android

Twenty new things for developers in Android 4.3 Programming Eyes On Android

2013/07/30

On-screen GPU profiling in Android 4.3We’ve covered the announcement of Android 4.3 and the release of the Nexus 7 tablet, but there is another perspective to consider – the developer’s. There’s lot to mention about what is in the latest version of Jelly Bean for people building apps…

Taking the format of Gadget Master’s look at the front end – see Fifteen new things in Android 4.3 (Jelly Bean III) – let’s consider twenty new things for developers about Android 4.3 (Jelly Bean III).

The basis for the list is the Android developer site »

  1. Responsiveness – “The hardware-accelerated 2D renderer now optimizes the stream of drawing commands, transforming it into a more efficient GPU format by rearranging and merging draw operations. For multithreaded processing, the renderer can also now use multithreading across multiple CPU cores to perform certain tasks.”
  2. Improved rendering for shapes and text – “Shapes such as circles and rounded rectangles are now rendered at higher quality in a more efficient manner. Optimizations for text include increased performance when using multiple fonts or complex glyph sets (CJK), higher rendering quality when scaling text, and faster rendering of drop shadows.”
  3. Support for OpenGL ES 3.0 – “Android 4.3 introduces platform support for Khronos OpenGL ES 3.0, providing games and other apps with highest-performance 2D and 3D graphics capabilities on supported devices. You can take advantage of OpenGL ES 3.0 and related EGL extensions using either framework APIs or native API bindings through the Android Native Development Kit (NDK).”
  4. Bluetooth Smart support – “With the new APIs, your apps can efficiently scan for devices and services of interest. For each device, you can check for supported GATT services by UUID and manage connections by device ID and signal strength. You can connect to a GATT server hosted on the device and read or write characteristics, or register a listener to receive notifications whenever those characteristics change.”
  5. Support for richer streaming with Bluetooth AVRCP 1.3 – “Apps such as media players can take advantage of AVRCP 1.3 through the remote control client APIs introduced in Android 4.0. In addition to exposing playback controls on the remote devices connected over Bluetooth, apps can now transmit metadata such as track name, composer, and other types of media metadata.”
  6. Support for Restricted Profiles – “When your app runs in a profile, it can check for any restrictions configured by the owner and enforce them appropriately. For example, a media app might offer a restriction to let the owner set a maturity level for the profile. At run time, the app could check for the maturity setting and then manage content according to the preferred maturity level.”
  7. New sensors to manage – “A game rotation vector lets game developers sense the device’s rotation without having to worry about magnetic interference. Uncalibrated gyroscope and uncalibrated magnetometer sensors report raw measurements as well as estimated biases to apps.”
  8. Optimised location capabilities – “Hardware geofencing optimizes for power efficiency by performing location computation in the device hardware, rather than in software. On devices that support hardware geofencing, Google Play services geofence APIs will be able to take advantage of this optimization to save battery while the device is moving.”
  9. Wi-Fi scan-only mode – “A new platform optimization that lets users keep Wi-Fi scan on without connecting to a Wi-Fi network, to improve location accuracy while conserving battery. Apps that depend on Wi-Fi for location services can now ask users to enable scan-only mode from Wi-Fi advanced settings. Wi-Fi scan-only mode is not dependent on device hardware and is available as part of the Android 4.3 platform.”
  10. A modular DRM framework – “Enables media application developers to more easily integrate DRM into their own streaming protocols, such as MPEG DASH (Dynamic Adaptive Streaming over HTTP, ISO/IEC 23009-1).”
  11. VP8 video compression format – “For apps using native APIs, the platform includes OpenMAX 1.1.2 extension headers to support VP8 profiles and levels. VP8 encoding support includes settings for target bitrate, rate control, frame rate, token partitioning, error resilience, reconstruction and loop filters. The platform API introduces VP8 encoder support in a range of formats, so you can take advantage of the best format for your content.”
  12. New media muxer APIs – “Apps can combine elementary audio and video streams into a single output file. Currently apps can multiplex a single MPEG-4 audio stream and a single MPEG-4 video stream into a single MPEG-4 output file. The new APIs are a counterpart to the media demuxing APIs introduced in Android 4.2.”
  13. Access to notifications – “In Android 4.3, apps can observe the stream of notifications with the user’s permission and display the notifications in any way they want, including sending them to nearby devices connected over Bluetooth.”
  14. View overlays – “You can now create transparent overlays on top of Views and ViewGroups to render a temporary View hierarchy or transient animation effects without disturbing the underlying layout hierarchy. Overlays are particularly useful when you want to create animations such as sliding a view outside of its container.”
  15. Screen orientation modes – “Apps can set new orientation modes for Activities to ensure that they are displayed in the proper orientation when the device is flipped.”
  16. Accessibility services – “Starting in Android 4.3, accessibility services can observe and filter key events, such as to handle keyboard shortcuts or provide navigation parity with gesture-based input. The service receives the events and can process them as needed before they are passed to the system or other installed apps.”
  17. SELinux – “Android now uses SELinux, a mandatory access control (MAC) system in the Linux kernel to augment the UID based application sandbox. This protects the operating system against potential security vulnerabilities.”
  18. Support for WPA2-Enterprise networks – “Apps can now configure the Wi-Fi credentials they need for connections to WPA2 enterprise access points. Developers can use new APIs to configure Extensible Authentication Protocol (EAP) and Encapsulated EAP (Phase 2) credentials for authentication methods used in the enterprise. Apps with permission to access and change Wi-Fi can configure authentication credentials for a variety of EAP and Phase 2 authentication methods.”
  19. On-screen GPU profiling (pictured) – “Android 4.3 adds new developer options to help you analyze your app’s performance and pinpoint rendering issues on any device or emulator.”
  20. Android Keystore Provider – “Android 4.3 introduces a keystore provider and APIs that allow applications to create exclusive-use keys. Using the APIs, apps can create or store private keys that cannot be seen or used by other apps, and can be added to the keystore without any user interaction.”

(Image: On-screen GPU profiling in Android 4.3)


Welcome to SUV System Ltd!

SUV System Ltd is ISO 90012008 Certified electronics distributor with 10 years of experiences.

We have built up long term business relationship with about many companies which are stockers and authorized agents. we have a steady and reliable supply to meet customer's demands to the greatest extent .Confidently, we are able to lower your cost and support your business with our years of professional service.

SUV System Ltd is Electronic Components Distributor Supplies,Find Quality Electronic Components Supplies Products IC(Integrated Circuits),Connectors,Capacitor,Resistors,Diodes,Transistors,LED at Suvsystem.com. Sourcing Other Energy, Environment, Excess Inventory Products from Manufacturers and Suppliers at Suvsystem.com

Electronic Components distributor:http://www.suvsystem.com

Connectors Distributor:http://www.suvsystem.com/l/Connectors-1.html

IC Distributor:http://www.suvsystem.com/l/IC(Integrated-Circuits)-1.html

LED Distributor:http://www.suvsystem.com/l/LED-1.html

Capacitor Distributor:http://www.suvsystem.com/l/Capacitor-1.html

Transistor Distributor:http://www.suvsystem.com/l/Transistors-1.html

Resistor Distributor:http://www.suvsystem.com/l/Resistors-1.html

Diode Distributor:http://www.suvsystem.com/l/Diodes-1.html

SUV System Ltd insists on the managing faith ofsincereness,speciality,foresight, win-win,so we build up stable-relationship customers located all over the world, including the States, Europe, Argentina, UAE, Malaysia, Australia,and India etc

we are focus on the following fields,and hope we can help you.


components NEC Diodes TDK IC Zener Diodes Multi-units Transistors IR Diodes Switching Diodes ON Transistors Civil IC TOSHIBA Transistors Resistor Networks Texas Instruments(TI) IC YAGEO Resistors SANYO IC Infineon Technologies Transistors MURATA IC Renesas parts IC Fleld Effect Transistors NEC Transistors Diodes HARRIS IC About US Industrial IC Resistors Schottky Diodes IC(Integrated Circuits) IDT IC IR transistor VISHAY IC TI IC Other Parts INFLNEON Diodes ELPIDA IC Cypress IC Rectifier Diodes MOTOROLA IC Vishay resistors ST Diodes Low Ohmic Resistors Atmel IC
http://www.suvsystem.com/a/4468.aspx