question

anil avatar image
anil asked Jacob Abrams commented

how to get register app package name

I want to get package name of register app because according to my need i want to kill register app after payment completed from register app.

Remote Pay Android
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.

Hello, is there a specific reason why you want to kill the Register app? What about the Sale app? Have you tried using Android PackageManager to see what apps are installed?

0 Likes 0 ·

Android OS does not provide an API that allows one app to kill another app.

0 Likes 0 ·

1 Answer

· Write an Answer
Nicholas Ho avatar image
Nicholas Ho answered

You can use Android PackageManager to see what apps are installed but if just need the package name for the Register app:

com.clover.register

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