Android方块APIposClient.createChargeIntent()activity无系统UI?

Android Square API posClient.createChargeIntent() activity without system UI?

我和我的朋友正在建造一个 donation app for Android that we'd like to function in kiosk mode 保险箱,以便与将军 public 一起离开,以便能够自己捐款。

我们可以隐藏 MainActivity 的系统 UI,但想知道是否可以在调用时隐藏 Square Activity 的系统 UI :

Intent intent = posClient.createChargeIntent(request); startActivityForResult(intent, CHARGE_REQUEST_CODE);

或者可以进行一种无头收费请求,并且仍然通过 @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) {...

获得响应

来自 Square 的支持:

Hi Simon,

I am afraid that this feature is not currently available with Square. It is something that I believe we are looking into supporting in the future but I do not have an eta for this right now.

Please keep an eye on your developer site for news for new APIs that we make available.

Thanks,

-- Square | Customer Success squareup.com/au