Problem with widget tutorial

General discussions about Automagic and automation in general

Moderator: Martin

Post Reply
Razguul
Posts: 1
Joined: 24 Feb 2015 06:44

Problem with widget tutorial

Post by Razguul » 24 Feb 2015 06:52

Hi,

I am new to Automagic. Tried doing the widget tutorial but in step 4 I get the following error when clicking on the bottom half of the widget:

Action not executed successfully. Could not get launch intent for package com.android.settings/.fuelgauge.PowerUsageSummary. Please define a class.

I am running on a Nexus 6 with Lollipop 5.0.1 (not rooted).

Can someone help please?

Thanks.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Problem with widget tutorial

Post by Martin » 24 Feb 2015 19:26

Hi,

Same as sent by mail:

This particular class should still be available on Android 5.
Please use the [...]-button to pick the settings app in the package
field and then use the [...]-button in the class name field to select
the PowerUsageSummary class name. You can use the magnifying glass
button on the upper right side of the dialog to locate the class by
typing "power".

You should end up with the package name set to: com.android.settings
and the class name set to: com.android.settings.fuelgauge.PowerUsageSummary

Regards,
Martin

Post Reply