Info

You are currently browsing the Aydin Design weblog archives for the day 20/07/2008.

July 2008
M T W T F S S
« Jun   Aug »
 123456
78910111213
14151617181920
21222324252627
28293031  

Archive for 20/07/2008

Mobsessed update part 2 - maybe using mobile web server

I had a mess around with the internet connection feature on the GPRS modem software - it gives you the option to set up e.g. a connection using Vodafone (i.e. I am with Vodafone) GPRS. Haven’t set one up yet because then had a thought - remembered that Nokia have released a web server recently.

Its available from mymobilesite.net and there are more details on their wiki. I’ve just installed a copy - this screenshot below is what you can see when you open the application.

Mobile Web server on N82

You can also view options through a browser, this screenshot below is an example of my site which have just set up.

Viewing mymobilesite using a browser

I’ve had a very quick skim through the guide, you can send SMS to the mobile server (although at first glance they appear to go directly to a mailbox) and it says you can create mobile content using html and python, so I will do a followup post once I’ve had a chance to look into further.

Mobsessed update - GPRS modem, python editing on a phone and SMS

Modem

Its GSM / GPRS / EDGE modem (approx £170 - ouch !) so that I can send and receive SMS, MMS, email and connect to the internet using a SIM card with the modem on my laptop. I am using a great SMS tutorial on Developerhome website - this page explains the basics of sending, receiving SMS and pcs including the AT+ codes to use e.g. AT+CMGS for sending a message.

Hopefully this short video will explain further.

transcript.

I haven’t yet found a way of using SMS to connect to the internet in order to see if can use HTTP and FTP to send an SMS message as a text file to my web server, but without the modem, I don’t think there is another option. There may be a way using Python but in order to find that out, I need to know more Python than I currently do. You can use mobile phones, blackberries etc as modems but you have more limited options such as unlikely to be able to send MMS and concatenated SMS (i.e. when you type a long text message and it gets sent as 2 or 3 text messages).

Text editor
I have found a python editor which is now installed on my phone. It is an application which has the kinds of features that I would like to create in a mobile text editing application, as per the pictures below. As far as I am aware you can’t type html code - its been written for people who wish to develop Python on the fly. In order to make the application work, install by downloading PythonS60 (am using 3rd edition on my phone) and the shell first, then download the python editor .

These three screenshots below show parts of the application. The first shows some of the editing options available on the application - common editing options that you would find in a text editing or coding application for a pc too.
Python mobile screenshot

The second screenshot shows options for tabs - with Python, tabs are important - when you are e.g. writing a list of statements / commands you want a pc or phone to perform and you want to write a sublist (e.g. if….else… type ones) it works in Python by using tabs and if you don’t use the right number of them, it will produce an error message. I guess it depends how complex the programming is, I’ve only had to use two tabs to indent so far.
Another pyEdit screenshot

The final screenshot shows how you can use the menu to insert your code into an SMS and send it in a variety of ways.
Third pyEdit screenshot

So, if you can insert text as a file in SMS, then surely there must be some way to send it via FTP once it has gone through to a pc…..I hope.
I haven’t had much of a chance to look at Android SDK yet but I saw they have a sample notepad application too which is cool. Maybe there will be an answer there.

|