Where do I declare manifest services in Android?

Nguyễn Trà

New member
Where do I declare manifest services in Android?
Answer
You declare a service in your app’s Manifest, by adding a <service> element as a child of your <application> element. There’s a list of attributes that you can use to control a service’s behavior, but as a minimum you’ll need to provide the service’s name (android:name) and a description (android:description).
 

Tìm kiếm

Back
Top