修改接收广播动作
This commit is contained in:
@ -2455,7 +2455,7 @@ public class DjActivity extends TabActivity implements OnInitListener, DecodeInf
|
|||||||
public void start() {
|
public void start() {
|
||||||
mScanManager.startDecode();
|
mScanManager.startDecode();
|
||||||
IntentFilter filter = new IntentFilter();
|
IntentFilter filter = new IntentFilter();
|
||||||
filter.addAction(""); //添加action
|
filter.addAction("android.intent.ACTION_DECODE_DATA"); //添加action
|
||||||
registerReceiver(this, filter);
|
registerReceiver(this, filter);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user