Problem with intents

Post your questions and help other users.

Moderator: Martin

Post Reply
mrocha
Posts: 29
Joined: 18 Nov 2014 18:16

Problem with intents

Post by mrocha » 03 Dec 2014 22:25

An App called Ftp Server Pro, in your description, speak than he have some intents, than is 2:

com.theolivetree.ftpserver.StartFtpServer

com.theolivetree.ftpserver.StopFtpServer

I try use Start Activity, I try use the first intent, on fields, Action, Category, Explicit, I try also add Ftp Server app on Explicit and intent on field Class , nothing work to me, is something wrong in my Action, is an problem on Automagic or in Ftp Server? All times it result in an Error Notification.

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

Re: Problem with intents

Post by Martin » 05 Dec 2014 09:43

Hi,

Maybe the FtpServer app expects the intents to be sent as broadcasts. Please try to use action Send Broadcast with field Action set to com.theolivetree.ftpserver.StartFtpServer.
Let me know if it works so I can add the broadcasts to the examples in the next version of Automagic.

Regards,
Martin

mrocha
Posts: 29
Joined: 18 Nov 2014 18:16

Re: Problem with intents

Post by mrocha » 08 Dec 2014 18:20

In my first test, using Start Activity, if I add FTP Server on Explicit, in class not show the options to Start or Stop server, using Send Broadcast, if you add the app in Explicit, in Class, now, show Start and Stop options, and work. An suggestion, remove the default music example, or move this to an menu, like on Start Activity.

Thanks by reply.

Post Reply