Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Android services in hindi
1. You can download this pdf from www.besthinditutorials.com
Android Services
इस tutorial android services Android services
न स इ न Android services
औ नन स suggest android components
What are android services ?
इसस न service इ न service न
-
ए service separate सस न ए न
ए service thread न
इ अ service -
Service ए facility सस android system स
background न
Service ए facility सस ए ए न अ न functionality
स applications expose स
service स <service> declaration AndroidManifest.xml file न ए
Services context.startService() औ context.bindService() स स
स
service component ए android system component initiate
औ इस onCreate() . स life cycle method
execute service depend स स complete
न
2. You can download this pdf from www.besthinditutorials.com
ए service 2 forms स -
Started - ए service started service component
startService() ए न service
execute इस ए न component destroy
operation service automatically stop
Bounded - ए ए न bound component bindService()
service bind ए bound service client server
interface इ सस component service स interact
स
ए service create न ए ए स create न
base Service स extend . ए service callback स
implement स औ appropriate stage अ न
स स service 2 स स ए
startService() स bindService() स
Service base स methods इ अ न स
स implement स important स न ए -
onStartCommand() - Android system इस
स component स activity startService() service
start न ए request स service
औ execute अ इस
implement stopService() service न
onBind() - Android system component
bindService() service स bind न
इस implement ए interface इ न ए
सस clients service स communicate स
onCreate() - Android system इस method service
इ ए स ए
onDestroy() - Android system इस service
अ न औ destroy
3. You can download this pdf from www.besthinditutorials.com
अ component service startService()
service न stopSelf ()
न स component stopService() service
अ component service bindService()
service न component service स bound स service
स clients स unbound android system service destroy
Android system service forcefully stop memory
औ स user focus activity ए resources न
Declaring service in AndroidManifest.xml file
Activities स services AndroidManifest.xml file अ
न
Service अ न ए <service> ए <application> ए
child स
औ स attribute service ए include स औ
properties इन स स service न ए permissions
औ स process service न इन स android :
name attribute service स specify
Creating a service
4. You can download this pdf from www.besthinditutorials.com
Started service
ए started service service स components startService()
service start इस ए life cycle
न component स अ न component destroy
service न
Started service create न ए स 2 स available -
Service - स services स स इस स ए
services न ए ए न thread ए
by default service main thread स न स activity
performance slow
IntentService - Service स sub class . स request न
ए class ए worker provide . न स ए ए
request स ए न ए स स requests
न न न IntentService स implement न ए
स स अ न
इ अ नन स स component स activity
स स -
स component स service न ए startService() intent स
स Android system service onStartCommand()
औ स intent स
Example
Intent yrIntent = new Intent(this, yrclass.class);
startService(yrIntent);
इ अ service stop स -
5. You can download this pdf from www.besthinditutorials.com
Started service stop न android system न . Service
stopSelf() method stop न
स component stopService() service stop स
Bounded Service
ए bounded service service स स स components bindService()
bind bound service create न ए
activity औ स components service स interact स Bound
service अ न ए न functionality स ए न
expose स
Bound service ए न ए Service स onBind() method
implement न ए IBinder return service स
communication ए interface define
स components bindService() interface स स
service स bounded components destroy न service destroy न
Read more tutorials on android in hindi at www.besthinditutorials.com