[WirelessPowerShare] How to use intent code?

Hi, I'm HongJae.
I'm developing an application related to Smartphone Wireless PowerShare.

I couldn't find proper intent command,
So I ask for your help.

Only what I found is the log from android studio.

For examples,
D/BatteryService: Sending ACTION_WIRELESS_POWER_SHARING_ENABLED.
D/PowerAhreActivity: wirelessCharginStop

Could you give me some hint on
how to use these log commands with the ActivityStarter?

Thanks,

you could try the Activity Starter Extension by pepemont, which additionally is able to pass boolean and long values

try to set the Action to WIRELESS_POWER_SHARING_ENABLED
and set the parameter Extras to a list of lists with only one sublist having the tag enabled and the value B.true

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

Thank you for your suggestion,

I tried your suggestion, but action "WIRELESS_POWER_SHARING_ENABLED" give an error
that "Error 601: No corresponding activity was found"

,and Extras list also doesn't work.

following is my code

My main problem is that I couldn't find any action command for Wireless PowerShare of S10.
Therefore, I tried to find it from log cat, but it was hard to infer exact action from log.

Do you have any other suggestions?

Thanks,

Hi

A list of lists:

correct...
and additionally the text B.true rather than a boolean true

Any key starting with "B." or "l." will be passed as boolean or long respectively.

Taifun