I wrote this some time ago. Still relevant ;-)
Shared publiclyView activity