Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Operator to start Service #294

Open
xandro0777 opened this issue Nov 26, 2019 · 1 comment
Open

Create Operator to start Service #294

xandro0777 opened this issue Nov 26, 2019 · 1 comment
Labels
bug General label for all bugs (i.e. things not working as intended) Difficulty 2 Good for Contributor: Difficulty Level 2 feature request Proposal for new features

Comments

@xandro0777
Copy link

I am trying to trigger Handy-News-Reader to do a refresh in particular conditions.
(see also yanus171/Handy-News-Reader#358 )

Not sure if this is my stupidity or something else.. starting the service doesn't work.
The HNN Manifest has the line

<service android:name="ru.yanus171.feedexfork.service.FetcherService"/>

and this is what I am supposed to invoke. Tried various things,for example

{"name":"Do-Fetch1","version":15,"operation":[{"spec":"launch_app","data":"{\"package\":\"ru.yanus171.feedexfork\",\"class\":\"ru.yanus171.feedexfork.service.FetcherService\"}"}]}

and with this I get following in the logs:

I/ActivityManager( 2200): START u0 {flg=0x10000000 cmp=ru.yanus171.feedexfork/.service.FetcherService (has extras)} from uid 10092 on display 0
W/System.err( 9295): android.content.ActivityNotFoundException: Unable to find explicit activity class {ru.yanus171.feedexfork/.service.FetcherService}; have you declared this activity in your AndroidManifest.xml?

Any idea what I am doing wrong?

@xandro0777 xandro0777 added the bug General label for all bugs (i.e. things not working as intended) label Nov 26, 2019
@renyuneyun
Copy link
Owner

Hi,
This turns out to be a feature missing. See this post for a more complete description.

I'll try to implement it.

@renyuneyun renyuneyun added feature request Proposal for new features Difficulty 2 Good for Contributor: Difficulty Level 2 labels Nov 28, 2019
@renyuneyun renyuneyun changed the title Problem invoking service Create Operator to start Service Nov 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug General label for all bugs (i.e. things not working as intended) Difficulty 2 Good for Contributor: Difficulty Level 2 feature request Proposal for new features
Projects
None yet
Development

No branches or pull requests

2 participants