WURFL的使用 - Stone的专栏 - CSDNBlog

导读:
  最近忙于中移动的MAS2.0的软件,MAS2.0的一个重要特点就是能支持移动化插件。说白点是能把一个供电脑访问的网站根据不同的手机类型,删除,修改其内容用以适应手机屏幕大小(使得手机只需要上下滚动,而不需要左右滚动)。
  网站提供手机访问的开发中经常需要根据不同的手机型号获得手机的性能,来决定提供哪些功能给手机访问者。这个在网站制作中用的很多,手机访问网站和电脑访问网站显示的内容在图片,视频,音频,屏幕宽度等等属性上都有所不同,不同的手机也各不相同。
  为了获取手机支持的属性,就需要用到UAProfile了,使用它可以根据http连接请求中的device_id来判断是什么类型的机器访问网站,还可以查询到这种型号的机器支持的分辨率,图片格式,网络脚本类型,缓存等等。其内容之详细完全可以支持网站的手机访问开发了。
  我用WURFL来获取UAProfile,其精髓就在WURFL.xml文件,现在最新版本是2007年11月18日更新的,大小6.68M。
  写了个很简单的代码去获得UAProfile并打印出来
  

import  net.sourceforge.wurfl.wurflapi. * ;
import  java.util. * ;
import  java.io. * ;
/** */ /**
 *
 * 
@author chenyi
 
*/

