米娅的android之旅
android开发群群号:84926730
摘要: 发送定位广播:Intent intent = new Intent();intent.putExtra("GpsIsAvailable", GPS_IS_AVAILABLE);intent.setAction("cn.com.miya.action.service");sendBroadcast(intent)注册广播接收者:private GpsStatusReceiver receiver = new GpsStatusReceiver();IntentFilter filter = new IntentFilter("cn.com.miy 阅读全文
posted @ 2012-09-13 15:27 程序缘儿 阅读(4991) 评论(0) 推荐(0) 编辑