If you send alot of text messages, but usually you’re in front of a PC, you could use things like MyMobiler, which is a great tool for essentially remote viewing your mobile over USB/Wifi. However, i can’t get to my phone using USB/WiFi at work, so i needed another option, as i can type hella faster on a keyboard than i can on my phone. And i have an X1, which has a keyboard!
So i wrote 2me2u, which comes in 2 parts. You have the application which runs on the phone, and you have a website, which can be anywhere in the world.
Firstly, the website. Requirements are…
- PHP5 Enabled Web Server (Apache, IIS, LightHTTPd, etc)
- PHP5-sqlite (Needs to be sqlite2, will be upgraded in the future)
- Web Server needs to be exposed externally.
So, not many. If you can meet all those criteria, then we are sorted. We can get the website deployed, check it’s working, then talk about the application.
Download the website here, 2me2u website. Extract it to any folder you want inside your website, for this tutorial, i’ll be using http://www.spikedsoftware.co.uk/2me2u/. I suggest sticking to that folder, until it’s all working, then move it around all you like.
If you navigate to http://<yourdomain>/2me2u/install.php, the installer will start. Please read what it says, as it will either write to your config.php file, or it’ll ask you to do it manually because it doesn’t have permission to write to that file. Once it’s completed, refresh the page and it should let you know it’s already installed. So we’re ready to rock! Get a test SMS ready, by going to http://<yourdomain>/2me2u/ and filling in the form, with your own mobile number and a message to yourself. Click send, and assuming you have no errors, there will be a message in the queue. Before we move on, open the config.php where you have put the website, and copy the value from the $Key variable. We’ll need this later.
Congratulations, you have the website setup. Let’s configure and deploy the application to your Windows Mobile phone. Please ensure you have .NET 3.5 CF installed on your device, as it’s required.
Download the application, 2me2u. I extract this to the root of my memory card, so i can find it easily. i.e. /Storage Card/2me2u/. Once extracted, we have a little bit of configuration to do. Go into the folder where you just extracted the 2me2u zip file, and open the file 2me2u.exe.config in your favourite text editor.
We have 2 fields to set, we have a ‘URL’ and a ‘Key’.
The URL is easy, it needs to know exactly where you deployed the website. This would be… http://<yourdomain>/2me2u/ (don’t forget the trailing slash!)
The Key field, is a little trickier, because we need to know what Key the website has generated, so we can talk to it. Remember that Key field i told you to get out of the config.php file earlier? Now is the time to use it, please put that in the value of this field.
You will notice there are two other fields, these can be left alone or edited. If you want to receive delivery reports when a text message has been sent, change the value from false to true. The other field, is editable from inside the application.
Now, on your device, run the application. Navigate to /Storage Card/2me2u/ and run the 2me2u.exe. You should be presented with a simple form, that has a slider, an exit button and a status label. Slide the slider around, so a value at which you prefer. REMEMBER: This will use your mobiles Internet to check for new messages to send, make sure you have a data plan. Once you have set the value, just wait. Where it says ‘idle’ will change every X seconds that you have specified and it will check for new messages. If there are any to send, it’ll send them in the order you created them.
And that’s it. Simple and effective. Very early release, more features coming soon. Any questions/comments please either reply here, or preferably on xda-developers.com thread.