Posts

Showing posts with the label #Android Broadcast Receivers

Android 3.0 Hardware Acceleration

One of the biggest changes we made to Android for Honeycomb is the addition of a new rendering pipeline so that applications can benefit from hardware accelerated 2D graphics.  Hardware accelerated graphics is nothing new to the Android platform, it has always been used for windows composition or OpenGL games for instance, but with this new rendering pipeline applications can benefit from an extra boost in performance.  On a Motorola Xoom device, all the standard applications like Browser and Calendar use hardware-accelerated 2D graphics. In this article, I will show you how to enable the hardware accelerated 2D graphics pipeline in your application and give you a few tips on how to use it properly. To learn complete android course visit  OnlineITguru's    android app development course . Go faster To enable the hardware accelerated 2D graphics, open your  AndroidManifest.xml  file and add the following attribute to the  <applic...

Android – Broadcast Receivers

Image
In this lesson, we will discuss Android – Broadcast Receivers Broadcast Receivers simply respond to broadcast messages from other applications or from the system itself. These messages are sometime called events or intents. For example, applications can also initiate broadcasts to let other applications know that some data has been downloaded to the device and is available for them to use, so this is broadcast receiver who will intercept this communication and will initiate appropriate action. There are following two important steps to make BroadcastReceiver works for the system broadcasted intents − Creating the Broadcast Receiver. Registering Broadcast Receiver There is one additional steps in case you are going to implement your custom intents then you will have to create and broadcast those intents. To learn android complete course visit: android online training Creating the Broadcast Receiver A broadcast receiver is implemented as a subclass of Br...