distriqt / ANE-Message

Send messages from AIR using email and SMS
https://airnativeextensions.com/extension/com.distriqt.Message
0 stars 0 forks source link

Error when using Ane to send SMS on Android #19

Closed robertsayegh1 closed 8 years ago

robertsayegh1 commented 8 years ago

Hello,

we have just purchased the above ane.

while testing it, for the first time trying to send an SMS we got the below error

8:coerce com.distriqt.extension.message.objects::SMS VerifyError: Error #1014: Class com.distriqt.extension.message.objects::SMS could not be found.

Can you please help

Robert

robertsayegh1 commented 8 years ago

By the way this is the code I am using:

            if (Message.isSMSSupported)
            {
                //message( " === SENDING SMS === " );

                var sms:SMS = new SMS();
                //              sms.id = "1";
                sms.address = "123456";
                sms.message = "Testing Message ANE";

                Message.service.sendSMS( sms );
                //              Message.service.sendSMS( sms );
            }
marchbold commented 8 years ago

Is this error occurring on a device or in the AIR simulator?

robertsayegh1 commented 8 years ago

Hello,

My bad, I did not select the ane in the building options.

Smiles Robert