Is that possible?
Would use it to not show the Fortumo payment option if there is no SIM card.
Is that possible?
Would use it to not show the Fortumo payment option if there is no SIM card.
Have you looked at this function:
http://docs.coronalabs.com/plugin/fortumo/findService.html
It should let you know if the service is available or not.
That function sounds good.
But guess I will no need this as Fortumo can also be used on devices without SIM card (as described here http://forums.coronalabs.com/topic/39603-paying-on-nook-and-tablets-without-sim-card/).
Have you looked at this function:
http://docs.coronalabs.com/plugin/fortumo/findService.html
It should let you know if the service is available or not.
That function sounds good.
But guess I will no need this as Fortumo can also be used on devices without SIM card (as described here http://forums.coronalabs.com/topic/39603-paying-on-nook-and-tablets-without-sim-card/).
Found this:
if ( native.canShowPopup( “sms” ) ) then
local options = {
to = { “1234567890”, “9876543210” },
body = “I scored over 9000!!! Can you do better?”
}
local result = native.showPopup( “sms”, options )
else
print( “SMS Not supported/setup on this device” )
native.showAlert( “Alert!”, “SMS not supported/setup on this device.”, { “OK” } )
end
Found this:
if ( native.canShowPopup( “sms” ) ) then
local options = {
to = { “1234567890”, “9876543210” },
body = “I scored over 9000!!! Can you do better?”
}
local result = native.showPopup( “sms”, options )
else
print( “SMS Not supported/setup on this device” )
native.showAlert( “Alert!”, “SMS not supported/setup on this device.”, { “OK” } )
end