Help - Search - Members - Calendar
Full Version: Tutorial | Create Your Own Menu Lay-out
SE-NSE Forums > SE Firmware > Firmware Tutorials & Guides
TheRaf
Introduction
This is a guide that will explain to you how to create your own menu.ml
It will take up to five mins... if you pay attention ...
We will also learn how to work with a tool, the tool will skip the coding work...
But you will still need some XML skills because this tool isn't perfect.. it makes mistakes...

Chapter 1: Basics
Basicly, you will only learn to search problems in an XML file...
If we want to create an element:
<element id="[1]"> [1] is the internal name of the element, ex. FMRadio [name will not be displayed as text in the menu]
<label type="name"><text>[2]</text></label> [2] is the text you will display in the menu ...
<icon pos="[3]" source="[4]">[5].png</icon> [3] will be the position: small left; selected; unselected [4] will be internal or file [5] name of file
<link type="[6]"/> [6] will be internal or Java app
</element>

This is enough to create an element... wich you can click on...
known issues:
internal labels, require specific names...
2 icon positions needed: Selected and unselected; when working with DeskTopGFX2, i will come back to that later...

Chapter 2: Menu's
Something specific about menu's:
<element id="[1]"> [1] must have the name: New_Container
<label type="name"><text>[2]</text> [2] will be the text you desire
<icon pos="selected" source="file">[3].png</icon> [3] filename...
<menu id="New_Container" Layout="[4]" [4] will be: DesktopFullScreen; DeskTopGFX2
<label type="name"><text>something</text></label>
<element id="... <---- will be the first new element in the menu....

Chapter 3: tools
Download
download this tool...
It will help you out creating your own
As you know XML basics, this won't be hard to use ^^
sandy4everyone
That was great man........
You are really taking a lot of pain for the members of this forum..........
We are really thankfull to u........
sandy4everyone
Raf let me try to explain the orginal menu part by part if there are some errors please correct me ....

Below is the details of Play now option in the main menu file:

<!-- Desktop Element 1 using DESKTOP_HOOK_1 -->
<element id="PlayNow" replace="next">
<label type="name" textid="DIL_PRE_PLAY_LINK_TXT"/>
<icon pos="unselected" source="internal">PREPLAY_DESKTOP_ICN</icon>
<icon pos="selected" source="internal">PREPLAY_DESKTOP_SELECTED_ICN</icon>
<link type="internal"/>

Lets go for the above steps 1st.....

<!-- Desktop Element 1 using DESKTOP_HOOK_1 -->
Starting of the code for play now.

<element id="PlayNow" replace="next">
PlayNow is the internal name.I dont know for what purpose this replace="next" given.

<label type="name" textid="DIL_PRE_PLAY_LINK_TXT"/>
DIL_PRE_PLAY_LINK_TXT will be displayed in the menu.

<icon pos="unselected" source="internal">PREPLAY_DESKTOP_ICN</icon>
Icon pos ="unselected" tells that this code is for the icon in unselected condition.
Source="internal" tells the picture of the icon will be taken from the internal file system(firmware).
PREPLAY_DESKTOP_ICN Tells the name of icon

<icon pos="selected" source="internal">PREPLAY_DESKTOP_SELECTED_ICN</icon>
Icon pos ="selected" tells that this code is for the icon in selected condition.
Source="internal" tells the picture of the icon will be taken from the internal file system(firmware).
PREPLAY_DESKTOP_SELECTED_ICN Tells the name of icon

<link type="internal"/>
This line tells that the link for the above code is to some internal file.

Lets stop here and will start after making sure that this much is correct......
What are the errors Raf?????
MikLSP
As this seems to be a good guide I'll put it in the How-To section thumbsup.gif Thanks
scotsboyuk
Good work! smile.gif
TheRaf
@ sand4everyone:

It's all ok, but there are a few things i'd like to add...

<label type="name" textid="DIL_PRE_PLAY_LINK_TXT"/>
DIL_PRE_PLAY_LINK_TXT will be displayed in the menu.

This is correct but you could also write this:

