Saturday, 7 May 2016

App Components


Android's application framework lets you create rich and innovative apps using a set of reusable components. This section explains how you can build the components that define the building blocks of your app and how to connect them together using intents.

INTENTS AND INTENT FILTERS
  We can discuss this in Intents with detailed.

Using DialogFragments
In this post, I’ll show how to use DialogFragments with the v4 support library (for backward compatibility on pre-Honeycomb devices) to show a simple edit dialog and return a result to the calling Activity using an interface.
Fragments For All
Today we’ve released a static library that exposes the same Fragments API (as well as the new LoaderManager and a few other classes) so that applications compatible with Android 1.6 or later can use fragments to create tablet-compatible user interfaces.
Multithreading for Performance
A good practice in creating responsive applications is to make sure your main UI thread does the minimum amount of work. Any potentially long task that may hang your application should be handled in a different thread.
Managing the Activity Lifecycle
This class explains important lifecycle callback methods that each Activity instance receives and how you can use them so your activity does what the user expects and does not consume system resources when your activity doesn't need them.
Building a Dynamic UI with Fragments
This class shows you how to create a dynamic user experience with fragments and optimize your app's user experience for devices with different screen sizes, all while continuing to support devices running versions as old as Android 1.6.
Sharing Content

This class covers some common ways you can send and receive content between applications using Intent APIs and the ActionProvider object.

No comments:

Post a Comment

Ads Inside Post