public   class  Main ... {
    
/** *//** Creates a new instance of Main */
    
public Main() ...{
        System.setProperty(
"wurflpath","wurfl.xml");
        ListManager lm 
= ObjectsManager.getListManagerInstance();
        CapabilityMatrix cm 
= ObjectsManager.getCapabilityMatrixInstance();
        String id 
="motorola_a1000_ver1";
        HashMap deviceElementsList 
= lm.getDeviceElementsList();
        HashMap logr 
= lm.getListOfGroups();
        WurflDevice dev 
= (WurflDevice) deviceElementsList.get(id);
        String fb, ua;
        fb 
= dev.getFallBack();
//        ua = dev.getUserAgent();
//        
//        String model,brand;
//        model = cm.getCapabilityForDevice(id,"model_name");
//        brand = cm.getCapabilityForDevice(id,"brand_name");
        
        
if (!fb.equals("root"))...{
            Iterator keys 
= logr.keySet().iterator();
            
int i = 0;
            
while ( keys.hasNext() ) ...{
                String key 
= (String) keys.next();
                System.out.println(key);
                
//String key = (String) keys.next();
                ArrayList cap_list = (ArrayList)logr.get(key);
                Iterator capa_keys 
= cap_list.iterator();
                
while ( capa_keys.hasNext() ) ...{
                    String capa_key 
= (String) capa_keys.next();
                    String value 
= cm.getCapabilityForDevice(id,capa_key);
                    System.out.println(
"   "+capa_key+":   "+value);
                }

            }

            
//            keys = logr.keySet().iterator();
//            i = 0;
//            String color = null;
//            while ( keys.hasNext() ) {
//                String key = (String) keys.next();
//                ArrayList cap_list = (ArrayList)logr.get(key);
//                Iterator capa_keys = cap_list.iterator();
//                while ( capa_keys.hasNext() ) {
//                    String capa_key = (String) capa_keys.next();
//                    String value = cm.getCapabilityForDevice(id,capa_key);
//                    System.out.println(capa_key+":   "+value);
//                }
//            }
        }

    }

    
    
/** *//**
     * 
@param args the command line arguments
     
*/

    
public static void main(String[] args) ...{
        
// TODO code application logic here
        new Main();
    }

    
}

 

  我获取motorola_a1000_ver1的UAProfile最后打印出来的内容如下:
  flash_lite
  flash_lite_version:
  fl_wallpaper: false
  fl_screensaver: false
  fl_standalone: false
  fl_browser: false
  fl_sub_lcd: false
  display
  resolution_width: 208
  resolution_height: 320
  columns: 15
  max_image_width: 208
  max_image_height: 240
  rows: 20
  product_info
  brand_name: Motorola
  model_name: A1000
  unique: true
  ununiqueness_handler:
  is_wireless_device: true
  device_claims_web_support: true
  has_pointing_device: true
  has_qwerty_keyboard: false
  can_skip_aligned_link_row: true
  uaprof: http://motorola.handango.com/phoneconfig/a1000/Profile/a1000.rdf
  uaprof2:
  uaprof3:
  nokia_series: 0
  nokia_edition: 0
  device_os:
  mobile_browser:
  mobile_browser_version:
  image_format
  wbmp: true
  bmp: false
  epoc_bmp: false
  gif_animated: false
  jpg: true
  png: true
  tiff: false
  transparent_png_alpha: false
  transparent_png_index: false
  svgt_1_1: false
  svgt_1_1_plus: false
  greyscale: false
  gif: true
  colors: 65536
  xhtml_ui
  xhtml_honors_bgcolor: false
  xhtml_supports_forms_in_table: false
  xhtml_support_wml2_namespace: false
  xhtml_autoexpand_select: false
  xhtml_select_as_dropdown: false
  xhtml_select_as_radiobutton: false
  xhtml_select_as_popup: false
  xhtml_display_accesskey: false
  xhtml_supports_invisible_text: false
  xhtml_supports_inline_input: false
  xhtml_supports_monospace_font: false
  xhtml_supports_table_for_layout: false
  xhtml_supports_css_cell_table_coloring: false
  xhtml_format_as_css_property: false
  xhtml_format_as_attribute: false
  xhtml_nowrap_mode: false
  xhtml_marquee_as_css_property: false
  xhtml_readable_background_color1: #FFFFFF
  xhtml_readable_background_color2: #FFFFFF
  xhtml_allows_disabled_form_elements: false
  xhtml_document_title_support: true
  xhtml_preferred_charset: utf8
  opwv_xhtml_extensions_support: false
  xhtml_make_phone_call_string: tel:
  xhtmlmp_preferred_mime_type: text/html
  xhtml_table_support: true
  xhtml_send_sms_string: none
  xhtml_send_mms_string: none
  xhtml_supports_file_upload: false
  xhtml_file_upload: not_supported
  wta
  nokia_voice_call: false
  wta_voice_call: false
  wta_phonebook: false
  wta_misc: false
  wta_pdc: false
  storage
  max_deck_size: 4000
  max_url_length_in_requests: 0
  max_url_length_homepage: 0
  max_url_length_bookmark: 0
  max_url_length_cached_page: 0
  max_no_of_connection_settings: 0
  max_no_of_bookmarks: 0
  max_length_of_username: 0
  max_length_of_password: 0
  max_object_size: 0
  bugs
  post_method_support: true
  basic_authentication_support: true
  empty_option_value_support: true
  emptyok: false
  markup
  xhtml_support_level: 2
  preferred_markup: html_wi_oma_xhtmlmp_1_0
  wml_1_1: true
  wml_1_2: true
  wml_1_3: true
  html_wi_w3_xhtmlbasic: true
  html_wi_oma_xhtmlmp_1_0: true
  html_wi_imode_html_1: false
  html_wi_imode_html_2: false
  html_wi_imode_html_3: false
  html_wi_imode_html_4: false
  html_wi_imode_html_5: false
  html_wi_imode_htmlx_1: false
  html_wi_imode_htmlx_1_1: false
  html_wi_imode_compact_generic: true
  html_web_3_2: true
  html_web_4_0: true
  voicexml: false
  multipart_support: true
  cache
  total_cache_disable_support: false
  time_to_live_support: false
  chtml_ui
  chtml_display_accesskey: false
  emoji: false
  chtml_can_display_images_and_text_on_same_line: false
  chtml_displays_image_in_center: false
  imode_region: none
  chtml_make_phone_call_string: tel:
  chtml_table_support: false
  sound_format
  wav: true
  mmf: true
  smf: true
  mld: false
  midi_monophonic: true
  midi_polyphonic: true
  sp_midi: true
  rmf: false
  xmf: true
  compactmidi: false
  digiplug: false
  nokia_ringtone: false
  imelody: true
  au: false
  amr: true
  awb: true
  aac: true
  mp3: true
  voices: 24
  qcelp: false
  evrc: false
  wml_ui
  proportional_font: false
  built_in_back_button_support: false
  card_title_support: true
  softkey_support: false
  table_support: true
  numbered_menus: false
  menu_with_select_element_recommended: false
  menu_with_list_of_links_recommended: true
  icons_on_menu_items_support: false
  break_list_of_links_with_br_element_recommended: true
  access_key_support: false
  wrap_mode_support: false
  times_square_mode_support: false
  deck_prefetch_support: false
  elective_forms_recommended: true
  wizards_recommended: false
  image_as_link_support: false
  insert_br_element_after_widget_recommended: false
  wml_can_display_images_and_text_on_same_line: false
  wml_displays_image_in_center: false
  opwv_wml_extensions_support: false
  wml_make_phone_call_string: wtai://wp/mc;
  drm
  oma_v_1_0_forwardlock: true
  oma_v_1_0_combined_delivery: true
  oma_v_1_0_separate_delivery: true
  sms
  nokiaring: false
  picturemessage: false
  operatorlogo: false
  largeoperatorlogo: false
  callericon: false
  nokiavcard: false
  nokiavcal: false
  sckl_ringtone: false
  sckl_operatorlogo: false
  sckl_groupgraphic: false
  sckl_vcard: false
  sckl_vcalendar: false
  text_imelody: false
  ems: true
  ems_variablesizedpictures: false
  ems_imelody: false
  ems_odi: false
  ems_upi: false
  ems_version: 0
  siemens_ota: false
  siemens_logo_width: 101
  siemens_logo_height: 29
  siemens_screensaver_width: 101
  siemens_screensaver_height: 50
  gprtf: false
  sagem_v1: false
  sagem_v2: false
  panasonic: false
  wap_push
  wap_push_support: false
  connectionless_service_indication: false
  connectionless_service_load: false
  connectionless_cache_operation: false
  connectionoriented_unconfirmed_service_indication: false
  connectionoriented_unconfirmed_service_load: false
  connectionoriented_unconfirmed_cache_operation: false
  connectionoriented_confirmed_service_indication: false
  connectionoriented_confirmed_service_load: false
  connectionoriented_confirmed_cache_operation: false
  utf8_support: false
  ascii_support: false
  iso8859_support: false
  expiration_date: false
  mms
  receiver: true
  sender: true
  mms_max_size: 2000000
  mms_max_height: 480
  mms_max_width: 640
  built_in_recorder: true
  built_in_camera: true
  mms_jpeg_baseline: true
  mms_jpeg_progressive: true
  mms_gif_static: true
  mms_gif_animated: true
  mms_png: true
  mms_bmp: true
  mms_wbmp: true
  mms_amr: true
  mms_wav: false
  mms_midi_monophonic: true
  mms_midi_polyphonic: true
  mms_midi_polyphonic_voices: 24
  mms_spmidi: true
  mms_mmf: false
  mms_mp3: true
  mms_evrc: false
  mms_qcelp: false
  mms_ota_bitmap: false
  mms_nokia_wallpaper: false
  mms_nokia_operatorlogo: false
  mms_nokia_3dscreensaver: false
  mms_nokia_ringingtone: false
  mms_rmf: false
  mms_xmf: false
  mms_symbian_install: false
  mms_jar: false
  mms_jad: false
  mms_vcard: false
  mms_vcalendar: false
  mms_wml: false
  mms_wbxml: false
  mms_wmlc: false
  mms_video: false
  mms_mp4: false
  mms_3gpp: false
  mms_3gpp2: false
  mms_max_frame_rate: 0
  security
  https_support: true
  https_detectable: false
  phone_id_provided: false
  streaming
  streaming_video: true
  streaming_real_media_8: false
  streaming_real_media_9: false
  streaming_real_media_10: false
  streaming_3gpp: false
  streaming_mp4: true
  streaming_wmv: false
  streaming_mov: false
  streaming_video_qcif: false
  streaming_video_qcif_max_width: 0
  streaming_video_qcif_max_height: 0
  streaming_video_sqcif: false
  streaming_video_sqcif_max_width: 0
  streaming_video_sqcif_max_height: 0
  streaming_video_max_bit_rate: 0
  streaming_video_max_video_bit_rate: 0
  streaming_video_min_video_bit_rate: 0
  streaming_video_max_audio_bit_rate: 0
  streaming_video_max_frame_rate: 0
  streaming_video_size_limit: 0
  streaming_video_vcodec_h263_0: false
  streaming_video_vcodec_h263_3: false
  streaming_video_vcodec_mpeg4: false
  streaming_video_acodec_amr: false
  streaming_video_acodec_awb: false
  streaming_video_acodec_aac: false
  streaming_video_acodec_aac_ltp: false
  object_download
  downloadfun_support: false
  directdownload_support: true
  inline_support: false
  oma_support: false
  ringtone: true
  ringtone_midi_monophonic: true
  ringtone_midi_polyphonic: true
  ringtone_imelody: true
  ringtone_digiplug: false
  ringtone_compactmidi: false
  ringtone_mmf: true
  ringtone_rmf: false
  ringtone_xmf: true
  ringtone_amr: true
  ringtone_awb: true
  ringtone_aac: false
  ringtone_wav: true
  ringtone_mp3: true
  ringtone_spmidi: true
  ringtone_qcelp: false
  ringtone_voices: 24
  ringtone_df_size_limit: 0
  ringtone_directdownload_size_limit: 0
  ringtone_inline_size_limit: 0
  ringtone_oma_size_limit: 0
  wallpaper: true
  wallpaper_max_width: 208
  wallpaper_max_height: 320
  wallpaper_preferred_width: 208
  wallpaper_preferred_height: 256
  wallpaper_resize: none
  wallpaper_wbmp: true
  wallpaper_bmp: false
  wallpaper_gif: true
  wallpaper_jpg: true
  wallpaper_png: true
  wallpaper_tiff: false
  wallpaper_greyscale: false
  wallpaper_colors: 16
  wallpaper_df_size_limit: 0
  wallpaper_directdownload_size_limit: 0
  wallpaper_inline_size_limit: 0
  wallpaper_oma_size_limit: 0
  screensaver: false
  screensaver_max_width: 0
  screensaver_max_height: 0
  screensaver_preferred_width: 0
  screensaver_preferred_height: 0
  screensaver_resize: none
  screensaver_wbmp: false
  screensaver_bmp: false
  screensaver_gif: false
  screensaver_jpg: false
  screensaver_png: false
  screensaver_greyscale: false
  screensaver_colors: 2
  screensaver_df_size_limit: 0
  screensaver_directdownload_size_limit: 0
  screensaver_inline_size_limit: 0
  screensaver_oma_size_limit: 0
  picture: false
  picture_max_width: 0
  picture_max_height: 0
  picture_preferred_width: 0
  picture_preferred_height: 0
  picture_resize: none
  picture_wbmp: false
  picture_bmp: false
  picture_gif: false
  picture_jpg: false
  picture_png: false
  picture_greyscale: false
  picture_colors: 2
  picture_df_size_limit: 0
  picture_directdownload_size_limit: 0
  picture_inline_size_limit: 0
  picture_oma_size_limit: 0
  video: true
  video_real_media_8: false
  video_real_media_9: false
  video_real_media_10: false
  video_3gpp: false
  video_3gpp2: false
  video_mp4: true
  video_wmv: true
  video_mov: false
  video_max_frame_rate: 15
  video_max_width: 176
  video_max_height: 144
  video_qcif: true
  video_sqcif: true
  video_preferred_width: 0
  video_preferred_height: 0
  video_df_size_limit: 0
  video_directdownload_size_limit: 0
  video_inline_size_limit: 0
  video_oma_size_limit: 0
  video_vcodec_h263_0: true
  video_vcodec_h263_3: false
  video_vcodec_h264: false
  video_vcodec_mpeg4: true
  video_acodec_amr: true
  video_acodec_awb: false
  video_acodec_aac: true
  video_acodec_aac_ltp: false
  video_acodec_qcelp: false
  ringtone_3gpp: false
  bearer
  max_data_rate: 9
  wifi: false
  j2me
  j2me_cldc_1_0: true
  j2me_cldc_1_1: false
  j2me_midp_1_0: true
  j2me_midp_2_0: true
  doja_1_0: false
  doja_1_5: false
  doja_2_0: false
  doja_2_1: false
  doja_2_2: false
  doja_3_0: false
  doja_3_5: false
  doja_4_0: false
  j2me_jtwi: true
  j2me_mmapi_1_0: true
  j2me_mmapi_1_1: false
  j2me_wmapi_1_0: true
  j2me_wmapi_1_1: false
  j2me_wmapi_2_0: false
  j2me_btapi: false
  j2me_3dapi: false
  j2me_loctapi: false
  j2me_nokia_ui: false
  j2me_motorola_lwt: false
  j2me_siemens_color_game: false
  j2me_siemens_extension: false
  j2me_heap_size: 16777216
  j2me_max_jar_size: 25165824
  j2me_storage_size: 25165824
  j2me_max_record_store_size: 25165824
  j2me_screen_width: 208
  j2me_screen_height: 320
  j2me_canvas_width: 208
  j2me_canvas_height: 180
  j2me_bits_per_pixel: 16
  j2me_audio_capture_enabled: false
  j2me_video_capture_enabled: false
  j2me_photo_capture_enabled: false
  j2me_capture_image_formats: none
  j2me_http: true
  j2me_https: true
  j2me_socket: true
  j2me_udp: true
  j2me_serial: false
  j2me_gif: false
  j2me_gif89a: false
  j2me_jpg: true
  j2me_png: true
  j2me_bmp: false
  j2me_bmp3: false
  j2me_wbmp: false
  j2me_midi: true
  j2me_wav: true
  j2me_amr: true
  j2me_mp3: false
  j2me_mp4: false
  j2me_imelody: false
  j2me_rmf: false
  j2me_au: false
  j2me_aac: false
  j2me_realaudio: false
  j2me_xmf: false
  j2me_wma: false
  j2me_3gpp: false
  j2me_h263: false
  j2me_svgt: false
  j2me_mpeg4: true
  j2me_realvideo: false
  j2me_real8: false
  j2me_realmedia: false
  j2me_left_softkey_code: 21
  j2me_right_softkey_code: 22
  j2me_middle_softkey_code: 23
  j2me_select_key_code: 0
  j2me_return_key_code: 0
  j2me_clear_key_code: 0
  j2me_datefield_no_accepts_null_date: false
  j2me_datefield_broken: false
  Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1909521