<label type="name"><text>Music downoader</text></label>
playnow will be labeled with music downloader now smile.gif

I also want to clear things up about the replace="next" thing
if you have the original menu and try it on a phone that doesn't support an element
and replace="next" is written inside that element
the phone will not give an error when trying to acces this element, but
replaces it with the next element, that should be supported by the phone
This "next" element does not show if the first element is accesible ...
gtcspider
ok, here is the deal:

i am a noob. I admit that.

i would like to know how can i change the place where the date is displayed, i would like to put it on the top of the screen, replace the name of the phone company. My phone is a K550@W610.



obs: sry if my english is not that good.
Snowiffic
You can't do that on a k550/w610 yet.
gtcspider
QUOTE (Mr. Thunderbird @ 2007-11-02 16:16) *
You can't do that on a k550/w610 yet.



oh, ok.... thnx for the information.
a_k_s_h_a_y
Cool Thanks !!
aaallleeennn
how to change icon function in flash theme..to change the radio with video player??is it possible?
tsunil19
is there any change in menu.ml if the fone screen size is different..??
in short can i use menus of w700i (176x220) for w200i(128x160)..
<TheMachine>
QUOTE (aaallleeennn @ 2007-11-14 10:34) *
how to change icon function in flash theme..to change the radio with video player??is it possible?

if you edit function from menu.ml, flash themes will changed also (but the images still be the same)
ex, you can change desktop element 9(radio) with video player, but you still have radio image in flash menu

QUOTE (tsunil19 @ 2007-11-21 16:49) *
is there any change in menu.ml if the fone screen size is different..??
in short can i use menus of w700i (176x220) for w200i(128x160)..


no, you can't use menu.ml in different phones
tsunil19
thanx for quick reply..
Actually i wanted to use my w700i's menu(i mean wich works on my w700i) for w200i.. but since i dont kno how to tek backup of w200i's original files.. i was afraid of doing so. Now i'll try that. thanx..
force28
So i get a xxxxxxx.ml
What do i do with it?
what next?
anjingkaos777
i dont understand
can somebody explain to me
please
steadyontherem8
Download that program that he said to, it will all become clearer and I suggest that you read what he said again. If you still don't understand, go to the newbie forum.
fNatiC
Okay.. where am i doing wrong?

CODE
<element id="Counter-Strike1.6">
    <label type="name"> <text>CS v1.6</text> </label>
    <icon pos="unselected" source="file">cs_unselected.png</icon>
    <icon pos="selected" source="file">cs_selected.png</icon>
    <icon pos="shortcut" source="internal">RN_SHORTCUT_LIST_MEDIAPLAYER_ICN</icon>
    <link type="java" javasuitename="Micro Counter Strike v1.1" javasuitevendor="www.m3gworks.com" javasuitepoint="com.m3gworks.microcs.MicroCsMIDle"/>
        </element>


No way i make it work.. i tried everything and still no and no.. Could it be that its in folder Games?

For instance, this one from Applications work perfectly and as i see the code is the same... :

CODE
<element id="WmIRC">
   <label type="name"> <text>WmIRC</text> </label>
   <icon pos="unselected" source="file">mirc_unselected.png</icon>
   <icon pos="selected" source="file">mirc_selected.png</icon>
          <icon pos="shortcut" source="internal">RN_SHORTCUT_LIST_MEDIAPLAYER_ICN</icon>
   <link type="java" javasuitename="WLIrc" javasuitevendor="TheSverre inc." javasuitepoint="wlirc.WLIrc"/>
        </element>


What can i do :/
clouzen
where do i upload the icons[png format] that comes with a modified menu.ml
steadyontherem8
Use XS++, it is someone on the forum just search "XS++ SE-NSE" on google and you'll find it and open it, then take your SIM card and battery out and put the battery back in. Hold C while you are putting your phone into the USB cable. You press connect and after it is connected, and at the bottom click FSX. Navigate through the folders to tpa\preset\system\menu and put the menu.ml and icons there. Make sure you have an original menu.ml first though in case you want the old icons back- you won't need the old icon files because they are pointed to by the menu.ml
khtz
Hi

