question

syslytic avatar image
syslytic asked rachel Deactivated edited

Semi-integration android via USB can't connect

We have purchased a Clover Mini to integrate with our current POS (Native Android app) like this ads : https://www.clover.com/integrations#Easy-Integration

And we just have only a short guide on github : https://github.com/clover/remote-pay-android

We try run your example found on above github, but nothing happen when plugged-in (it's still "disconnected") Tried : - built "clover-connector-android-example-pos" as debug/release/signed apk - use Tablet lenovo yoga 2, samsung tab 4, nabi big tab, emulator already

Is there any tutorial or doc that is "Easy integration" like adsvertising?

EDIT - ADB error log with Samsung Tab4 :

Terminal setup failed
                                                                                                   com.clover.remote.client.transport.usb.UsbCloverManager$UsbConnectException: Device setup failed
                                                                                                       at com.clover.remote.client.transport.usb.UsbCloverManager.connect(UsbCloverManager.java:176)
                                                                                                       at com.clover.remote.client.transport.usb.UsbCloverManager.open(UsbCloverManager.java:117)
                                                                                                       at com.clover.remote.client.transport.usb.pos.UsbAccessorySetupUsbManager.startAccessoryMode(UsbAccessorySetupUsbManager.java:84)
                                                                                                       at com.clover.remote.client.transport.usb.pos.PosUsbRemoteProtocolService.setupUsb(PosUsbRemoteProtocolService.java:206)
                                                                                                       at com.clover.remote.client.transport.usb.pos.PosUsbRemoteProtocolService.access$500(PosUsbRemoteProtocolService.java:44)
                                                                                                       at com.clover.remote.client.transport.usb.pos.PosUsbRemoteProtocolService$3.run(PosUsbRemoteProtocolService.java:177)
                                                                                                       at android.os.Handler.handleCallback(Handler.java:739)
                                                                                                       at android.os.Handler.dispatchMessage(Handler.java:95)
                                                                                                       at android.os.Looper.loop(Looper.java:145)
                                                                                                       at android.os.HandlerThread.run(HandlerThread.java:61)

Thanks,

Remote Pay Android
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Jacob Abrams avatar image
Jacob Abrams answered syslytic commented

Do you see any ADB logs on your Android device when plug in the Clover Mini?

Your Android device must serve as the USB Host, most Android devices support that but do not include the proper physical hardware port. You will likely need a USB On-The-Go adapter to plug into your android device. Then you plug the Clover Mini into the USB On-The-Go adapter USB Female A-Type port much in the same way you would plug the Clover Mini into one of your computer's USB ports for ADB debugging purposes.

2 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

sophia avatar image sophia commented ·

From our uservoice conversation, it sounds like their tablet doesn't support OTG mode. I'm redirecting them back here to finish troubleshooting.

0 Likes 0 ·
syslytic avatar image syslytic commented ·

It work well with Lenovo Yoga tablet, but doesn't with the Samsung Tab 4. Please to see ADB log at above question!

0 Likes 0 ·

Welcome to the
Clover Developer Community