How can we improve the Windows dev platform?

API to send SMS (via code without user input)

Me and two friends of mine created an app that won in a Windows Hackathon held by Microsoft Cyprus. We actually won the Hackathon without finishing our app due to limitations of Windows phone API. We need some sort of API to automatically send an SMS. The reason for it to be automatic is because this is for cases when the owner of the phone is unable (asleep or something similar) to do so. If you are concerned about security reasons a good implementation of this API would be to always notify the user that a message from that application has been sent and where it was sent. Also apps like these must be forced to get access from the user on their first run to send SMS on their own. Their are many ways to keep the security under check and still provide this functionality

166 votes
Sign in
Sign in with: facebook google
Signed in as (Sign out)

We’ll send you updates on this idea

Ioannis Demetriou shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →


Sign in
Sign in with: facebook google
Signed in as (Sign out)
  • Rolf van Kuijen commented  ·   ·  Flag as inappropriate

    Any automated sending of SMS without confirmation of the user in any way is a security concern that should not be taken lightly which cannot be migitated with asking permission once at startup or even all proposed solutions.
    The most simple reason for the concern is that for SMS are costs involved and need permission of the user, any automation can be seen as period payments and will result in violation in transaction in many countries and other areas making it a lot more than a security issue.

    Is this for a business app that should function in areas where there is no data connection?

  • Andrew commented  ·   ·  Flag as inappropriate

    Hi John,
    I think this request is asking to be able to send an SMS with using the SMS composer, but rather via line of code without a user prompt. Though being able to send an image via the composer would still be a very useful feature :)

  • John Egbert commented  ·   ·  Flag as inappropriate

    The important difference needed here is the ability to add an image to a SMS. Right now you can add text and launch the SMS composer with the text, but I would like to be able to launch the SMS composer with an image defaulted. It is still up to the user to edit and hit send. So I don't understand why this would be a security issue?

  • Andrew commented  ·   ·  Flag as inappropriate

    So its there, but no one but MS and mobile operators get to use it? Can there please be a way to request?

  • Sohail Hirani commented  ·   ·  Flag as inappropriate

    Universal SMS API in windows 10 can be used to send and receive SMS. Here is the link for the sample application: . It requires the restricted capability "cellularMessaging" to be included in the application manifest. While verifying the changes check if the device is unlocked:

  • fafu commented  ·   ·  Flag as inappropriate

    Did Microsoft has provided the API to send SMS directly? Because in Windows 10 setting and even Windows Phone 8.1 setting I have a page which ask 'manage which have access to SMS' but I still can't find any API to access SMS

  • H4xpace commented  ·   ·  Flag as inappropriate

    Microsoft really really needs to enable this, and a lot more around SMS and Cellular development. If the actual phone subsystem is going to be crippled then whats the point of even writing code for Windows "Phone" in the first place? Without better system apps all these game developers for Windows are going to be ****** when the whole thing gets shut down because 8 people use it.

  • aloaha commented  ·   ·  Flag as inappropriate

    Is that the strategy of Microsoft to force developers to Android? It is really a pity.

  • Giannis Demetriou commented  ·   ·  Flag as inappropriate

    There are many ways to tackle security concerns.
    Number 1: User is notified whenever an SMS is sent and which app sent it, and to whom so he knows to uninstall the app if he does not like it
    Number 2: User must give access to the app, whether through the store before installation or on the first run of the app.
    Number 3: Screen apps before publishing them on the store to check what sms will they be sending and to where. If it's for example a future sms app in which the app will send an SMS only to a number the user has defined then allow it

  • tulasi ram commented  ·   ·  Flag as inappropriate

    some applications needs to be send SMS on one click (also user want to do like that only) but here it is just composing and navigates to user and user needs again click send button here consuming more time..and there is a chance for user to be modify read only text. and some OS like andriod they are providing api for sending sms with out user interaction. people who loves Microsoft suffering from these kind of problems

← Previous 1

Feedback and Knowledge Base