tyvm!
look, tried to modify my code to accomplish what u said (didn't get it very
clear)
so here's the final solution i got by trying your tip out:
try {
Intent mainIntent = new Intent(Intent.ACTION_MAIN);
ComponentName batteryUseComponent = new ComponentName(
"com.android.settings", "com.android.settings.fuelgauge.PowerUsageSummary");
mainIntent.setComponent(batteryUseComponent);
startActivity(mainIntent);
} catch (ActivityNotFoundException e) {
Log.v("com.wtf.holysheet", "Activity Not Found!");
}
the core problem: ComponentName("com.android.settings",
"com.android.settings.fuelgauge.PowerUsageSummary");
i was trying it without it's full "path" (fuelgauge.PowerUsageSummary)
tks again!
--
*Diego Queiroz*
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en