facebook

Sms, phone call etc.

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #344841 Reply

    Publio Decio
    Member

    Is possible generate a phone call, SMS or email by entering the recipient at runtime and not the default?

    Thank you
    Alessandro

    #344863

    Hi Alessandro,

    You can use the next functions:

    phoneui.sendSms(number)
    phoneui.callPhone(number)
    #344953

    CorsairTwo
    Member

    This posting caught my eye. I have an app that is designed to make phone call with phone numbers retrieved from a database. I have a couple of apps that do this and the ‘phoneui.callPhone(number)’ function works fine. However, I tried to add SMS capability to my latest app and I can’t seem to get that to work at all. Since this doesn’t work in the mobile simulator under v2.5 and since it doesn’t work for a web app, I have to build a native Android app and load it on my phone to test. My test phone is the new Nexus 5 and is running Android 4.4 (KitKat). It appears that the phoneui.sendSms(number) function is called (I put an alert into that piece of code in the phoneui.js file and I get the alert). But the line of code in the sendSms function doesn’t call the SMS app. Any advice on how to troubleshoot and fix this would be greatly appreciated.
    Thanks,
    David

    #344985

    CorsairTwo
    Member

    Update for what’s it worth. My app works fine in Android 4.3 with the native messenger. However, with 4.4 Google is using an app called Hangouts+ for the primary messaging app. The legacy SMS app has been removed. If you go to Google Play you can find it and the basic functions work under 4.4. It has crashed on me a number of time so I suspect it wasn’t upgraded for 4.4 So a word to the wise, if your app uses the phoneui.sendSms functionality you will have an issue with phones running Android 4.4. MobiOne support: can we expect the phoneui.js to be upgrade to be compatible with 4.4?

    #344995

    Hi CorsairTwo,

    Thanks for reporting this issue . We are exploring options and will update the thread as soon as we know more.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Sms, phone call etc.

You must be logged in to post in the forum log in