Mobile 'share' functionality

muruba

New member
CX Code Contributor
3rd Party Module Dev
Tutorial Author
Patreon Silver
Joined
Jul 5, 2017
Messages
230
Hi there,

Just an idea, I am wondering if something like sharing the score from an app could be implemented on mobiles... When you click on an icon and there is this popup where you select an app to share some text with... like whatsapp, messages, skype, etc...

Thank you

Cheers
 

Lugato

New member
Joined
Jun 24, 2017
Messages
17
Muruba,

I created a abstract class for monkey to work with score for iOS and Android:
iOS : i'm using the native score that exist in monkey
Android : I'm using a native code to use Google Play Service

You can send scores, show scores for both system using the same methods based in the platform.. the problem is the class are broken and I don't have time to fix the problem .. I can share the class in a repository and someone can fix :)
 

MikeHart

Administrator
Joined
Jun 19, 2017
Messages
3,168
Share it in the general section first maybe under "how to fix this class".
 

muruba

New member
CX Code Contributor
3rd Party Module Dev
Tutorial Author
Patreon Silver
Joined
Jul 5, 2017
Messages
230
Thanks Lugato, while having scores is great, I mean "sharing" like showing this popup intent in Android which lists apps available for messaging your message to someone else...
 

Lugato

New member
Joined
Jun 24, 2017
Messages
17
Muruba,

I have another lib to share text using the share component that exist in Android.. the ideia it's to create a abstraction for the iOS and Android, but when I created the lib doesn't exist a native component to share in iOS and now exist :)

I'll share this too :)
 
Top Bottom