对于下面的代码,如您所见,一个new Intent在 中bindService(),另一个new Intent出现在startService(). 我只是想知道最终是否会有两个意图?还是两个Intent都还可以?
bindService(new Intent(this, MusicPlayerService.class),
mPlaybackConnection, Context.BIND_AUTO_CREATE);
startService(new Intent(this, MusicPlayerService.class));