I'm following the guide to creating an Android app that listens for a barcode reader here:
I'm trying to debug the barcodescanner.RECVR intention - my phone is connected via USB and I expect debugging because I call ADB devices I can see the device and see the log from the phone. But when I try to use ADB and do broadcast, nothing happens:
ADB shell is broadcast- a wmsmobileapp.activities.MainActivity -c android.intent .category.DEFAULT -d "Some Data"
Returns:
Broadcast: intent {act = wmsmobileapp.activities.MainActivity cat = [android.intent .category.DEFAULT] dat = NOR1-A1-FA-S 1-B1} Broadcast completed: result = 0
I am very new to Android development, therefore, Broadcast simulator In addition to trying to have went too happy. Is my order wrong or am I missing?
No comments:
Post a Comment