Sam J
Sam J

Reputation: 55

Is there a way to programmatically launch samsung's device maintenance from my app?

In lieu of a cache wipe functionality (since normal apps can't get access to 3rd party app cache directories) I want to launch the device maintenance storage screen built into Samsung phones. What is the package name i need to put for the intent?

Upvotes: 1

Views: 574

Answers (1)

Yossi
Yossi

Reputation: 347

check if manufactorer is samsung:

if (Build.MANUFACTURER.equals("samsung"))

then

startActivity(new Intent(Intent.ACTION_VIEW).setPackage("com.samsung.android.lool"));

Upvotes: 2

Related Questions