private srv srv;
...
onCreat(){
...
Intent sinta = new Intent(this, srv.class);
bindService(sinta, serviceConncetion, Context.BIND_AUTO_CREATE);
...
}

.
private ServiceConnection serviceConncetion = new ServiceConnection() {
public void onServiceConnected(ComponentName name, IBinder service) {
srv = ((srv.MyBinder)service).getService();
}
public void onServiceDisconnected(ComponentName name) {
srv = null;
}
};

...

service 를 제어 하려고 구글링 하면서 대충 소스 짜집기 했늗네

srv.function();

이렇게 하면 동작은 하는데 어플 종료 할때 에러를 뿜내요 ㅠㅠ

혹시 어떻게 해야 할까요 ? 아니면 더 자세한 설명이 필요 한가요 ?