本文转自
http://blog.csdn.net/njchenyi/archive/2007/11/30/1909521.aspx

 

 

 

WURFL Devices and WURFL Capabilities

http://wurfl.sourceforge.net/help_doc.php
This document gives a short description of the WURFL tags and a complete list of all the capabilities (as of August 2007 )

WURFL Devices
WURFL devices contain the user-agent string, fall_back attribute and unique ID. There may also be an attribute (
actual_device_root="true") that marks a device as "real". This attribute can be useful for APIs that intend to use the WURFl to compile human-readable list of devices.
Here is a sample WURFL entry that defines a device:

        actual_device_root="true"

        fall_back="opwv_v61_gen eric "

        id="o2_x1i_ver1">


Groups:
Groups are only meant to make the WURFL more readable to humans. Group names are self-explaining. For example, there is a group called "mms" for capabilities regarding MMS messaging, another group called "wml_ui" for capabilities about how devices support WML tags and how they display them.
Here is an example of a group can be defined:


Capabilities:
Capabilities are collected in groups for readability. We cannot have two capabilities by the same name (i.e. "name" attribute) even in when in two different groups. More concisely, each capability name is unique.
Capabilities always have a value. Value can represent a boolean, a number or a string. A capability looks something like this:



WURFL capabilities.
Some capabilities are meant to be used by themselves, some others should be used in combination.
If you want to know if a device is able to show a gif image in a page you should simply check if the capability "gif" is set to true. On the other side all the capabilities listed in the xhtml_ui group are only meant for xHTML presentation, so it's useless to check if "xhtml_honors_bgcolor" is set to true if you are generating an HTML 4.0 page. The "xhtml_honors_bgcolor" may be used in combination with the capabilities listed in the "markup" group. You will first check if xHTML-MP is supported (html_wi_oma_xhtmlmp_1_0), if so, you may check "xhtml_honors_bgcolor" and you may use tags about it only in an xHTML page.
If you have doubts about how to use a capability you may ask on the wmlprogramming list. Make sure you check the archives, before asking, someone might have already asked the same question!

Here are all the capabilities in the WURFL today:

select group: [product_info | wml_ui | chtml_ui | xhtml_ui | ajax | markup | cache | display | image_format | bugs | wta | security | bearer | storage | object_download | wap_push | drm | streaming | mms | j2me | sms | sound_format | flash_lite]



Group:product_info (human readable brand and model name and other gen eric info)

Capability Name

Type

Description

brand_name

string

Brand

model_name

string

Model

unique

true/false

UA is repetead for different devices (rare, but deadly occurence)

ununiqueness_handler

String

How to handle a non-unique User-agent String (API/framework may support specific mechanism to handle HTTP request directly)

is_wireless_device

true/false

Tells you if a device is wireless or not. Specifically a mobile phone or a PDA are considered wireless devices, a desktop PC or a laptop are not

device_claims_web_support

true/false

Whether the device is wireless or not, the browser may claim web support or not. Opera for Symbian is an example of a browser that claims web support (and tries to render at best) a page that was developed for web presentation independently from the device.

has_pointing_device

true/false

The presence of a stylus is the tipical example of this, but there are also devices with mouse-like user controls that can have this capability set to true.In general, not having to click your way to each and every link (or form widget) makes a big difference and this capability captures that.

