我想知道 android 意图的格式是什么。IE,我应该将什么传递给该方法:
getBaseContext().startService(Intent);
如果我想通过这个:
android.provider.CallLog.Calls.CONTENT_URI
我可以吗?会是什么格式。
有人可以很好地解释如何使用 Intent,以及如何在 Service 实现中使用它,例如startService()
,或onStartCommand (Intent intent, int flags, int startId)
。
谢谢!