question

Nimila Hiranya avatar image
Nimila Hiranya asked Lee Tickett answered

How to open an App Page on Clover App Market/More Tools from my app

I want to open an app page on Clover App Market from my app so the users can subscribe to that app directly. Is there a way to do this?
Clover MiniApp MarketClover Station
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

·
Lee Tickett avatar image
Lee Tickett answered
Have a look at https://github.com/clover/android-examples/tree/master/checkappsubscriptionexample (though the README.md isn't clear).

Look at upgradeSubscription.setOnClickListener
Intent intent = new Intent();
intent.setAction(Intents.ACTION_START_APP_DETAIL);
intent.putExtra(Intents.EXTRA_APP_PACKAGE_NAME, "com.example.zachsubscriptionapp.app");
// Pass in one of the App's Subscription Id
intent.putExtra(Intents.EXTRA_TARGET_SUBSCRIPTION_ID, TARGET_SUBSCRIPTION);
startActivityForResult(intent, RESULT_CODE);
10 |2000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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

Welcome to the
Clover Developer Community