Site hosted by Angelfire.com: Build your free website today!

You can begin a convey by passing an Intent to systems, for instance, sendBroadcast(), sendOrderedBroadcast(), or sendStickyBroadcast(). You can play out a request to a substance provider by calling question() on a ContentResolver. For more information about using objectives, see the Intents and Intent Filters report. The going with documents give more information about activating specifc parts: Activities, Services BroadcastReceiver, and Content Providers.

 

Before the Android system can start an application section, the structure must understand that the fragment exists by scrutinizing the application's show archive, AndroidManifest.xml. Your application must announce each one of its parts in this record, which must be at the establishment of the application wander registry.


The show finishes different things despite broadcasting the application's fragments, for instance, the going with:

Recognizes any customer approvals the application requires, for instance, Internet access or read-access to the customer's contacts. Articulates the base API Level required by the application, in light of which APIs the application occupations. Articulates hardware and programming features used or required by the application, for instance, a camera, bluetooth organizations, or a multitouch screen.

 

Declares API libraries the application ought to be associated against (other than the Android framework APIs, for instance, the Google Maps library. The fundamental task of the show is to teach the system about the application's parts. For example, a show archive can report a development as takes after. The system perceives the portions that can respond to an arrangement by standing out the point got from the objective directs gave in the show record of various applications on the contraption.


When you declare an activity in your application's show, you can on the other hand fuse point channels that announce the limits of the development so it can respond to desires from various applications. You can declare a desire channel as far as it matters for you by including a segment as a posterity of the section's announcement segment.

 

For example, if you produce an email application with a development for making another email, you can declare an objective channel to respond to "send" plans (in order to send another email), as showed up in the going with outline:

 

There are a grouping of contraptions controlled by Android and only one out of every odd one of them give comparable features and limits apks download. To shield your application from being presented on devices that need features required by your application, it's basic that you clearly describe a profile for the sorts of contraptions your application supports by reporting device and programming necessities in your show record. A huge part of these disclosures are instructive just and the system does not read them, but instead external organizations, for instance, Google Play do read them remembering the ultimate objective to offer isolating to customers when they check for applications from their contraption.

 

For example, if your application requires a camera and usages APIs displayed in Android 2.1 (API Level 7), you ought to report these as necessities in your show record as showed up in the going with delineation: An Android application is made out of an option that is other than code—it requires resources that are separate from the source code, for instance, pictures, sound records, and anything relating to the visual presentation of the application. For example, you can portray livelinesss, menus, styles, tones, and the outline of development UIs with XML records. Using application resources makes it easy to revive diverse properties of your application without evolving code. Giving game plans of elective resources enables you to overhaul your application for a grouping of contraption outlines, for instance, uncommon lingos and screen sizes.