I have a sony ericsson W810i.

I would like to add a link to the message templates from the 'reply with' menu so that when you are reading a message and reply you have the option of using one of your own templates.

Can someone show me how this can be done?

Thanks in advance

A
mxyztplk
QUOTE (TheRaf @ 2007-04-30 19:02) *
Chapter 3: tools
Download
download this tool...
It will help you out creating your own
As you know XML basics, this won't be hard to use ^^


Does any1 here wants to help me upload this file in the forum as an attachment?
I need help for this.
I cannot open rapidshare in my office, it blocked!
I cann't use my phone either, it using DHCP and rapidshare said that my IP have reach the limit to download.

Thanks and regards,
khtz
Hi again


"I would like to add a link to the message templates from the 'reply with' menu so that when you are reading a message and reply you have the option of using one of your own templates."


I have downloaded the tools, but cannot find any reference to the "reply with" menu in here is this part of the sms app?

any more help to achieve this please.

Thanks again
akuanakgenius1
i use a k618@w660 r8bb001, and also this layout.xml:
CODE
_http://www.4shared.com/file/41164847/4ca23776/blank_LAYOUT.html
credits to uploader
(remove the underscore before http)

i want to change the right softkey from menu to games, but with games icon display, can i do that?
superste
could a menu be made so my k550i@w610i would be like the menu in w910.

i upload a picture so u can see,

i wanted the media option like in w910i
superste
is it possible
superste
is it possible
dedi2004
how value should be replace, if i would like to raised up the date for one row...?

KrX
dedi2004:

You're posting in the wrong thread mate. What you seek is layout.xml, not menu.ml.
dedi2004
sorry i will move it... lol.gif
Kupin
I are creating a menu.ml for my w580i, and i need the calc in the main menu, because when I put "Application_Calculator_Id" in "<icon pos="shortcut" source="internal">Application_Calculator_Id</icon>" in any option, he not appear, and now? What command do I use? Some seemed with RN_SHORTCUT_LIST_CALC_ICN (<- just a exemple) Please answer me!
KrX
Get what you want and compare from the original W580i MENU.ML.

What you seek:

CODE
          <element id="Application_Calculator_Id">
            <label type="name" textid="MENU_CALCULATOR_TXT" />
            <label type="helptext" textid="MENU_CALCULATOR_HLP" />
            <icon pos="left" source="internal">CALC_CALCULATOR_MENU_ICN</icon>
            <link type="internal" />
          </element>
Kupin
QUOTE (KrX @ 2008-09-30 13:35) *
Get what you want and compare from the original W580i MENU.ML.

What you seek:

CODE
          <element id="Application_Calculator_Id">
            <label type="name" textid="MENU_CALCULATOR_TXT" />
            <label type="helptext" textid="MENU_CALCULATOR_HLP" />
            <icon pos="left" source="internal">CALC_CALCULATOR_MENU_ICN</icon>
            <link type="internal" />
          </element>

Thank you very much! But now I'm confused! Im my original layout w580i don't have this... I now re-extract the files from the main...
Kupin
ah...... my layout had been modified.... now all is ok!
Kupin
Friends, How do I create a shortcut to the folder other in the main screen?
edeboi
no chance...
Kupin
buáaaaaaaaaaaaaaaaa, i need much.... sad.gif
DaDih*
If you use the patch for create a shortcut direct to app maybe be useful for you.
Kupin
Hiho Dadih!!!
Until today I didn't understand that patch, I have him but it doesn't work...
DaDih*
Really?
To me works fine!!
You find this in thread about Patches W580!!
I using anytime but to me not so useful!!
afifth
could any body here change main menu position in to list view??


like this but list view not grid view like that!!
baineteo
I'm very new to modding so can I just ask: I just need to connect my phone to A2Uploader and get the menu.ml from my phone right? That's the file I need to edit if I wanted to edit my main menu?

Also, is there any other programme that can be used other than that the one provided by the TS? I can't get to rapidShare because I'm on cable (my IP address is always downloading something. Any alternative software for me to edit the menu.ml file?

Thanks!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.