Automated service starting/ending

Post your questions and help other users.

Moderator: Martin

Post Reply
morghus
Posts: 1
Joined: 13 May 2014 06:25

Automated service starting/ending

Post by morghus » 13 May 2014 06:33

Hey there! Been trying like the devil to make this work, but for some reason it hasn't. I will add a caveat that I'm entirely new at this.

I wish to use a service like MightyText, and I want it to fire up when I connect it to a power source. This works quite well, it fires up easily. The problem is that killing the app when unplugging it just makes the service restart it, and I've yet to be able to find a way to kill the service, from Kill App and such, to using am force-stop <com.texty.sms> found here, but it's just not working.

Any thoughts or ideas, something I've missed?

BoBo
Posts: 129
Joined: 05 May 2014 12:45

Re: Automated service starting/ending

Post by BoBo » 13 May 2014 09:27

Slightly off topic ...

Thx for mentioning MightyText.
I'm not an US citizen and therefore a default target of the NSA.
So being as paranoid as a US Homeland Security agent I'd decided NOT to use that service for that single reason (beside others):

User Conduct and Submissions

[...]

You give the party (the “Account Holder”) who owns the domain name as hosted on the Service in which you post your Content (the “Hosted Area”) a non-exclusive, royalty-free, worldwide, perpetual, irrevocable , fully-sublicensable license to publish and use your Content. In addition to the right to publish, you also grant the Account Holder under said license the following rights, without limitation: (i) the right to reproduce or copy or create derivative works thereof; (ii) the right to transfer, deliver, and sell the Content, which includes the distribution via computer and networks; (iii) the right to edit, modify, adapt, arrange, improve, correct, develop, translate, in all or in part; (iv) the right to update/upgrade by adding or removing; (v) the right to film, perform or post the Content in any media, and (vi) the right to use or incorporate all or any part of the Content in any products or services of the Account Holder (whether or not associated with the Service). Except as described in our Privacy Policy, neither the Company nor any Account Holder will be required to treat any Content as confidential. By posting Content you hereby waive any and all rights to be compensated by UserVoice or any Account Holder for such Content.

In order to operate and improve the Service, the Company needs the right to make certain uses of your Content as well. Therefore, when you post Content in any Hosted Area, you also agree to grant the Company an irrevocable, perpetual, worldwide, royalty-free, fully sublicenseable, non-exclusive license to copy, distribute, sell, publicly display, publicly perform and make derivative works of your Content on the Service and on services affiliated with the Service regardless of the form of media used or of whether such services now exist or are developed in the future.

[...]
I haven't finished reading their "privacy" policy but I assume that somewhere at the footnote section I'll find that you've sold your soul to them. Stay tuned ... :mrgreen:

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

Re: Automated service starting/ending

Post by Martin » 14 May 2014 18:04

Hi,

Force-stop should work when you remove the angle brackets <> in the command.
The command to force-stop the app in action Execute Root Command should look like this: am force-stop com.texty.sms

Regards,
Martin

Post Reply