has_qwerty_keyboard

true/false

Some devices come with a full querty keyboard. This may have a say on how forms or other functions are implemented. Virtual keyboard (a-la Palm pilot) are good enough to make this capability tick to true.

can_skip_aligned_link_row

true/false

Many modern devices (or browser/device combo) let users skip a row of links (for ex: link1|link2|link3|link4) with just one click down. Other devices force users to click multiple times to skip the list of links.

uaprof,uaprof2,uaprof3

String (URL)

UAProf urls can typically be extracted as a HTTP header. This capability may be useful when this is not possible for some reason.

nokia_series

Integer

Nokia Series 20/30/40/60/80 or 90

nokia_edition

Integer

Developer Platform ( 1/2/3 /...)

device_os

String (URL)

Information about osting OS



Group:wml_ui (User Interface for WML browser)

Capability Name

Type

Description

proportional_font

true/false

The standard font is proportional

built_in_back_button_support

true/false

User may always click on a button to go back

card_title_support

true/false

The device displays the title on the screen

softkey_support

true/false

Softkeys are supported

table_support

true/false

The browser displays tables formatted "correctly" (rather than 1 cell per line)

numbered_menus

true/false

The browser lists numbers to pick an element from a list

menu_with_select_element_
recommended

true/false

A select element is the most usable menu format

menu_with_list_of_links_
recommended

true/false

A list of links is the most usable menu format

icons_on_menu_items_support

true/false

Links may be associated with icons

break_list_of_links_with
_br_element_recommended

true/false

When presenting a list of links the use of
is suggested for better presentation

access_key_support

true/false

respects the "accesskey" attribute of the anchor tag

wrap_mode_support

true/false

The browser can be forced to wrap or not lines

times_square_mode_support

true/false

"time_square_mode_support" is an Openwave browser specific feature related to what happens with code that looks like

. The Openwave browser will present the text in this block on a single line that will only scroll (like marquee) when the line has been activated (has focus). Other browser either cropped such blocks, or force ths user to scroll horizontally on the page.

deck_prefetch_support

true/false

Prefetching of other decks is supported

elective_forms_recommended

true/false

input and select elements can/should be placed in a single card rather than on discrete cards

wizards_recommended

true/false

wizards_recommended

image_as_link_support

true/false

You may use images to present a link

insert_br_element_
after_widget_recommended

true/false

The use of a break is suggested after widgets

wml_can_display_images_and_
text_on_same_line

true/false

Some devices not display an image and text on the same line. Set this to true if the device supports it

wml_displays_image_in_center

true/false

Some devices will show images aligned in center by default, true if this happens

opwv_wml_extensions_support

true/false

This is specific for Openwave browsers and possibly third party browsers that are compatible. As WML extensions we mean pictograms and other tags that were never formalized by the WAP forum

wml_make_phone_call_string

string

Prefix to initiate a voice call



Group:chtml_ui (User Interface for Compact HTML i;Mode browser)

Capability Name

Type

Description

chtml_display_accesskey

true/false

The device displays a number when you use an accesskey

emoji

true/false

Emoji are special characters which appear in i-Mode pages as small icons

chtml_can_display_images_and_
text_on_same_line

true/false

As for WML, this is set to true if the device can display images and text on the same line

chtml_displays_image_in_center

true/false

As for WML, this is set to true if the device will align images in center by default

imode_region

string

This field describes the market region for the device, useful for emoji's and other possible localizations. Possible values as "ja" for Japan , "eu" for Europe, "us" for USA "as" for Asia . "none" means unknown or not set.

chtml_make_phone_call_string

string

Prefix to initiate a voice call

chtml_table_support

true/false

Tables are not supported by default on i-mode/chtml devices. This capability tells you if the device supports this "extra" feature



Group:xhtml_ui (User Interface for HTML/XHTML-MP browser)

Capability Name

Type

Description

xhtml_honors_bgcolor

true/false

Background colour can be set

xhtml_supports_forms_in_table

true/false

Form entry within a table is possible

xhtml_support_wml2_namespace

true/false

The WML version 2.0 namespace is supported, so the device will successfully render WML2.0 content

xhtml_autoexpand_select

true/false

Some device au tom atically expand select's (MOT T720, for example)

xhtml_select_as_dropdown

true/false

The device displays select's as dropdown lists

xhtml_select_as_radiobutton

true/false

The device displays select's as radio buttons

xhtml_select_as_popup

true/false

The device displays select's as popup lists, similar to the Openwave GUI extension

xhtml_display_accesskey

true/false

The device displays a number when you use an accesskey

xhtml_supports_invisible_text

true/false

 

xhtml_supports_inline_input

true/false

Some browsers let you type text locally. Others bring you to a separate data entry control.

xhtml_supports_monospace_font

true/false

Does device support monospace fonts only?

xhtml_supports_table_for_layout

true/false

This device support for tables is solid enough that you can use tables to layout content on the screen.Used in WALL)

xhtml_supports_css_cell_
table_coloring

true/false

CSS support in this device is good enough that table cells are correctly colored when the color is defined through CSS (Used in WALL)

xhtml_format_as_css_property

true/false

This field is true if the device supports a css property to define the format of an input field. This is what the "format" attribute was in WML. Follows the same rules as "format" used to do. Example:
style=
"-wap-input-format:NNNN"
(Used in WALL)

xhtml_format_as_attribute

true/false

This is set true if the device supports the "format" attribute in input fields (Used in WALL)

xhtml_nowrap_mode

true/false

Does device support wrap mode as a XHTML attribute? (Used by WALL)

xhtml_marquee_as_css_property

true/false

Does device support MARQUEE though CSS syntax? (used by WALL)

xhtml_readable_background_color1

string

This and the following properties lets you define 2 colors which interoperate visually on the device. For example, by using one of these two colors as background, you don't risk that an hyperlink disappears against its background. (Used by WALL) against

xhtml_readable_background_color2

string

refer to xhtml_readable_background_
color1 for description (Used by WALL)

xhtml_allows_disabled_
form_elements

true/false

XHTML lets you define "disabled" form elements. If this actually works on the different devices is tracked down by this capability.

xhtml_document_title_support

true/false

While one can define the document title with the title tag, not all devices actually render the title. This capability keeps track of that behavior (Used by WALL)

xhtml_preferred_charset

string

UTF-8 should be supported by default, but some devices have problems. Here you may find alternative charsets such as iso 8859 . This field does not present the exact charset because with ISO charsets you may need to specify the one of your region (1, 15, other) - Capability mentor: Pau Aliagas

opwv_xhtml_extensions_support

true/false

The Openwave browser has some supports some useful extensions. Tracked by this capability (used by WALL)

xhtml_make_phone_call_string

string

Prefix to initiate a voice call (Used by WALL)

xhtmlmp_preferred_mime_type

string

Most devices should support both text/html and the specific XHTML MP mime type. Some are a little pickie, here you should find a mime type that always works. Default is text/html

xhtml_table_support

true/false

tables SHOULD be supported as syntax, but are often rendered poorly. This tag tells you if the browser is able to render tables decently



Group: ajax Supported Mobile Ajax features

Capability Name

Type

Description

ajax_support_javascript

true/false

alert, confirm and access to form elements are supported

ajax_support_getelementbyid

true/false

can select a node through its ID

ajax__xhr_type

none, standard, msxml2, legacy_microsoft

