WP7 SMS delivery report application - windows-phone-7

In Windows Phone 7 sms delivery reports are present in kernel, however they are not customizable. You get an sms delivery report as another sms message. But everyone knows that sms delivery report is not an sms - it's an attribute of a sent message.
iPhone has an app called iPhoneDelivery which allows to customize the way the delivery reports are presented to a user. It allows the best approach - as an icon of an envelope to an already sent sms message. Same applies to Android.
Is it possible to create such an application for Windows Phone 7 at this time? Does the WP7 SDK allow "messing" with internal sms application?

The current API provides no way to access previously sent SMS messages; so attributes such as delivery reports cannot be queried. The only access to SMS right now is the SmsComposeTask but even this requires the user to hit the send button, so an app cannot automatically send text messages.

Related

Twilio SMS Physical Phone Integration

In a perfect world, the solution I'm looking for would be an api resource tied to my physical phone, e.g. I could POST an sms message to https://url.com/api/sms, and this api would have the end result of sending an sms from my physical phone. This means that the sms conversation would appear natively in my phone; if the recipient replies to the sms, it would appear just as a normal conversation as if I had physically typed the original sms via my phone.
I understand that I could set the replyto/callback/caller-id via Twilio's api. This would mean that the sms gets sent out by the api, and if the recipient replies to it, I could have the reply forwarded to my phone. But what would be missing in this scenario is the original message sent via the api, that the recipient is replying to.
Is there a streamlined way to achieve this, perhaps with Zapier?
One arduous solution I have in mind is to write an on-phone-app to intermediate the sms transmission so that I essentially have an sms-controlled api on the physical phone vs. a traditional http api. (On android, the api would "listen" via DATA_SMS_RECEIVED_ACTION and then send via sendTextMessage). But this seems cumbersome and would also require updating the app code when/if android changes the underlying SmsManager library. The advantage of this is that I could avoid Twilio altogether, by using my service provider's email-to-sms to send to the on-phone-makeshift-sms-api.
Twilio developer evangelist here.
I think you are looking for a feature that we just announced in preview. This is known as Hosted SMS and allows you to add SMS powered by Twilio to your existing phone number.
You need to apply to get access to Hosted SMS as it is newly in testing. You can do so with the form here: https://www.twilio.com/sms/hosted
I've set up texting to a physical phone by using Twilio's SIM cards and associating it to a phone number.

How to buy and send sms to unverified phone numbers using twilio api

Am currently developing a web application using Laravel. I have been using twilio trial account to send messages to just one verified phone number and now I want to launch the application and be able to send sms to any phone number filled on the registration page and send an sms to the user after successfully registration. How do i do this to accomplish my task and move on because I am stack and don't know what to do...
I believe Twilio has a limit on whitelisted numbers during the trial period.
Many SMS Gateway providers do this to prevent spammers.
Nexmo, where I work, has an SMS API allows you to easily send SMS messages to phones in over 200 countries.
The API is extremely reliable, safe, & easy to integrate in your application.
All you need to do is make a simple HTTP call.
After signing up for the free trial, there will be a screen in the dashboard where you are allowed to enter up to 10 whitelisted numbers during the trial phase.
Once you top up (reload your account with funds), this restriction is lifted.
Here is some more information on how to integrate it the SMS API with PHP

Receiving sms alerts

I have been asked to build an app for a user to receive text updates to his iphone while he reports traffic updates on his motor bike. Is there a way to code an app that will receive these text messages? Or is there an even simpler way of doing this? He doesn't want to give out his phone number.

Windows Phone 7 - Is it possible to add additional key/values to push notifications messages

I'm testing out Windows Phone 7.5 push notifications. I have got the 3 different push types working fine (Toast, Tile and Raw) and am able to send messages from unit tests and a web application without any problems and receive them in my WP application. I want the ability to add extra properties to the push notification and the Raw push type does this perfectly for me and I can add custom key/value pairs or anything else to the push message and extract it on the phone app. I have just found out however that it only works if the application is running and my unit tests fail (suppressed notification status is received in unit test) when the phone application is not running (checked documentation which confirms this too). Is there anyway to add extra properties (key/values) to toast or tile messages or some way I can use raw in another way ? Toast notifications seem limited to a title property and an actual message property but I need to add additional data.
Just wondering if anyone had any suggestions / workarounds ?
The general practice I use is to initially send a raw notification to the device with phone-usable data embedded in the message. If my application is currently running then I can process the contents of the raw message and immediately make use of it on the phone. However if the application is not currently running on the phone you will receive notification from the push servers that the message could not be delievered. If I receive this response I send out a Toast / Tile notification.
With Toast notifications the only parametrisation you have access to is the URI that will launch the application. This is specified with the wp:param node of the message. Eg.
<wp:Notification xmlns:wp="WPNotification">
<wp:Toast>
<wp:Text1>Toast Title</wp:Text1>
<wp:Text2>Toast sub title</wp:Text2>
<wp:Param>/MainPage.xaml?LaunchedFrom=A%20Toast%20Notification</wp:Param>
</wp:Toast>
</wp:Notification>
If the user taps on this toast notification your application will launch and navigate to MainPage.xaml. You can access the querystring passed in via the NavigationContext.QueryString.
Note: The wp:Param node can only be sent to Mango (and up) devices. Additionally the entire contents must be less than 256 characters or you'll receive a PushErrorTypeMessageBadContent error. (Thanks to Ritch Melton for pointing this out). More info available from the Sending Push Notifications for Windows Phone page on MSDN.
As you've discovered, the Microsoft Push Notification Service is very strict in what types of messages you can send and receive. The intent of these push notifications is to provide simple push updates and not large amounts of data. The flexible Raw type seems like it would fit the bill until you discover that:
You can use a raw notification to send information to your application. If your application is not currently running, the raw notification is discarded on the Microsoft Push Notification Service and is not delivered to the device.
However, if you send a toast notification to your application, when the user clicks on the toast the application is started. When your application starts, you should check a service and retrieve the data you are trying to send from a web-service or other remote mechanism.

what events are used in symbian c++ to catch the notifications sent by the service provider

I know the title isn't that clear so let me try to explain using an example. Say, when we send a message through my phone, we immediately recieve the balance deduction notification from our service provider. My question is that which event is used to catch this notification in symbian C++.
Could we possibly change the way notifications are displayed?? Say for eg., nokia symbian 60 phones show these notifications as a pop-up where some phones use the entire screen to show the deducted amount. Can I catch this event and show it in the form of a new message ?? I mean to say that the balance deduction notification is shown as a message in my phone's inbox but not as a mere pop-up and then lost.
Thanks in advance.
Regards,
Avanish
P.S. Please try to advice as soon as possible. I would highly appreciate your responses as they will help me in deciding the strategy for my application. Thanks a lot.
If I understand your question correctly, you are asking about the messages that appear on the screen on a phone when used with Pay As You Go SIM showing the balance. This may depend on the service provider but usually, the message notifications are Class 0 SMS messages (also known as Flash SMS).
Class 0 SMS are defined as:
Class 0 SMS: This message is displayed on the mobile phone immediately and a message delivery report is sent back to the SC. The message does not have to be saved in the mobile phone or on the SIM card (unless selected to do so by the mobile user). This type is also referred to as Flash SMS.
Therefore, you can catch these notifications by monitoring for these types of incoming SMS (assuming the SDK allows this).

Resources