Trigger: GCM (Push notification) handler
Moderator: Martin
-
- Posts: 1
- Joined: 08 May 2013 07:45
Trigger: GCM (Push notification) handler
It would be great if it were possible to control the device through the GCM.
Re: Trigger: GCM (Push notification) handler
???[...]
Basically to trigger an heartbeat you only need those 2 lines (those are undocumented, I it discovered by decompiling GSF):
where context is the application context.Code: Select all
context.sendBroadcast(new Intent("com.google.android.intent.action.GTALK_HEARTBEAT")); context.sendBroadcast(new Intent("com.google.android.intent.action.MCS_HEARTBEAT"));
[...]
"Push Notifications Fixer" - Thread
BoBo
Re: Trigger: GCM (Push notification) handler
+1!
Would be very handy.
Currently it could be achieved by "AutoRemote" plugin for native support is always better.
Would be very handy.
Currently it could be achieved by "AutoRemote" plugin for native support is always better.
Re: Trigger: GCM (Push notification) handler
Pushbullet also has plugin support for automation apps (see trigger Plugin Event when Pushbullet is installed)
Re: Trigger: GCM (Push notification) handler
+1
Good to have native triggers:
- Send Google Cloud Messaging (GCM)
- Receive Google Cloud Messaging (GCM)
Now a day, any android cloud apps can't real time two-way sync across multiple devices. I don't know why it's so hard to do these feature. GCM can handle these job very well. GCM can also work as remote control, centralize, chat that very useful for Automagic users.
Good to have native triggers:
- Send Google Cloud Messaging (GCM)
- Receive Google Cloud Messaging (GCM)
Now a day, any android cloud apps can't real time two-way sync across multiple devices. I don't know why it's so hard to do these feature. GCM can handle these job very well. GCM can also work as remote control, centralize, chat that very useful for Automagic users.
Re: Trigger: GCM (Push notification) handler
Variables are not provided, settings are not saved after I press "configure" button again...Martin wrote:Pushbullet also has plugin support for automation apps (see trigger Plugin Event when Pushbullet is installed)
All systems nominal.
Re: Trigger: GCM (Push notification) handler
All systems nominal.
Re: Trigger: GCM (Push notification) handler
GCM would be a great addition to AM. It would eliminate the need for clunky plug-ins like autoremote or AirTask (which doesn't even work). I don't know how time consuming it is to implement though, but I think it's a useful feature. What are your thoughts Martin?