23 August 2011

How to create a mobile s40{java}phone themes from scratch

                                    
How to create a mobile s40{java}phone themes from scratch!
cool your mind cos am going to give you the full procedure for these to your understanding.
Requirements:
1.moby explorer
2.powergrasp or blueftp
3.A pc{not so necessary}.
Note:To avoid errors in your theme descriptor that's why i added a pc.

A Theme generally consists of 3 things:

1.The theme descriptor
2.images(gif,jpg,png e.t.c)
3.Sound(wav,mp3,mid e.t.c)

In Details:
1.A theme descriptor is like a html document which instructions is placed.
Nb:you must be familiar with 'html code' To create the theme descriptor...
2.The images therefore will be used for the screensaver,wallpaper,menu background and menu icons and so on.
3.The sound will be for ringing tones.

Now lets start with the Theme descriptor,cos without it,the theme is useless just like a "bus" without a "driver"

Normally a theme descriptor starts with a header>>

<?Xml
version = "1.0"
encoding = "UTF-8"?>
<!DOCTYPE
theme PUBLIC "-//
NOKIA//
DTD THEME 1.1//EN"
"theme.dtd">
<theme name = "New Theme"
version = "1.1">

this is for the theme version "1.0".
Now after creating the theme Descriptor header.
Then what you nid to do is start specifying the image and sound directories and image sound to load respectively

Example of the specifications are as follows:
<wallpaper
 src="wallpaper.gif"/>
<screensaver
 src="screensaver.gif"/>
<background
 src="background.Jpg"/>
<ringtone
 src="nokia tone.mid"/>
<colorscheme
 color="blue"/>
<icon
 src="phone.Png"
 item_id="callregister"
 size="small"/>
<icon
src="settings.Png"
item_id="settings"
size="small"/>
<icon
src="gallery.Png"
item_id="gallery"
size="small"/>

<icon
src="organizer.png"
item_id="organizer"
size="small"/>

<icon
src="media.png"
item_id="media"
size="small"/>
<icon
src="message.png"
item_id="message"
size="small"/>
<icon
src="simatk.png"
item_id="simatk"
size="small"/>
<icon
src="web.png"
item_id="service"
size="small"/>
<theme/>


To make this theme descriptor,thats where a pc is required for writing the commands.
Note:you can use moby explorer on your phone to write the theme descriptor.

Explanation:
As you can see above..
E.g 

<wallpaper
 src="wallpaper.gif"/>

commands or instruct that the "wallpaper"
should look for the image named "wallpaper.gif"
and show it in place of the original phone image.
And so for the rest.

Note:you can name the "wallpaper.gif" any name you like,but make sure you have instructed the theme wallpaper to that pic.
E.g.If you named it "image076.jpg" then the command will be:

finally after writing the command! in a notepad or note,save as "theme_descriptor.Xml"
{without the quotes}

info:
you may be asking how does <theme/>
come in?
Answer:
this is used to end our command ok.

Next..
Now prepare your image with the name you specified in the theme descriptor then pack them together with your blueftp or powergrasp.

To pack with blueftp.
Open blueftp,goto the folder where you have kept all the files and the theme_descripto.Xml,mark all the file{by pressing * or pressing option>select all.
Now after selecting all,press option>compress to {.nth},keep press yes till it completes..
Or
To pack with powergrasp open the powergrasp.Then goto archieve.
The shortcut on the upper right hand side.Choore a name and tick "nth" after that press ok.
Then option and add.
So insert the theme descriptor and intended files.
Then save!
Finally the theme is ready..




Alway share this to friends on facebook & twitter!
         give ur comments if u like dis...

1 comment:

  1. How to do the coding of music player theme

    ReplyDelete

Please don't just read and go! Try to drop your reviews and questions.
Love your comments...

 

Author

My photo
Simple n Easy going person,loves surfing n so much enthused in creativity & technology!!!

Followers

© 2018. All Rights Reserved | Revelution24 | Template by MBT

Home | About | Top