Which syntax to create a XMLHttpRequest() object:none or XMLHttpRequest();ActiveXObject("Msxml2.XMLHTTP") and ActiveXObject("Microsoft.XMLHTTP")

ajax_support_inner_html

true/false

can stick a bit of HTML into a DIV

ajax_support_full_dom

true/false

Support functions such as createNode/appendChild

ajax_manipulate_css

true/false

Modify CSS property programmatically and have the changes all immediately reflected visually in the rendering



Group:markup supported mark languages

Capability Name

Type

Description

xhtml_support_level

[-1 |..| 4]

Assuming the device supports some form of XHTML, this capability measures how reliably certain common designer features are supported, according to the following description:

- level "-1":

no XHTML support of any kind.

Possible WML support

Nokia 7110, 7210 as well as

all UP.Browser 4 and 5 devices.

 

- level "0" :

basic XHTML Support.

Minimum screen-width: 100 pixel

No (or very unreliable) CSS support.

Poor table support or none at all.

Basic forms: text field, select-option,

submit button.

May not be able to support input

mask on fields.

Ex Device: Sony Eric sson T610/T616

 

- level "1" :

XHTML with some CSS support.

Minimum sceen-width: 120 pixels.

Hyperlinks may not be collorable by CSS.

Basic table support: 2x2 or more.

Colspan and rowspan may not be supported.

"width" expressed as percentage may be

unreliable.

Ex Device: Sharp GX 10, Nokia 3650

 

- level "2" :

Assume same capabilities as

level "1", but may vary in the future.

Ex Device: Nokia6600,Nokia5300

 

- level "3" :

Excellent CSS support.

Padding, border and margin are correctly

applied.

Can reliable apply colors to links,

text and background.

CSS graphic effects are pixel perfect

Minimum sceen-width: 164 pixels.

Can support complex tables (but not

necessarily nested tables) up to

4 cells in a row.

Not setting "font-size" produces

a readable font.         

Supports background images also

when applied through CSS.

Generally running on 3G devices.

Ex: Nokia Series 60 DP 3,

Browsers: Openwave Mobile Browser 7,

MS Mobile Explorer,

recent BlackBerrys. Netfront 3.2,

Safari (including iPhone), Sony PSP...

(assuming high-bandwidth, Edge/UMTS/...)

            

- level "4" :

Level 3 + Ajax support.

Toggle display property.

XMLHTTPRequest(). InnerHTML()

preferred_markup

string

This field identifies which markup is best supported by the device. This field is filled on personal experiences of our contributors and is used by the WALL library. Values for this capability look like: wml_1_1, html_wi_imode_compact_
gen eric
and html_wi_oma_xhtmlmp_1_0. Just like any other capability, you may override this value in the patch file

wml_1_1

true/false

Supports WML version 1.1

wml_1_2

true/false

Supports WML version 1.2

wml_1_3

true/false

Supports WML version 1.3

wmlscript_1_0

true/false

Supports WML script version 1.0

wmlscript_1_1

true/false

Supports WML script version 1.1

wmlscript_1_2

true/false

Supports WML script version 1.2

wmlscript_1_3

true/false

Supports WML script version 1.3

html_wi_w3_xhtmlbasic

true/false

XHTML basic is XHTML reduced to a minimal set of tags, and was introduced to serve as a basis for a markup which would work on devices with very limited capabilities.

html_wi_oma_xhtmlmp_1_0

true/false

XHTML MP is XHTML Basic with the addition of a few extra tags to allow for the application of WCSS ('style' attribute and tag, 'hr' tag)

html_wi_imode_html_1

true/false

Supports DoCoMo's iHTML version 1.0

html_wi_imode_html_2

true/false

Supports DoCoMo's iHTML version 2.0

html_wi_imode_html_3

true/false

Supports DoCoMo's iHTML version 3.0

html_wi_imode_html_4

true/false

Supports DoCoMo's iHTML version 4.0

html_wi_imode_html_5

true/false

Supports DoCoMo's iHTML version 5.0

html_wi_imode_htmlx_1

true/false

Supports DoCoMo's xHTML version 1.0

html_wi_imode_ compact_gen eric

true/false

Supports gen eric compact HTML (cHTML)

html_web_3_2

true/false

Supports HTML version 3.2

html_web_4_0

true/false

Supports HTML version 4

voicexml

true/false

Supports voice XML

multipart_support

true/false

Supports multipart contents



Group: cache

Capability Name

Type

Description

 

 

 

total_cache_disable_support

true/false

possibility to disable the browser's cache completely

time_to_live_support

true/false

Device support 'time to live'(TLL) or not. The length of time that a device keeps a deck in cache is called the time to live (TTL). The default TTL is 30 days (or until memory is exhausted) for Openwave browsers. If a deck contains time-sensitive information, you can specify a shorter TTL so that the device will reload the deck from the server more frequently.



Group:display

Capability Name

Type

Description

resolution_width

any integer number

This field represents the display's usable width expressed in pixels

resolution_height

any integer number

This field represents the display's usable height width expressed in pixels

 

 

 

columns

any integer number

Number of columns presented

rows

any integer number

Number of lines presented

max_image_width

any integer number

Width of the images viewable width expressed in pixels

max_image_height

any integer number

Height of the images viewable width expressed in pixels

 

 

 



Group:image_format

Capability Name

Type

Description

wbmp

true/false

supports wbmp format

bmp

true/false

Supports bmp format

epoc_bmp

true/false

Supports the EPOC (Symbian) bitmap format, also known as mbm

gif

true/false

supports gif format

gif_animated

true/false

supports animated gif (gif 89a ) format

jpg

true/false

supports jpg format

png

true/false

supports png format

tiff

true/false

supports tif format

transparent_png_alpha

true/false

 

transparent_png_index

true/false

 

flash_lite

true/false

supports flash lite format version 1.0

flash_lite_1_1

true/false

supports flash lite format version 1.1

flash_lite_download_limit

any integer number

Defines the download limit in bytes for flash lite files

svgt_1_1

true/false

supports SVGT v1.1 - Capability mentor: Antoine Quint

svgt_1_1_plus

true/false

supports SVGT v1.1+ - Capability mentor: Antoine Quint

greyscale

true/false

supports greyscale format

colors

any integer number

In general the number of colors used by the phone



Group:bugs

Capability Name

Type

Description

post_method_support

true/false

If true the phone supports HTTP POST method

basic_authentication_support

true/false

basic authentication support (login and password)

emptyok

true/false

An empty select is allowed

empty_option_value_support

true/false

If true the phone will allow the user to pick an empty value from a select



Group:wta

Capability Name

Type

Description

nokia_voice_call

true/false

Supports the Nokia 'make call' function

wta_voice_call

true/false

Supports the standard WML call function

wta_phonebook

true/false

The WTA implementation supports access to the device's phonebook

wta_misc

true/false

The WTA implementation supports the miscellaneous features of the WTAI specification

wta_pdc

true/false

Supports WTA over a PDC network



Group:security

Capability Name

Type

Description

https_support

supported, not_supported, not_predictable

gen eric support for HTTPS protocol (SSL connections). Deafult for gen eric is "supported", because it is generally recommended to ask users to activate an HTTPS connection.

https_verisign_class3

true/false

Verisign Class 3 Certificate for SSL supported

https_detectable (DEPRECATED)

true/false

