Share Button with native.showPopup

hello, is there a way to do a selection (EMAIL OR SMS) when a popup appears?

Well i want to do a share button … When the user touch this button i want to appear to him these 2 options (email/sms) . Is there a native way to appear these options??
[import]uid: 185094 topic_id: 32272 reply_id: 332272[/import]

Yes, you can open email or sms - see here for both; http://developer.coronalabs.com/reference/index/nativeshowpopup

Peach :slight_smile: [import]uid: 52491 topic_id: 32272 reply_id: 128511[/import]

hello Peach!

I have already read that reference…
do i need 2 different share buttons? One for email sharing and a second one for sms sharing? Or is there possible to develop that with one simple share button?
That is the big point that i am looking for… :wink: [import]uid: 185094 topic_id: 32272 reply_id: 128579[/import]

Yes, you can open email or sms - see here for both; http://developer.coronalabs.com/reference/index/nativeshowpopup

Peach :slight_smile: [import]uid: 52491 topic_id: 32272 reply_id: 128511[/import]

Apologies, somehow I glazed over reading your thread title - long day :wink:

You’d use two buttons as one would do email and one would do sms, these aren’t done in the background so doing both simultaneously wouldn’t work.

I hope this clarifies.

Peach :slight_smile: [import]uid: 52491 topic_id: 32272 reply_id: 128668[/import]

hello Peach!

I have already read that reference…
do i need 2 different share buttons? One for email sharing and a second one for sms sharing? Or is there possible to develop that with one simple share button?
That is the big point that i am looking for… :wink: [import]uid: 185094 topic_id: 32272 reply_id: 128579[/import]

But what would be cool is to have access to the devices share menu!!! One button to bring up the share screen and then Twitter, FB, Email, SMS, Printing etc. would all be available to us…

[import]uid: 19626 topic_id: 32272 reply_id: 128679[/import]

Rob that is exactly what i am looking for! But is this possible with corona?? [import]uid: 185094 topic_id: 32272 reply_id: 128727[/import]

You would have to roll your own and you would not have access to printing. Corona can send emails, SMS and post to Facebook and Twitter, but not using the iOS5/6 Twitter integrated accounts and the iOS6 integrated Facebook account.

The folks at Corona Labs are slammed right now, but this probably should go on the Feature Request… maybe native.showPopUp() can be extended to have a “social” option. Dunno what kind of difficulty that adds.

[import]uid: 19626 topic_id: 32272 reply_id: 128761[/import]

Apologies, somehow I glazed over reading your thread title - long day :wink:

You’d use two buttons as one would do email and one would do sms, these aren’t done in the background so doing both simultaneously wouldn’t work.

I hope this clarifies.

Peach :slight_smile: [import]uid: 52491 topic_id: 32272 reply_id: 128668[/import]

But what would be cool is to have access to the devices share menu!!! One button to bring up the share screen and then Twitter, FB, Email, SMS, Printing etc. would all be available to us…

[import]uid: 19626 topic_id: 32272 reply_id: 128679[/import]

Rob that is exactly what i am looking for! But is this possible with corona?? [import]uid: 185094 topic_id: 32272 reply_id: 128727[/import]

You would have to roll your own and you would not have access to printing. Corona can send emails, SMS and post to Facebook and Twitter, but not using the iOS5/6 Twitter integrated accounts and the iOS6 integrated Facebook account.

The folks at Corona Labs are slammed right now, but this probably should go on the Feature Request… maybe native.showPopUp() can be extended to have a “social” option. Dunno what kind of difficulty that adds.

[import]uid: 19626 topic_id: 32272 reply_id: 128761[/import]

Hey,

seems like all that’s missing now is the native.showPopup(“facebook”, options)…

I’d like to know, is it possible to extend your Facebook integration in xcode in any way? Since we rely on your Facebook implementation for everything else (session handling etc), it’s out of the question to roll our own from scratch. But if there is a way to write a class in Corona Enterprise that extends your implementation to add the missing native facebook popup in Corona, I’d like to know…

Unless it’s in a daily build soon? :slight_smile: [import]uid: 21746 topic_id: 32272 reply_id: 138363[/import]

Heh, we took a shot at implementing the native sharing dialog as an Enterprise plugin, and it worked right away. It was really simple to do this. And it looks awesome :slight_smile: We even managed to get this into todays Apple submission for both the Quopples and MindFeud updates.

Coronalabs; with your current facebook and native.showPopup implementation, adding this is a matter of minutes of work, and I bet your users would be very happy for it. And also everyone _using_ a Corona powered app - it’s just a way better user experience.

:slight_smile: [import]uid: 21746 topic_id: 32272 reply_id: 138492[/import]

Hey,

seems like all that’s missing now is the native.showPopup(“facebook”, options)…

I’d like to know, is it possible to extend your Facebook integration in xcode in any way? Since we rely on your Facebook implementation for everything else (session handling etc), it’s out of the question to roll our own from scratch. But if there is a way to write a class in Corona Enterprise that extends your implementation to add the missing native facebook popup in Corona, I’d like to know…

Unless it’s in a daily build soon? :slight_smile: [import]uid: 21746 topic_id: 32272 reply_id: 138363[/import]

Heh, we took a shot at implementing the native sharing dialog as an Enterprise plugin, and it worked right away. It was really simple to do this. And it looks awesome :slight_smile: We even managed to get this into todays Apple submission for both the Quopples and MindFeud updates.

Coronalabs; with your current facebook and native.showPopup implementation, adding this is a matter of minutes of work, and I bet your users would be very happy for it. And also everyone _using_ a Corona powered app - it’s just a way better user experience.

:slight_smile: [import]uid: 21746 topic_id: 32272 reply_id: 138492[/import]

Wow yeah I’d pay money for that. I’ve got the “move and fire” corona game on my android device and it looks like the guys that made that game also managed to make use of the native share. If so many studios are implementing this can someone please sell their code as a plugin for the pro users if Corona isn’t going to make that part of their SDK anytime soon?

Being able to share is such an important part of marketing an app and is a massive contributor to an apps success so if you think about it, the more people can share their apps and subsequently make money, the more developers will turn to and keep using Corona.

Hi, we’ve created plugins for all of this now; a plain native facebook sharing dialog, a native contact picker, a native date picker and a native sharing popup. The native sharing popup is the one you see on ios 6 when you for instance want to share an image from the photos app.

Are those plugins for sale and can they be used by corona Pro users or are you just showing off :stuck_out_tongue: