I am working on a project where I am building a server that can receive SMS from any mobile phone via a longcode (Phone Number) given to the user to send the SMS
This SMS is received by my server via a Modem with a SIM card inside the modem and can be used to process other kinds of operations
For example for updating Facebook status, for posting Tweets, obtaining Latest New Information and much more
Now i started this project in 2011 but the challenge I hard was that, i used a .NET dll library from logixmobile.com called mCore Library. I could receive only a single SMS at a time and process them but could not receive more.
Please how can i build this kind of server. Also would it be ok for me to use Windows for the system or linux
Also if a code can be written for me to handle as many SMS as possible i would be glad to have it.
I work for Twilio, which allows you to add Voice and SMS into you applications using the cloud. So instead of an SMS modem (I've had 'fun' with those myself!) you set use a web server. You can buy a telephone number from Twilio in over 40 countries, and simply configure that number to send the SMS messages to your server - a simple .Net web application is a great way to go. You can host it yourself, or use Azure.
There is a nice tutorial on how to get started here.
Related
I have the need to have an application always active in windows phone 8. All users have to use this application. More precisely, all users will have a background agent inside this application which will receive and send informations.
Note : I'm talking here about a private application use by a limited number of users.
During my research, I became aware that i couldn't paramater my application in order to launch it at startup. This isn't possible with Windows phone 8. So, i start looking for others options.
In my understanding, the only way to do that in the Microsoft way is to use the notifications. If the phone don't have the application launched, a notification is send periodically to invite the user to launch the application.
My question, did I miss some functionnalites in Windows Phone 8 whiches propose the same functionnality in a better way ?
Thank you very much
I would like to launch an application using parameters provided from an SMS.
The behaviour I wish to achieve is that as soon as the user receives an SMS, the application will be launched with the parameters provided in the SMS. I.e. seamlessly present the SMS in a more user friendly way.
I have experimented with URI protocol associations and so far I can send an SMS to the test phone with text unleashed:param=test (protocol is taken from book “Windows Phone 8 Unleashed”, code is in WP8UnleashedSource_01_05\Source\FileAndProtocolAssociations).
When pressing the link in the received SMS the application is launched successfully.
But it would be great if the is a way to also launch the application automatically as soon as the SMS is received.
Is this possible on all Windows Phone models and versions from 8 and up?
Or are there other approaches, for example use push notifications, that are better suited to achieve the seamless use-case I described?
Thanks & Regards
This question is similar to Launch App through SMS (URI-Association) but I would like to concentrate on the automatic launch.
This is not possible on the Windows Phone 8 due to some security reasons.
This might be possible in Windows Phone 8.1. I read somewhere that 8.1 supports 3rd party SMS clients. This might mean there may some event that fires when new SMS are received. I am not sure though.
I would still suggest you to use Push Notifications.
I want to include SMS in my windows phone app.
I know that there exists SMS Compose Task launcher for the same, but is there some way we can send SMS via a wi-fi or over data, cause I assume that SMS Compose Task would incur sim charges and people today mostly prefer data messages.
Is there any whatsapp API available or be integrated into the app?.
If you are sending an actual sms then somebody is going to incur a charge somewhere, wether that be the user or the developer.
You could use a service such as Twilio which can send actual SMS messages or you could use something like SignalR which allows for real time messaging to build you own messaging backend.
Hope this helps.
I am starting to develop EDM service.
To start with How can I create Enrollment Discovery.svc service?
Are there any tutorials/articles available which can guide me for development of complete Enterprise Management Service?
These days I am going through WP8 Enterprise Device Management Protocol document.
That document is the only one available on this topic. Ensure that you have the latest one as it fixes some typos in older ones.
The Discovery.svc should support both HTTP GET and POST. GET should give 200K which is an indication for the Wp8 device that the server is active and then tries to do POST on the Discovery service with SOAP request.
I would suggest you to develop a sample server (not necessarily in .NET but on any convenient platform). Note that its not mandatory for you to have only a .Net server. You could create a dummy server that listens on a port and ip adress and makes decision based on the URL path value. Once you fix the dicovery receipt on the server side, rest of the links to be posted in POST response i.e., certificate policies request and Enrollment request are completely in your hands.
I’ve been developing Windows desktop applications for many years, but just started developing Windows Phone 8 applications so, as you can imagine, I have many questions and doubts.
This is my problem so far:
I need an application to check any certain time if there are new messages / notifications in the server database, even if the application is not running, and show it (in some way, not sure how) on the phone. At the end, I want something similar to Facebook application (or others) that checks constantly if there are new messages even if I’m not using the phone.
How can I do that? Is there any tutorial or guide that explains that?
Thank you very much
There's two mechanisms available on Windows Phone to periodically check a data source and display notifications:
Push notifications: the server directly sends the notification to the phone. It provides the best user experience, because the notification is send (nearly) instantaneously, and because all the processing is done server-side (so it doesn't impact the phone's autonomy). The obvious drawback is that you need a server infrastructure to send the notifications.
Background agents: your application runs in background, is woke up periodically (every 30 minutes or so), and is allowed to run for about 15 seconds. During those 15 seconds, you can check your data source, and display a notification if needed. The two major drawbacks are that you can't choose when you're background agent executes (so the notification can be displayed 30 minutes late), and it'll have an impact on the battery life.
What you need is push notifications.
Microsoft already provides this functionality throught Azure Mobile Services and here is something to get you started : Get started with push notifications in Mobile Services