The device can detect when a request is made to an HTTPS resource

phone_id_provided

true/false

The IMEI number is accessible



Group:bearer

Capability Name

Type

Description

max_data_rate

value in Kilobits. one kilobit = 1000 bit

Maximum bandwidth reachable by the device

wifi

true/false

Device can access WiFi connections



Group:storage

Capability Name

Type

Description

max_deck_size

any integer number

Maximum allowed size for a deck in bytes

max_url_length_in_requests

any integer number

Maximum allowed URL length

max_url_length_homepage

any integer number

Maximum allowed URL length for the browser's homepage

max_url_length_bookmark

any integer number

Maximum allowed URL length for a bookmark

max_url_length_cached_page

any integer number

Maximum allowed URL length for a cached page

max_no_of_connection_settings

any integer number

Number of connection profiles supported

max_no_of_bookmarks

any integer number

Number of bookmarks the browser can store

max_length_of_username

any integer number

Maximum allowed length for a username

max_length_of_password

any integer number

Maximum allowed length for a password

max_object_size

any integer number

The maximum file size (in bytes) supported when downloading using WTP-SAR



Group:object_download

Capability Name

Type

Description

downloadfun_support

true/false

if true the phone supports downloadfun features

directdownload_support

true/false

if true the phone supports object downloading in an anchor

inline_support

true/false

if true the phone has the possibility to save an image or object shown in a page

oma_support

true/false

if true the phone supports OMA specifications for object downloading

ringtone

true/false

if true the phone supports the download of ringtones

ringtone_midi_monophonic

true/false

support for monophonic (type 0) midi files

ringtone_midi_polyphonic

true/false

support for polyphonic midi files

ringtone_imelody

true/false

support for the download of iMelody files

ringtone_digiplug

true/false

support for the download of digiplug files

ringtone_compactmidi

true/false

support for the download of compact-midi files

ringtone_mmf

true/false

support for the download of MMF/SMAF files (Yamaha)

ringtone_rmf

true/false

support for the download of RMF files (Beatnik)

ringtone_xmf

true/false

support for the download of XMF files (Beatink - midi approved)

ringtone_amr

true/false

support for the download of AMR files

ringtone_awb

true/false

support for the download of AMR wide band files

ringtone_aac

true/false

support for the download of AAC files

ringtone_wav

true/false

support for the download of WAV files

ringtone_mp3

true/false

support for the download of MP3 files

ringtone_spmidi

true/false

support for the download of SPmidi files

ringtone_voices

any integer number

Represents the maximum number of voices for a downloaded ringtone

ringtone_df_size_limit

any integer number

Size limit in bytes of downloadable ringtones through downloadfun

ringtone_directdownload_size_limit

any integer number

Size limit in bytes of downloadable ringtones through direct download

ringtone_inline_size_limit

any integer number

Size limit in bytes of downloadable ringtones for inline objects

ringtone_oma_size_limit

any integer number

Size limit in bytes of downloadable ringtones through OMA DD

wallpaper

true/false

if true the phone supports the download of wallpapers

wallpaper_wbmp

true/false

support for wbmp images

wallpaper_bmp

true/false

support for bmp images

wallpaper_gif

true/false

support for gif images

wallpaper_jpg

true/false

support for jpg images

wallpaper_png

true/false

support for png images

wallpaper_greyscale

true/false

true if the phone users a greyscale

wallpaper_colors

any integer number

This is the number in bit of displayable colors.
Note: if a phone uses 8 tones of grey, you should set wallpaper_greyscale to true and wallpaper_colors to 3

wallpaper_max_width

any integer number

Maximum width supported for a wallpaper

wallpaper_max_height

any integer number

Maximum height supported for a wallpaper

wallpaper_preferred_width

any integer number

Maximum width suggested for a wallpaper

wallpaper_preferred_height

any integer number

Maximum height suggested for a wallpaper

wallpaper_df_size_limit

any integer number

Maximum size in bytes of a wallpaper

wallpaper_directdownload_size_limit

any integer number

Maximum size in bytes of a wallpaper

wallpaper_inline_size_limit

any integer number

Maximum size in bytes of a wallpaper

wallpaper_oma_size_limit

any integer number

Maximum size in bytes of a wallpaper

wallpaper_resize

string

Describes if and how the device resizes a downloaded wallpaper if not exactly the same size of the screen. Possible values are "none", "fixed_ratio" (rescale respecting original proportions), "crop_centered", "crop_top_left".

screensaver

true/false

if true the phone supports the download of screensavers

screensaver_wbmp

true/false

support for wbmp images

screensaver_bmp

true/false

support for bmp images

screensaver_gif

true/false

support for gif images

screensaver_jpg

true/false

support for jpg images

screensaver_png

true/false

support for png images

screensaver_greyscale

true/false

true if the phone users a greyscale

screensaver_colors

any integer number

This is the number in bit of displayable colors.
Note: if a phone uses 8 tones of grey, you should set wallpaper_greyscale to true and wallpaper_colors to 3

screensaver_max_width

any integer number

Maximum width supported for a screensaver

screensaver_max_height

any integer number

Maximum height supported for a screensaver

screensaver_preferred_width

any integer number

Maximum width suggested for a screensaver

screensaver_preferred_height

any integer number

Maximum height suggested for a screensaver

screensaver_df_size_limit

any integer number

Maximum size in bytes of a screensaver through downloadfun

screensaver_directdownload_size_limit

any integer number

Maximum size in bytes of a screensave through direct download

screensaver_inline_size_limit

any integer number

Maximum size in bytes of a screensaver for an inline object

screensaver_oma_size_limit

any integer number

Maximum size in bytes of a screensaver through OMA DD

screensaver_resize

string

Describes if and how the device resizes a downloaded screensaver if not exactly the same size of the screen. Possible values are "none", "fixed_ratio" (rescale respecting original proportions), "crop_centered", "crop_top_left".

picture

true/false

if true the phone supports the download of picture files

picture_wbmp

true/false

support for wbmp images

picture_bmp

true/false

support for bmp images

picture_gif

true/false

support for gif images

picture_jpg

true/false

support for jpg images

picture_png

true/false

support for png images

picture_greyscale

true/false

true if the phone users a greyscale

picture_colors

any integer number

This is the number in bit of displayable colors.
Note: if a phone uses 8 tones of grey, you should set wallpaper_greyscale to true and wallpaper_colors to 3

picture_max_width

any integer number

Maximum width supported for a picture

picture_max_height

any integer number

Maximum height supported for a picture

picture_preferred_width

any integer number

Maximum width suggested for a picture

picture_preferred_height

any integer number

Maximum height suggested for a picture

picture_df_size_limit

any integer number

Maximum size in bytes of a picture throught downloadfun

picture_directdownload_size_limit

any integer number

Maximum size in bytes of a picture throught direct download

picture_inline_size_limit

any integer number

Maximum size in bytes of a picture for an inline object

picture_oma_size_limit

any integer number

Maximum size in bytes of a picture through OMA DD

picture_resize

string

Describes if and how the device resizes a downloaded picture if not exactly the same size of the screen. Possible values are "none", "fixed_ratio" (rescale respecting original proportions), "crop_centered", "crop_top_left".

video

true/false

true if the phone may download video clips

video_real_media_8

true/false

true if the phone supports real media V8

video_real_media_9

true/false

true if the phone supports real media V9

video_real_media_10

