Advertisement
basictomonokai

ZXING連絡テストプログラム

Nov 24th, 2015
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. REM Start of BASIC! Program
  2. Try :
  3.  
  4. Clipboard.get ClipMem$
  5. Clipboard.put "||sc#@#"
  6. system.open
  7. System.write "am start -a com.google.zxing.client.android.SCAN --user 0"
  8.  
  9. DO
  10. Clipboard.get Zw$
  11. UNTIL Zw$ <> "||sc#@#"
  12. system.close
  13. If Zw$ = "||sc#@#end"
  14. Cls
  15. Print "SORRY, you get nothing. If you want to start a new scan please make sure that ZXING's clipboard state is switched to on."
  16. Else
  17. Print "Scancode: "; Zw$
  18. Endif
  19.  
  20. Clipboard.put ClipMem$
  21.  
  22. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement