AndroidManifest.xml dosyası içine application taginin içine aşağıdaki şekilde Servisi eklemeliyiz. [code lang=”xml”] <application> … <service android:name=".Servis"/> </application> //Activity içinde servis başlatma Intent serviceIntent = new Intent(getApplicationContext(), Servis.class); startService(serviceIntent); //Activity içinde çalışan servisi durdurma Intent serviceIntent = new Intent(getApplicationContext(), Servis.class); stopService(serviceIntent);…