true/false

true if the phone supports real media V10

video_3gpp

true/false

true if the phone supports 3GPP videos (including H.263)

video_3gpp2

true/false

true if the phone supports 3GPP 2 videos (for CDMA devices)

video_mp4

true/false

true if the phone supports MP4 videos

video_wmv

true/false

true if the phone supports WMV videos

video_mov

true/false

true if the phone supports MOV videos

video_max_frame_rate

integer

Max frame rate supported. 0 is the default

video_max_width

integer

Max width. 0 is the default

video_max_height

integer

Max height. 0 is the default

video_qcif

true/false

True if the device can play QCIF videos

video_sqcif

true/false

True if the device can play SQCIF videos

video_preferred_width

integer

Suggested max height so that the device will not need any resizing. 0 is the default

video_preferred_height

integer

Suggested max height so that the device will not need any resizing. 0 is the default

video_df_size_limit

integer

Max size in bytes for downloadfun. 0 is the default

video_directdownload_size_limit

integer

Max size in bytes for directdownload. 0 is the default

video_inline_size_limit

integer

Max size in bytes for inline download. 0 is the default

video_oma_size_limit

integer

Max size in bytes for OMA DD. 0 is the default

video_vcodec_h263_0

true/false

True if the device can play videos encoded using H.263 type 0

video_vcodec_h263_3

true/false

True if the device can play videos encoded using H.263 type 3

video_vcodec_h264

String

none = no H264 support. Otherwise string will represent the different levels. Ex: "10 1b", "10 1b 11 12"

video_vcodec_mpeg4

true/false

True if the device can play videos encoded using MPEG 4

video_acodec_amr

true/false

True if the device can play videos with AMR audio

video_acodec_awb

true/false

True if the device can play videos with AMR Wide-Band audio

video_acodec_aac

true/false

True if the device can play videos with AAC audio

video_acodec_aac_ltp

true/false

True if the device can play videos with AAC LTP audio

video_acodec_qcelp

true/false

True if the device can play videos with Qualcomm Code Excited Linear Predictive waveform audio format



Group:drm

Capability Name

Type

Description

oma_v_1_0_forwardlock

true/false

true if the phone support OMA DRM ForwardLock V1.0

oma_v_1_0_combined_delivery

true/false

true if the phone support OMA DRM Combined Delivery V1.0

oma_v_1_0_separate_delivery

true/false

true if the phone support OMA DRM Separate Delivery V1.0



Group:streaming

Capability Name

Type

Description

streaming_video

true/false

true if the phone supports video streaming

streaming_real_media_8

true/false

true if the phone supports Real media V8

streaming_real_media_9

true/false

true if the phone supports Real media V9

streaming_real_media_10

true/false

true if the phone supports Real media V10

streaming_3gpp

true/false

true if the phone supports 3GPP

streaming_mp4

true/false

true if the phone supports MP4

streaming_wmv

true/false

true if the phone supports WMV

streaming_mov

true/false

true if the phone supports MOV

streaming_video_qcif

true/false

true if the phone supports QCIF standard

streaming_video_qcif_max_width

integer

Max (suggested) width for QCIF videos

streaming_video_qcif_max_height

integer

Max (suggested) height for QCIF videos

streaming_video_sqcif

true/false

true if the phone supports SQCIF standard

streaming_video_sqcif_max_width

integer

Max (suggested) width for SQCIF videos

streaming_video_sqcif_max_height

integer

Max (suggested) height for SQCIF videos

streaming_video_max_bit_rate

integer

Max bit rate for video+audio

streaming_video_max_video
_bit_rate

integer

Max bit rate for video

streaming_video_min_video
_bit_rate

integer

Minimum bit rate for video

streaming_video_max_audio
_bit_rate

integer

Max bit rate for audio

streaming_video_max_frame_rate

integer

Max frame rate

streaming_video_size_limit

integer

Max size in bytes for the clip

streaming_video_vcodec_h263_0

true/false

true if the device supports H.263 type 0 encoded videos

streaming_video_vcodec_h263_3

true/false

true if the device supports H.263 type 3 encoded videos

streaming_video_vcodec_mpeg4

true/false

true if the device supports MPEG 4 encoded videos

streaming_video_acodec_amr

true/false

true if the phone supports AMR

streaming_video_acodec_awb

true/false

true if the phone supports AWB

streaming_video_acodec_aac

true/false

true if the phone supports AAC

streaming_video_acodec_aac_ltp

true/false

true if the phone supports AAC LTP



Group:wap_push

Capability Name

Type

Description

wap_push_support

true/false

true if the phone support WAP Push messages

connectionless_service_indication

true/false

true if the phone supports it

connectionless_service_load

true/false

true if the phone supports it

connectionless_cache_operation

true/false

true if the phone supports it

connectionoriented_unconfirmed_
service_indication

true/false

Whether unconfirmed service indications are supported, when connection-oriented push is used

connectionoriented_unconfirmed_
service_load

true/false

Whether unconfirmed service load operations are supported, when connection-oriented push is used

connectionoriented_unconfirmed_
cache_operation

true/false

Whether unconfirmed cache operations are supported, when connection-oriented push is used

connectionoriented_confirmed_
service_indication

true/false

Whether confirmed service indications are supported, when connection-oriented push is used

connectionoriented_confirmed_
service_load

true/false

Whether confirmed service load operations are supported, when connection-oriented push is used

connectionoriented_confirmed_
cache_operation

true/false

Whether confirmed cache operations are supported, when connection-oriented push is used

utf8_support

true/false

Whether the UTF-8 character set is supported

ascii_support

true/false

Whether the ASCII character set is supported

iso8859_support

true/false

Whether the ISO-8559 character set is supported

expiration_date

true/false

Whether an expiry date can be set for the resource



Group:mms

Capability Name

Type

Description

receiver

true/false

May receive MMS messages

 

sender

true/false

May send MMS messages

 

mms_max_height

any integer number

Maximum height for an image

 

mms_max_width

any integer number

Maximum width for an image

 

built_in_recorder

true/false

The device features a built-in audio recorder

 

built_in_camera

true/false

The device features a built-in camera

 

mms_jpeg_baseline

true/false

Baseline JPG images support

 

mms_jpeg_progressive

true/false

Progressive JPG images support

 

mms_gif_static

true/false

Static GIF (87a) support

 

mms_gif_animated

true/false

Animated GIF (89a) support

 

mms_png

true/false

PNG support

 

mms_bmp

true/false

BMP support

 

mms_wbmp

true/false

WBMP support

 

mms_amr

true/false

AMR support

 

mms_wav

true/false

WAV support

 

mms_midi_monophonic

true/false

Monophonic MIDI support

 

mms_midi_polyphonic

true/false

Polyphonic MIDI support

 

mms_midi_polyphonic_voices

integer

If polyphonic MIDI is supported, the number of available voices

 

mms_spmidi

true/false

SPMIDI support

 

mms_ota_bitmap

true/false

OTA Bitmap support

 

mms_nokia_wallpaper

true/false

Nokia wallpaper support

 

mms_nokia_operatorlogo

true/false

Nokia operator logo support

 

mms_nokia_3dscreensaver

true/false

Nokia 3D screensaver support

 

mms_nokia_ringingtone

true/false

Nokia ringingtone support

 

mms_rmf

true/false

RMF support

 

mms_symbian_install

true/false

