Make calls, send sms with Corona?!

hello every one here

i’m getting start with corona,

we’re a small private studio in Taiwan for gaming board developing,

and our wish is making an app that can do some management by send/read sms or make/take call

but i find nothing like those stuff after preliminary overview API.

could someone tell that our wish is it workable with Corona?

With Corona you can open dialogs using the native.showPopUp() API call that will let you send email and SMS.  You can also use system.openURL() to open URL’s like:  tel:+1-555-555-5555 or sms:1-555-555-5555 which will background your app and launch the browser to handle sending SMS/calling those numbers.

There however is no way access any inbound text messages or access any call data or do things like answer a phone call, handle voice mail.

With Corona you can open dialogs using the native.showPopUp() API call that will let you send email and SMS.  You can also use system.openURL() to open URL’s like:  tel:+1-555-555-5555 or sms:1-555-555-5555 which will background your app and launch the browser to handle sending SMS/calling those numbers.

There however is no way access any inbound text messages or access any call data or do things like answer a phone call, handle voice mail.

Show popup gives me a popup window that offers me a choice of which app to use, however, it doesn’t let me tell it to always use that app.  This results in an extra step which is annoying to the user.  It there anyway to fix this?

I’m not sure I follow your issue.  If you call naive.showPopup(“email”, …) it should bring up a dialog box to send email using the default email client.  Are you getting an intermediate screen?  Is this Android or iOS?

I am on Android. And, yes, I am getting an intermediate screen.  It looks like the common type of menu that pops up when you have more than one option for doing something.  In this case, I am being asked which SMS app should handle the text.  I wouldn’t normally be bothered by this except it doesn’t allow me to specify which one to always use so it doesn’t have to ask next time.  The little section at the bottom which usually says something like “Just this time” vs “Always” is missing.

I get the same intermediate screen (missing the “always/just once” section) on two different android phones so I doubt it is just my build. Also, no other apps are missing this section at the bottom when they ask me to choose which app to handle an action.

Thanks

Engineering fixed this in today’s Daily build (1232) and will be available in the next public build at some point in the future.  For now, this fix is only in daily builds.

Show popup gives me a popup window that offers me a choice of which app to use, however, it doesn’t let me tell it to always use that app.  This results in an extra step which is annoying to the user.  It there anyway to fix this?

I’m not sure I follow your issue.  If you call naive.showPopup(“email”, …) it should bring up a dialog box to send email using the default email client.  Are you getting an intermediate screen?  Is this Android or iOS?

I am on Android. And, yes, I am getting an intermediate screen.  It looks like the common type of menu that pops up when you have more than one option for doing something.  In this case, I am being asked which SMS app should handle the text.  I wouldn’t normally be bothered by this except it doesn’t allow me to specify which one to always use so it doesn’t have to ask next time.  The little section at the bottom which usually says something like “Just this time” vs “Always” is missing.

I get the same intermediate screen (missing the “always/just once” section) on two different android phones so I doubt it is just my build. Also, no other apps are missing this section at the bottom when they ask me to choose which app to handle an action.

Thanks

Engineering fixed this in today’s Daily build (1232) and will be available in the next public build at some point in the future.  For now, this fix is only in daily builds.

Rob - this works now.  Thanks.  

Quick Question: how do I know when public builds are released?

Public builds are announced through various channels like our blog (the “Blog” link at the top of the page), the weekly newsletter that gets emailed to you and a few others. 

Rob - this works now.  Thanks.  

Quick Question: how do I know when public builds are released?

Public builds are announced through various channels like our blog (the “Blog” link at the top of the page), the weekly newsletter that gets emailed to you and a few others. 

On android devices, is there any way to control what appears in the sharing panel?  When I use native.showPopup(“mail”, emailOptions) , I really just want only email clients to be displayed.  Instead, I get email clients, bluetooth, wifi, and a stack of others.

It also seems to depend on the emailOptions.  For example, if emailOptions includes an attachment, I get a lot more options, like facebook, bluetooth, picasa, photos - along with the email app(s).

The exact problem, with solutions is  described here, but for native apps:

http://stackoverflow.com/questions/8701634/send-email-intent

and finally - I tried using system.openURL( “mailto:nobody@mycompany.com” ) as a test.  This restricted the list to just my installed email clients , and bizarrely, bluetooth.  This doesn’t help if you need to send attachments or HTML emails however.

thanks

On android devices, is there any way to control what appears in the sharing panel?  When I use native.showPopup(“mail”, emailOptions) , I really just want only email clients to be displayed.  Instead, I get email clients, bluetooth, wifi, and a stack of others.

It also seems to depend on the emailOptions.  For example, if emailOptions includes an attachment, I get a lot more options, like facebook, bluetooth, picasa, photos - along with the email app(s).

The exact problem, with solutions is  described here, but for native apps:

http://stackoverflow.com/questions/8701634/send-email-intent

and finally - I tried using system.openURL( “mailto:nobody@mycompany.com” ) as a test.  This restricted the list to just my installed email clients , and bizarrely, bluetooth.  This doesn’t help if you need to send attachments or HTML emails however.

thanks