BinaryEye icon indicating copy to clipboard operation
BinaryEye copied to clipboard

MacroDroid/Tasker API

Open wangjunmao opened this issue 3 years ago • 3 comments

Is it possible to add an API for MacroDroid/Tasker to send the Scan results to them? Such as a Intent: Tasker Intents

wangjunmao avatar Mar 20 '22 06:03 wangjunmao

This should already work with the com.google.zxing.client.android.SCAN or binaryeye://scan Intents.

You can use adb to test fire them like this:

$ adb shell am start -W -a android.intent.action.VIEW -d 'binaryeye://scan'

markusfisch avatar Mar 21 '22 11:03 markusfisch

I can fire the BinaryEye, but I cannot get the Extra from Intent:-( Like this Screenshot_20220323-223222~2 BinaryEye is the best one, so l hope BinaryEye can integrate with the automatic application.

wangjunmao avatar Mar 24 '22 02:03 wangjunmao

Well, unfortunately Tasker isn't free so I can't simply try it 😬

But your screenshot looks good so far! 🤔 The scanned code is a String in the SCAN_RESULT Extra, just like it's shown here. If I read this correctly, the scanned code is saved into the variable QRCODE.

Did you check the content of the variable QRCODE after scanning? Is it empty?

markusfisch avatar Mar 30 '22 10:03 markusfisch