Symbian install files support (May receive Symbian install files inside an MMS)

 

mms_jar

true/false

JAR support

 

mms_jad

true/false

JAD support

 

mms_vcard

true/false

Vcard support

 

mms_wml

true/false

The message may contain wml

 

mms_wbxml

true/false

The message may contain wbxml

 

mms_wmlc

true/false

The message may contain wmlc

 

mms_video

true/false

The message may contain a video clip

 

mms_mp4

true/false

The message may contain an MP4 video

 

mms_3gpp

true/false

The message may contain a 3GPP video

 

mms_3gpp2

true/false

The message may contain a 3GPP2 (CDMA phones) video

 

mms_max_frame_rate

integer

The max frame rate for the video

 



Group:sms Binary SMS and SCKL capabilities.

Capability Name

Type

Description

nokiaring

true/false

true if the phone supports nokiarings

picturemessage

true/false

true if the phone supports Nokia picture messages

operatorlogo

true/false

true if the phone supports Nokia operator logo's (72x14 pixel)

largeoperatorlogo

true/false

true if the phone supports Nokia large operator logo's (72x28 pixel)

callericon

true/false

true if the phone supports Nokia caller icons

nokiavcard

true/false

true if the phone supports Nokia vcards

nokiavcal

true/false

true if the phone supports Nokia vcals

sckl_ringtone

true/false

true if the phone supports SCKL ringtones

sckl_operatorlogo

true/false

true if the phone supports SCKL operator logos

sckl_groupgraphic

true/false

true if the phone supports SCKL group graphics

sckl_vcard

true/false

true if the phone supports SCKL vcards

sckl_vcal

true/false

true if the phone supports SCKL vcals

text_imelody

true/false

true if the phone supports textual iMelody

ems

true/false

true if the phone supports EMS messages

ems_variablesizedpictures

true/false

true if the phone supports EMS messages

ems_imelody

true/false

true if the phone supports iMelody over EMS messages

ems_odi

true/false

true if the phone supports EMS ODI (Object Distribution Indicator)

ems_upi

true/false

true if the phone supports EMS UPI (User Prompt Indicator)

ems_version

integer

EMS version

siemens_ota

true/false

true if the phone supports Siemens OTA

siemens_logo_width

integer

Logo width (default is 101)

siemens_logo_height

integer

Logo height (default is 29)

siemens_screensaver_width

integer

Screensaver width (default is 101)

siemens_screensaver_height

integer

Screensaver height (default is 50)

gprtf

true/false

true if the phone supports Motorola proprietary ringtones (GPRTF)

sagem_v1

true/false

true if the phone supports Sagem proprietary ringtones spec 1.0

sagem_v2

true/false

true if the phone supports Sagem proprietary ringtones spec 2.0

panasonic

true/false

true if the phone supports Panasonic proprietary ringtones



Group:j2me
NOTE: this group has been totally reviewed, old tags don't exist any more, check out the new tags
Group mentors: José Manuel Cantera Fonseca and Cristian Rodriguez from Telefonica I+D

Capability Name

Type

Description

j2me_midp_1_0

true/false

true if the phone is compliant to MIDP 1.0 specifications

j2me_cldc_1_0

true/false

true if the phone is compliant to CLDC 1.0 specifications

j2me_midp_2_0

true/false

true if the phone is compliant to MIDP 2.0

j2me_cldc_1_1

true/false

true if the phone is compliant to CLDC 2.0 specifications

doja_1_0

true/false

true if the phone is compliant to DoJa 1.0 specifications

doja_1_5

true/false

true if the phone is compliant to DoJa 1.5 specifications

doja_2_0

true/false

true if the phone is compliant to DoJa 2.0 specifications

doja_2_1

true/false

true if the phone is compliant to DoJa 2.1 specifications

doja_2_2

true/false

true if the phone is compliant to DoJa 2.2 specifications

doja_3_0

true/false

true if the phone is compliant to DoJa 3.0 specifications

doja_3_5

true/false

true if the phone is compliant to DoJa 3.5 specifications

doja_4_0

true/false

true if the phone is compliant to DoJa 4.0 specifications

j2me_jtwi

true/false

JTWI support

j2me_mmapi_1_0

true/false

MMAPI 1.0 support

j2me_mmapi_1_1

true/false

MMAPI 1.1 support

j2me_wmapi_1_0

true/false

WMAPI 1.0 support

j2me_wmapi_1_1

true/false

WMAPI 1.1 support

j2me_wmapi_2_0

true/false

WMAPI 2.0 support

j2me_btapi

true/false

BlueTooth API support

j2me_3dapi

true/false

3D API support

j2me_locapi

true/false

Localization API support

j2me_nokia_ui

true/false

Nokia UI support

j2me_motorola_lwt

true/false

Motorola LWT support

j2me_siemens_color_game

true/false

Siemens Color Game extension support

j2me_siemens_extension

true/false

Siemens extension support

j2me_heap_size

any integer number

Memory limit in bytes of the memory during runtime

j2me_storage_size

any integer number

The physical memory limit

j2me_max_jar_size

any integer number

Limit in bytes of a midlet downloaded over-the-air

j2me_max_record_store_size

any integer number

Limit in bytes of a record store

j2me_screen_width

any integer number

Screen width in pixels

j2me_screen_height

any integer number

Screen height in pixels

j2me_canvas_width

any integer number

Canvas width in pixels

j2me_canvas_height

any integer number

Canvas height in pixels

j2me_bits_per_pixel

any integer number

Bits per pixels - tells you the colors supported

j2me_audio_capture_enabled

true/false

The device may capture audio clips while in a midlet

j2me_video_capture_enabled

true/false

The device may capture video clips while in a midlet

j2me_photo_capture_enabled

true/false

The device may capture images clips while in a midlet

j2me_capture_image_formats

string

If j2me_photo_capture_enabled is true, this will tell you the image format supported

j2me_http

true/false

The device may start HTTP sessions

j2me_https

true/false

The device may start HTTPS sessions

j2me_socket

true/false

The device may open a socket

j2me_udp

true/false

The device may start UDP sessions

j2me_serial

true/false

The device may start serial connections

j2me_gif

true/false

true if it supports gif images

j2me_gif89a

true/false

true if it supports gif 89a (animated) images

j2me_jpg

true/false

true if it supports jpg images

j2me_png

true/false

true if it supports png images

j2me_bmp

true/false

true if it supports bmp images

j2me_bmp3

true/false

true if it supports bmp3 images

j2me_wbmp

true/false

true if it supports wbmp images

j2me_midi

true/false

true if it supports midi files

j2me_wav

true/false

true if it supports wav files

j2me_amr

true/false

true if it supports amr files

j2me_mp3

true/false

true if it supports mp3 files

j2me_mp4

true/false

true if it supports mp4 audiofiles

j2me_imelody

true/false

true if it supports imelody files

j2me_rmf

true/false

true if it supports rmf files

j2me_au

true/false

true if it supports au files

j2me_aac

true/false

true if it supports aac files

j2me_realaudio

true/false

true if it supports realaudio files

j2me_xmf

true/false

true if it supports xmf files

j2me_wma

true/false

true if it supports wma files

j2me_3gpp

true/false

true if it supports 3gpp files

j2me_h263

true/false

true if it supports h263 files

你可能感兴趣的:(WURFL的使用 - Stone的专栏 - CSDNBlog)