File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java Micro Edition and the fly likes Automatic Configuration of phone settings with WML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Automatic Configuration of phone settings with WML" Watch "Automatic Configuration of phone settings with WML" New topic

Automatic Configuration of phone settings with WML

dupe ebun

Joined: Mar 29, 2005
Posts: 3

Please I am working on a project that involves selling ringtones and games to peoples phones. These are to be sent via WAP(wireless application protocol).
Now, the problem is that the settings of the wap enabled phones of most people in my country have not been configured for downloading stuff. How this is usually done is that whosoever wants to configure his/her wap settings has to dial a number and then the network operators send him a message via sms which contains the list of things the user has to do to configure his/her phone manually. Now this process is usually stressful and time consuming for most users and it discourages most people from configuring their wap settings, thereby preventing them from enjoying the benefits of wap.
What I want to do is to get the user's phone number and phone model and then send a wireless markup language(WML) code to his phone via SMS(short messaging service) that prompts him to click an OK button which triggers the code I have sent to automatically configure his wap settings, based on the model of his phone.

I will like to know if this is possible and if it is, what kind of code can do that?
Danish Shaukat
Ranch Hand

Joined: Nov 16, 1999
Posts: 340

This is possible and it is called OTA Configuration of Handsets.

Usually wireless carriers provide this service so that phones can be automatically configured and the user does not have to visit/call the wireless carrier. In my country we have to visit and sometimes pay a small fee for getting these services activated.

Phones have to be configured for GPRS, MMS etc.

You will have to write provisioning documents. These have to be in WBXML format (binary XML). Basically you just have to write the document in XML format and then use some software to convert it in to binary XML. This binary XML will eventually be executed on the phone. NowSMS is one software that can do this conversion and then push the file to the client (phone) via SMS. Ofcourse in order to do this you must have a connection with a SMS provider aka wireless carrier (they will not allow you to do this � unless you are their VAS provider or something�) or you might use a GSM modem.

The configuration of the phone is dependent on the phone brand and connection. The dependency on connection is due to any criteria set by the wireless carrier. It may be the phone number, city or anything else.

You can download specifications of different phones from the phone vendor�s web site (Nokia, Siemens etc).

I did this for Nokia phones and we were doing this for a wireless carrier.

I think offering this kind of service with your application will be really difficult. There are so many phones and wireless carriers out there and then you�ll have to test on every phone. Better not get in to this for your application. But if you get this sort of project from a wireless carrier it would be good.

Let me know if you need more info.

[ April 03, 2005: Message edited by: Danish Shaukat ]
dupe Sosanya

Joined: Apr 01, 2005
Posts: 2

We have three major GSM service providers in my country and everyone uses one of them.
Please can you give me some information about where I can get tutorials on binary xml or xml that can help me with this project.
I am not very good with xml.

I will also like to know what software I can use to convert xml to binary xml and where I can get it.

i will also appreciate it if you can send me an xml tutorial that has info on this.
I will really apreciate this.

My email address is
I agree. Here's the link:
subject: Automatic Configuration of phone settings with WML
It's not a secret anymore!