Device default sharing center

Monkey Targets Forums/Android/Device default sharing center

Chugs(Posted 2015) [#1]
Anyone have any simple code or a module to access a devices default sharing center? I've seen this done in games so the user can share via his or her choice


Nobuyuki(Posted 2015) [#2]
This might set you on the right path. A simple class with an external function inside that is called from a monkey wrapper should be enough to trigger the intent. I believe you can pass the string directly through the wrapper since the target is Java and native strings exist there.

http://developer.android.com/training/sharing/send.html#send-text-content


Chugs(Posted 2015) [#3]
Oh yes this should work!
I should be able to throw a simple class or module together using the code samples.
Thanks Nobuyuki!