Slide # 1

1

GET TUTORIALS RELATING TO JAVA S40 N AlchemyOS N OTHER OS!!! Read More

Slide # 2

2

GET TUTORIALS RELATING TO JAVA S40 N AlchemyOS N OTHER OS!!! Read More

Slide # 3

3

GET TUTORIALS RELATING TO JAVA S40 N AlchemyOS N OTHER OS!!! Read More

Slide # 4

4

GET TUTORIALS RELATING TO JAVA S40 N AlchemyOS N OTHER OS!!! Read More

Slide # 5

5

GET TUTORIALS RELATING TO JAVA S40 N AlchemyOS N OTHER OS!!! Read More

Tuesday, 15 April 2014

Add apps to Nokia Menu S40 phones



To add an icon to the main menu we have any skills relating to the modification
*.1stIf you do not have aJADfile ...JADfile, you can easily create from a program:
JAD Creator
or
JAD Maker
I usedJADCreator
WE NEED TO KNOW AND GET
MIDlet NameandVendor MIDlet
*.2ndIf you have aJADfile ...If the application was attached to theJADfile, you do not have it already set up, but only a "preview" what's inside ... We are interested in is the same as above - the lineMIDletMIDlet NameandVendor.Ready application (JAD+JAR) to throw content, predefjava folder somewhere - wherever (whether the application or game, or directly in predefjava) - the phone itself can find them when you first start the phone.
*.3rdWe have prepared applications - and what's next?Now with content draw a very important file from - predefhiddenfolder \ predefmenus \ menusettings.xml and open it with a text editor (eg WordPad).
Its contents should look something like this:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<menu_settings>
<version major="1" minor="5" />
<mainmenuview value="list" />
[B] <mainmenu>
<menuitem id="78" />
<menuitem id="73" />
<menuitem id="66" />
<menuitem id="67" />
<menuitem id="79" />
<menuitem id="69" />
<menuitem id="71" />
<menuitem id="70" />
<menuitem id="68" />
<menuitem id="72" />
<menuitem id="75" />
</mainmenu>[/B]
<idle_shortcuts>
<visual_indication value="off" />
<left_softkey id="3" />
<right_softkey id="2" />
<scroll_up id="23" />
<scroll_right id="51" />
<scroll_down id="2" />
<scroll_left id="5" />
</idle_shortcuts>
<gotomenu>
<menuitem id="37" />
<menuitem id="117" />
<menuitem id="16" />
<menuitem id="34" />
<menuitem id="40" />
<menuitem id="45" />
</gotomenu>
<shortcutbar>
<menuitem id="51" />
<menuitem id="32" />
<menuitem id="17" />
<menuitem id="23" />
<menuitem id="37" />
</shortcutbar>
</menu_settings>

In <mainmenu> tag contains information about the display icons (in our case there are only the standard).
Now, between the markers and <mainmenuview> <version> <nativelinks> and add the tag line:
<nlink id="1">localapp://jam/launch?midlet-name=MIDlet Name;midlet-vendor=MIDlet Vendor</nlink>
The ID is the number of our icons (any). In place of the MIDlet Name write what was in the JAD file in mniejscu "MIDlet Name" - in my case TTPod, in place of the contents of the MIDlet Vendor "Vendor MIDlet" JAD file for the application. For example:
Application:  OperaMIDlet-Name: Opera MiniMIDlet-Vendor: Opera Software ASA
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<menu_settings>
<version major="1" minor="5" />
[B]<nativelinks>[/B]
<nlink [B]id="1"[/COLOR][/B]>localapp://jam/launch?midlet-name=[B]Opera%20[/COLOR]Mini[/B];midlet-vendor=[B]Opera%20[/COLOR]Software%20[/COLOR]ASA[/B]</nlink>
[B]</nativelinks>[/B]
<mainmenuview value="labelgrid" />
<mainmenu>
<menuitem id="78" />
<menuitem id="73" />
<menuitem id="66" />
[B]<menuitem nlink="1"/>[/COLOR][/B]
<menuitem id="67" />
<menuitem id="79" />

0 comments:

Post a Comment