我编写了一个实现LocationListener接口(interface)的IntentService。首次调用OnLocationChanged()方法时,服务应发送一条消息。但是永远不会调用OnLocationChanged()。这是我的代码:publicclassMyIntentServiceextendsIntentServiceimplementsLocationListener{privateintresult=Activity.RESULT_CANCELED;protectedMessengermMessenger;protectedLocationManagermLoc