I'm looking for the intent of a Root Explorer (e.g. Super Manager, Root Explorer...) I just want to create a button that opens this explorer. I found the intent of OI Filemanager but this has no root function.
Asked
Active
Viewed 1,102 times
0
-
1Contact the developers at support@speedsoftware.co.uk and ask them. – CommonsWare Nov 19 '11 at 22:51
2 Answers
1
Try this
Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
intent.setType("file/*");
intent.setData(Uri.parse("file://"));
startActivity(intent);

Viswanath Lekshmanan
- 9,945
- 1
- 40
- 64
1
Open another application from your own (intent)
Here is one of the ways:
Intent intent = new Intent("android.intent.action.MAIN");
intent.setComponent(ComponentName.unflattenFromString("com.google.android.maps.mytracks/com.google.android.apps.mytracks.MyTracks"));
intent.addCategory("android.intent.category.LAUNCHER");
startActivity(intent);
That link above should have all the info you need, though.
Of course, this method doesn't open the file explorer specifically. You would have to change the package name appropriately.
-
Thx for your help :) I know now how it works Intent i = getPackageManager().getLaunchIntentForPackage("gpc.myweb.hinet.net.TaskManager"); startActivity(i); – B770 Nov 20 '11 at 11:22