Namespaces
Variants
Actions

How to retrieve Midlet attribute value from jad

Jump to: navigation, search
SignpostIcon Gear 52.png
Article Metadata

Article
Created: wang_shui (21 Mar 2007)
Last edited: hamishwillee (18 Jul 2012)

The following code helps to retrieve an attribute value from the jad entry buy using

MIDlet.getAppProperty("MIDlet-Vendor")

In this case it will return the value of MIDlet-Vendor from the JAD file.

In addition to the required attributes, you can also store your own settings in the JAD file (like the server to connect to), and access them with getAppProperty method call. Note that you can change the contents of the jad file even after signing.

This page was last modified on 18 July 2012, at 09:28.
105 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved