×
Namespaces

Variants
Actions
(Difference between revisions)

Code snippets table for common use cases

From Nokia Developer Wiki
Jump to: navigation, search
hamishwillee (Talk | contribs)
m (Hamishwillee - Minor layout changes)
hamishwillee (Talk | contribs)
m (Hamishwillee - Make more readable)
Line 1: Line 1:
 
{{KBCS}}
 
{{KBCS}}
  
<br>
 
This table lists common mobile application use cases in different programming languages and runtimes supported by Nokia devices: [[Qt]], [[Symbian C++]], [[:Category:Open C/C++|Open C/C++]], [[Java ME]], [[S60 Web Runtime|Web Runtime]], and [[Flash Lite]]. For each use case, links to corresponding code snippets (CS) are provided. This way developers can more easily find snippets in different programming languages and runtimes.
 
  
If you notice that a relevant use case is missing from the list, or a snippet is mapped to a wrong use case, please let us know by adding a note in the [[Talk:Code_snippets_table_for_common_use_cases|Comment]] tab. Currently only the code snippets published in the Forum Nokia Wiki are linked to. If you know that a use case is documented somewhere else, you may add your suggestion. We will then evaluate if the resource can be added to the list.
+
This table lists common mobile application use cases in some of the more important development frameworks supported by Nokia devices: [[Qt]], [[Symbian C++]], [[Java ME]], and [[S60 Web Runtime|Web Runtime]]. For each use case, links to corresponding code snippets (CS) are provided. This way developers can more easily find snippets in different programming languages and runtimes.
 +
 
 +
If you notice that a relevant use case is missing from the list, or a snippet is mapped to a wrong use case, please let us know by adding a Comment at the end of this article. Currently only the code snippets published in the Forum Nokia Wiki are linked to. If you know that a use case is documented somewhere else, you may add your suggestion. We will then evaluate if the resource can be added to the list.
 
__NOTOC__
 
__NOTOC__
 
=== Legend ===
 
=== Legend ===
{| style="align:left; text-align:left"
+
{| class=wikitable
| width="90pt" |<font color="forestgreen">CS123456</font> || width="350pt"|Use case possible (link to a snippet provided). || width="90pt"| '''-''' || width="350pt"|Use case should be possible (no code snippets available).
+
| width="90pt" |CS123456 || width="350pt"|Use case possible (link to a snippet provided). || width="90pt"| '''-''' || width="350pt"|Use case should be possible (no code snippets available).
 
|-
 
|-
| <font color="forestgreen">S60 MobileExt</font> || Use case possible with Mobile Extensions for Qt for S60. || <font color="#808080">N/A</font> || Use case not possible.
+
| S60 MobileExt || Use case possible with Mobile Extensions for Qt for S60. || N/A || Use case not possible.
 
|}   
 
|}   
<br>
+
 
 
----
 
----
  
Line 19: Line 19:
  
 
== ==
 
== ==
{| style="align:left;"  
+
{| style="align:left;"
 +
|- style="background:#efefef; font-size:130%;"
 +
! width="40%"|Use case !! colspan="4"|Development Framework
 +
 
 
|- style="background:#efefef"
 
|- style="background:#efefef"
! width="40%"|Use case !!width="15%"|Qt !!width="15%"|Symbian C++ !!width="15%"|Java ME !!width="15%"|Web Runtime
+
! style="padding-top:5px; padding-bottom:5px;"|{{Anchor|Telephony}}'''Telephony''' !! <small>Qt</small> !! <small>Symbian C++</small> !! <small>Java</small> !! <small>Web Runtime</small>
|- style="background:#addb9c"
+
! width="280pt"|''Telephony''<span id="Telephony"></span> !!width="80pt"| !!width="140pt"| !!width="140pt"| !!width="75pt"|
+
 
|-
 
|-
 
| making a phone call programmatically || [[Mobile_Extensions|S60 MobileExt]] || [[CS001026_-_AIW_Dial_Data_Consumer_API|CS001026]] || [[CS000956_-_Making_a_phone_call_programmatically_using_platformRequest()_method|CS000956]] || N/A
 
| making a phone call programmatically || [[Mobile_Extensions|S60 MobileExt]] || [[CS001026_-_AIW_Dial_Data_Consumer_API|CS001026]] || [[CS000956_-_Making_a_phone_call_programmatically_using_platformRequest()_method|CS000956]] || N/A
Line 34: Line 35:
 
|-
 
|-
 
| retrieving log events (e.g., calls) || N/A || [[CS000849_-_Obtaining_recent_calls|CS000849]] || N/A || [[CS001231_-_Receiving_system_logs_info_in_WRT|CS001231]]
 
| retrieving log events (e.g., calls) || N/A || [[CS000849_-_Obtaining_recent_calls|CS000849]] || N/A || [[CS001231_-_Receiving_system_logs_info_in_WRT|CS001231]]
|- style="background:#addb9c"
+
|- style="background:#efefef"
! width="280pt"|''Messaging''<span id="Messaging"></span> !!width="80pt"| !!width="140pt"| !!width="140pt"| !!width="75pt"|
+
! style="padding-top:5px; padding-bottom:5px;"|{{Anchor|Messaging}}'''Messaging''' !! <small>Qt</small> !! <small>Symbian C++</small> !! <small>Java</small> !! <small>Web Runtime</small>
 
|-
 
|-
 
| sending an SMS message || [[CS001616_-_Send_SMS_using_Qt_Mobility|CS001616]] || - || [[CS000976_-_Sending_a_text_SMS|CS000976]], [[CS000977_-_Sending_a_binary_SMS|CS000977]] || [[CS001242_-_Sending_SMS_messages_in_WRT|CS001242]]
 
| sending an SMS message || [[CS001616_-_Send_SMS_using_Qt_Mobility|CS001616]] || - || [[CS000976_-_Sending_a_text_SMS|CS000976]], [[CS000977_-_Sending_a_binary_SMS|CS000977]] || [[CS001242_-_Sending_SMS_messages_in_WRT|CS001242]]
Line 52: Line 53:
 
|-
 
|-
 
| playing a message || N/A || [[CS001119_-_Playing_a_message_with_the_native_message_reader|CS001119]] || N/A || N/A
 
| playing a message || N/A || [[CS001119_-_Playing_a_message_with_the_native_message_reader|CS001119]] || N/A || N/A
|- style="background:#addb9c"
+
|- style="background:#efefef"
! width="280pt"|''Networking''<span id="Networking"></span> !!width="80pt"| !!width="140pt"| !!width="140pt"| !!width="75pt"|
+
! style="padding-top:5px; padding-bottom:5px;"|{{Anchor|Networking}}'''Networking''' !! <small>Qt</small> !! <small>Symbian C++</small> !! <small>Java</small> !! <small>Web Runtime</small>
 
|-
 
|-
 
| opening a network connection || [[CS001619_-_Opening_a_network_connection_in_Qt|CS001619]] || - || - || -
 
| opening a network connection || [[CS001619_-_Opening_a_network_connection_in_Qt|CS001619]] || - || - || -
Line 60: Line 61:
 
|-
 
|-
 
| using an already active connection || [[CS001619_-_Opening_a_network_connection_in_Qt|CS001619]] || [[CS000825_-_Using_an_already_active_connection|CS000825]] || N/A || N/A
 
| using an already active connection || [[CS001619_-_Opening_a_network_connection_in_Qt|CS001619]] || [[CS000825_-_Using_an_already_active_connection|CS000825]] || N/A || N/A
|-
+
|- style="background:#efefef"
|'''''Bluetooth:'''''
+
! style="padding-top:5px; padding-bottom:5px;"|{{Anchor|Bluetooth}}'''Bluetooth''' !! <small>Qt</small> !! <small>Symbian C++</small> !! <small>Java</small> !! <small>Web Runtime</small>
 
|-
 
|-
 
| using a device selection UI || N/A || [[CS000910_-_Prompting_the_user_to_select_a_Bluetooth_device_using_RNotifier|CS000910]] || N/A || N/A
 
| using a device selection UI || N/A || [[CS000910_-_Prompting_the_user_to_select_a_Bluetooth_device_using_RNotifier|CS000910]] || N/A || N/A
Line 90: Line 91:
 
|-
 
|-
 
| communicating with remote targets || N/A || [[CS001034_-_Remote_Control_Extension_API|CS001034]] || - || N/A
 
| communicating with remote targets || N/A || [[CS001034_-_Remote_Control_Extension_API|CS001034]] || - || N/A
|}
 
  
== ==
 
{| style="align:left;"
 
 
|- style="background:#efefef"
 
|- style="background:#efefef"
! width="40%"|Use case !!width="15%"|Qt !!width="15%"|Symbian C++ !!width="15%"|Java ME !!width="15%"|Web Runtime
+
! style="padding-top:5px; padding-bottom:5px;"|{{Anchor|Base/System}}'''Base/System''' !! <small>Qt</small> !! <small>Symbian C++</small> !! <small>Java</small> !! <small>Web Runtime</small>
|- style="background:#addb9c"
+
! width="280pt"|''Base/System''<span id="Base/System"></span> !!width="80pt"| !!width="140pt"| !!width="140pt"| !!width="75pt"|
+
 
|-
 
|-
 
| using software installer programmatically || [[Mobile_Extensions|S60 MobileExt]] || [[CS000817_-_Installing_and_uninstalling_ MIDlets_programmatically|CS000817]] || N/A || N/A
 
| using software installer programmatically || [[Mobile_Extensions|S60 MobileExt]] || [[CS000817_-_Installing_and_uninstalling_ MIDlets_programmatically|CS000817]] || N/A || N/A
Line 126: Line 122:
 
|-
 
|-
 
| sorting data types, classes, structs || - || - || - || -
 
| sorting data types, classes, structs || - || - || - || -
|- style="background:#addb9c"
+
|- style="background:#efefef"
! width="280pt"|''System information''<span id="System information"></span> !!width="80pt"| !!width="140pt"| !!width="140pt"| !!width="75pt"|
+
! style="padding-top:5px; padding-bottom:5px;"|{{Anchor|System information}}'''System information''' !! <small>Qt</small> !! <small>Symbian C++</small> !! <small>Java</small> !! <small>Web Runtime</small>
 
|-
 
|-
 
| checking battery level || [[Mobile_Extensions|S60 MobileExt]] || [[CS000902_-_Observing_battery_state_with_properties|CS000902]] || [[CS001201_-_Checking_battery_level_in_Java_ME|CS001201]] || [[CS001247_-_Checking_battery_level_in_WRT|CS001247]]
 
| checking battery level || [[Mobile_Extensions|S60 MobileExt]] || [[CS000902_-_Observing_battery_state_with_properties|CS000902]] || [[CS001201_-_Checking_battery_level_in_Java_ME|CS001201]] || [[CS001247_-_Checking_battery_level_in_WRT|CS001247]]
Line 156: Line 152:
 
|-
 
|-
 
| checking memory card existence || N/A || [[CS000827_-_Checking_memory_card_availability|CS000827]] || [[CS001200_-_Checking_memory_card_in_Java_ME|CS001200]] || [[CS001232_-_Retrieving_memory_info_in_WRT|CS001232]]
 
| checking memory card existence || N/A || [[CS000827_-_Checking_memory_card_availability|CS000827]] || [[CS001200_-_Checking_memory_card_in_Java_ME|CS001200]] || [[CS001232_-_Retrieving_memory_info_in_WRT|CS001232]]
|- style="background:#addb9c"
+
 
! width="280pt"|''Profiles''<span id="Profiles"></span> !!width="80pt"| !!width="140pt"| !!width="140pt"| !!width="75pt"|
+
|- style="background:#efefef"
 +
! style="padding-top:5px; padding-bottom:5px;"|{{Anchor|Profiles}}'''Profiles''' !! <small>Qt</small> !! <small>Symbian C++</small> !! <small>Java</small> !! <small>Web Runtime</small>
 
|-
 
|-
 
| checking current profile || [[Mobile_Extensions|S60 MobileExt]] || [[CS001024_-_Profiles_Engine_Active_Profile_Settings_API|CS001024]] || N/A || -
 
| checking current profile || [[Mobile_Extensions|S60 MobileExt]] || [[CS001024_-_Profiles_Engine_Active_Profile_Settings_API|CS001024]] || N/A || -
Line 165: Line 162:
 
| editing profile settings || [[Mobile_Extensions|S60 MobileExt]] || [[CS001294_-_Setting_the_profile_tones_in_active_profile_using_Profile_Engine_Wrapper_API|CS001294]] || N/A || -
 
| editing profile settings || [[Mobile_Extensions|S60 MobileExt]] || [[CS001294_-_Setting_the_profile_tones_in_active_profile_using_Profile_Engine_Wrapper_API|CS001294]] || N/A || -
 
|-
 
|-
|- style="background:#addb9c"
+
 
! width="280pt"|''Hardware''<span id="Hardware"></span> !!width="80pt"| !!width="140pt"| !!width="140pt"| !!width="75pt"|
+
|- style="background:#efefef"
 +
! style="padding-top:5px; padding-bottom:5px;"|{{Anchor|Hardware}}'''Hardware''' !! <small>Qt</small> !! <small>Symbian C++</small> !! <small>Java</small> !! <small>Web Runtime</small>
 
|-
 
|-
 
| controlling lights || [[Mobile_Extensions|S60 MobileExt]] || [[CS000912_-_Controlling_light_settings_using_CHWRMLight|CS000912]] || [[CS001270_-_Controlling_Light_settings_in_Java_ME|CS001270]], [[CS000957_-_Flashing_the_backlight|CS000957]] || [[CS001248_-_Blinking_flashing_increasing_brightness_of_backlight_in_WRT|CS001248]]
 
| controlling lights || [[Mobile_Extensions|S60 MobileExt]] || [[CS000912_-_Controlling_light_settings_using_CHWRMLight|CS000912]] || [[CS001270_-_Controlling_Light_settings_in_Java_ME|CS001270]], [[CS000957_-_Flashing_the_backlight|CS000957]] || [[CS001248_-_Blinking_flashing_increasing_brightness_of_backlight_in_WRT|CS001248]]
 
|-
 
|-
 
| controlling vibra || [[Mobile_Extensions|S60 MobileExt]] || [[CS000911_-_Controlling_vibra_settings_using_CHWRMVibra|CS000911]], [[CS001164_-_Giving_tactile_feedback_in_touch_UI_applications|CS001164]] || [[CS001258_-_Controlling_vibra_settings_in_Java_ME|CS001258]] || [[CS001368_-_Controlling_vibration_in_WRT|CS001368]]
 
| controlling vibra || [[Mobile_Extensions|S60 MobileExt]] || [[CS000911_-_Controlling_vibra_settings_using_CHWRMVibra|CS000911]], [[CS001164_-_Giving_tactile_feedback_in_touch_UI_applications|CS001164]] || [[CS001258_-_Controlling_vibra_settings_in_Java_ME|CS001258]] || [[CS001368_-_Controlling_vibration_in_WRT|CS001368]]
|-
+
 
|'''''Sensors:'''''
+
|- style="background:#efefef"
 +
! style="padding-top:5px; padding-bottom:5px;"|{{Anchor|Sensors}}'''Sensors''' !! <small>Qt</small> !! <small>Symbian C++</small> !! <small>Java</small> !! <small>Web Runtime</small>
 
|-
 
|-
 
| obtaining the number of sensors || N/A || [[CS000886_-_Obtaining_the_number_of_sensors|CS000886]] || [[How_to_get_information_about_sensors_in_Java_ME|FNWiki]] || -
 
| obtaining the number of sensors || N/A || [[CS000886_-_Obtaining_the_number_of_sensors|CS000886]] || [[How_to_get_information_about_sensors_in_Java_ME|FNWiki]] || -
Line 185: Line 184:
 
|-
 
|-
 
| reducing accelerometer sensor noise || [[Mobile_Extensions|S60 MobileExt]] || [[CS000915_-_Reducing_accelerometer_sensor_noise|CS000915]] || - || -
 
| reducing accelerometer sensor noise || [[Mobile_Extensions|S60 MobileExt]] || [[CS000915_-_Reducing_accelerometer_sensor_noise|CS000915]] || - || -
|}
 
  
== ==
 
{| style="align:left;"
 
 
|- style="background:#efefef"
 
|- style="background:#efefef"
! width="40%"|Use case !!width="15%"|Qt !!width="15%"|Symbian C++ !!width="15%"|Java ME !!width="15%"|Web Runtime
+
! style="padding-top:5px; padding-bottom:5px;"|{{Anchor|Files/Data}}'''Files/Data''' !! <small>Qt</small> !! <small>Symbian C++</small> !! <small>Java</small> !! <small>Web Runtime</small>
|- style="background:#addb9c"
+
! width="280pt"|''Files/Data''<span id="Files/Data"></span> !!width="80pt"| !!width="140pt"| !!width="140pt"| !!width="75pt"|
+
 
|-
 
|-
 
| storing application settings || - || [[CS000967_-_Storing_application_settings|CS000967]] || [[CS001265_-_Storing_application_settings_in_Java_ME|CS001265]] || -
 
| storing application settings || - || [[CS000967_-_Storing_application_settings|CS000967]] || [[CS001265_-_Storing_application_settings_in_Java_ME|CS001265]] || -
Line 219: Line 213:
 
|-
 
|-
 
| shuffling data || N/A  || - || - || -
 
| shuffling data || N/A  || - || - || -
|- style="background:#addb9c"
+
 
! width="280pt"|''PIM''<span id="PIM"></span> !!width="80pt"| !!width="140pt"| !!width="140pt"| !!width="75pt"|
+
|- style="background:#efefef"
 +
! style="padding-top:5px; padding-bottom:5px;"|{{Anchor|PIM}}'''PIM''' !! <small>Qt</small> !! <small>Symbian C++</small> !! <small>Java</small> !! <small>Web Runtime</small>
 
|-
 
|-
 
| '''''Calendar:'''''
 
| '''''Calendar:'''''
Line 273: Line 268:
 
|-
 
|-
 
| assigning images to contacts || [[Mobile_Extensions|S60 MobileExt]] || [[CS001138_-_Assign_contact_images_with_AIW|CS001138]] || N/A || N/A
 
| assigning images to contacts || [[Mobile_Extensions|S60 MobileExt]] || [[CS001138_-_Assign_contact_images_with_AIW|CS001138]] || N/A || N/A
|}
 
  
== ==
 
{| style="align:left;"
 
 
|- style="background:#efefef"
 
|- style="background:#efefef"
! width="40%"|Use case !!width="15%"|Qt !!width="15%"|Symbian C++ !!width="15%"|Java ME !!width="15%"|Web Runtime
+
! style="padding-top:5px; padding-bottom:5px;"|{{Anchor|Application Framework}}'''Application Framework''' !! <small>Qt</small> !! <small>Symbian C++</small> !! <small>Java</small> !! <small>Web Runtime</small>
|- style="background:#addb9c"
+
! width="280pt"|''Application Framework''<span id="Application Framework"></span> !!width="80pt"| !!width="140pt"| !!width="140pt"| !!width="75pt"|
+
 
|-
 
|-
 
| listing installed applications || - || - || N/A || [[CS001160_-_Listing_installed_applications|CS001160]]
 
| listing installed applications || - || - || N/A || [[CS001160_-_Listing_installed_applications|CS001160]]
Line 300: Line 290:
 
| getting UI environment pointer || N/A  || [[CS001057_-_Getting_Eikon_environment_pointer|CS001057]]|| N/A || N/A
 
| getting UI environment pointer || N/A  || [[CS001057_-_Getting_Eikon_environment_pointer|CS001057]]|| N/A || N/A
 
|-
 
|-
|- style="background:#addb9c"
+
 
! width="280pt"|''UI''<span id="UI"></span> !!width="80pt"| !!width="140pt"| !!width="140pt"| !!width="75pt"|
+
|- style="background:#efefef"
 +
! style="padding-top:5px; padding-bottom:5px;"|{{Anchor|UI}}'''UI''' !! <small>Qt</small> !! <small>Symbian C++</small> !! <small>Java</small> !! <small>Web Runtime</small>
 
|-
 
|-
 
| adding Symbian S60 Options menu and panes || [[CS001351_-_Adding_Options_menu%2C_panes%2C_and_icon_to_a_Qt_for_S60_application|CS001351]],<br> [[CS001511_-_Add_softkeys_to_QMainWindow|CS001511]],<br> [[CS001512_-_Add_softkeys_to_QDialog|CS001512]],<br> [[CS001513_-_Add_softkeys_to_QMainWindow_and_QDialog|CS001513]] || - || - || [[CS001402_-_Controlling_the_softkey_in_WRT|CS001402]]
 
| adding Symbian S60 Options menu and panes || [[CS001351_-_Adding_Options_menu%2C_panes%2C_and_icon_to_a_Qt_for_S60_application|CS001351]],<br> [[CS001511_-_Add_softkeys_to_QMainWindow|CS001511]],<br> [[CS001512_-_Add_softkeys_to_QDialog|CS001512]],<br> [[CS001513_-_Add_softkeys_to_QMainWindow_and_QDialog|CS001513]] || - || - || [[CS001402_-_Controlling_the_softkey_in_WRT|CS001402]]
Line 378: Line 369:
 
|-
 
|-
 
| enabling and disabling keypad lock || N/A || [[CS000932_-_Enabling_and_disabling_keypad_lock|CS000932]] || N/A || N/A
 
| enabling and disabling keypad lock || N/A || [[CS000932_-_Enabling_and_disabling_keypad_lock|CS000932]] || N/A || N/A
|}
 
  
== ==
 
{| style="align:left;"
 
 
|- style="background:#efefef"
 
|- style="background:#efefef"
! width="40%"|Use case !!width="15%"|Qt !!width="15%"|Symbian C++ !!width="15%"|Java ME !!width="15%"|Web Runtime
+
! style="padding-top:5px; padding-bottom:5px;"|{{Anchor|Personalisation}}'''Personalisation''' !! <small>Qt</small> !! <small>Symbian C++</small> !! <small>Java</small> !! <small>Web Runtime</small>
|- style="background:#addb9c"
+
! width="280pt"|''Personalisation (themes, ringtones)''<span id="Personalisation"></span> !!width="80pt"| !!width="140pt"| !!width="140pt"| !!width="75pt"|
+
 
|-
 
|-
 
| using skins || N/A || [[CS001025_-_Personalisation_and_Skins_Settings_API|CS001025]] || N/A || N/A
 
| using skins || N/A || [[CS001025_-_Personalisation_and_Skins_Settings_API|CS001025]] || N/A || N/A
Line 394: Line 380:
 
|-
 
|-
 
| setting ringtones || N/A || [[CS001294_-_Setting_the_profile_tones_in_active_profile_using_Profile_Engine_Wrapper_API|CS001294]] || N/A || -
 
| setting ringtones || N/A || [[CS001294_-_Setting_the_profile_tones_in_active_profile_using_Profile_Engine_Wrapper_API|CS001294]] || N/A || -
|- style="background:#addb9c"
+
|- style="background:#efefef"
! width="280pt"|''Graphics''<span id="Graphics"></span> !!width="80pt"| !!width="140pt"| !!width="140pt"| !!width="75pt"|
+
 
 +
! style="padding-top:5px; padding-bottom:5px;"|{{Anchor|Graphics}}'''Graphics''' !! <small>Qt</small> !! <small>Symbian C++</small> !! <small>Java</small> !! <small>Web Runtime</small>
 
|-
 
|-
 
| adding an application icon || [[CS001351_-_Adding_Options_menu%2C_panes%2C_and_icon_to_a_Qt_for_Symbian_application|CS001351]] || [[CS000808_-_Creating_and_adding_an_icon_to_an_S60_3rd_Edition_application|CS000808]] || [[CS000958_-_Adding_an_icon_to_a_MIDlet|CS000958]] || -
 
| adding an application icon || [[CS001351_-_Adding_Options_menu%2C_panes%2C_and_icon_to_a_Qt_for_Symbian_application|CS001351]] || [[CS000808_-_Creating_and_adding_an_icon_to_an_S60_3rd_Edition_application|CS000808]] || [[CS000958_-_Adding_an_icon_to_a_MIDlet|CS000958]] || -
Line 416: Line 403:
 
|-
 
|-
 
| changing background colour || [[CS001348_-_Changing_QWidget_background_colour|CS001348]],<br> [[CS001501_-_Creating_a_gradient_background_for_a_QPushButton_with_style_sheet|CS001501]] || - || N/A || -
 
| changing background colour || [[CS001348_-_Changing_QWidget_background_colour|CS001348]],<br> [[CS001501_-_Creating_a_gradient_background_for_a_QPushButton_with_style_sheet|CS001501]] || - || N/A || -
|- style="background:#addb9c"
+
 
! width="280pt"|''Imaging/Camera''<span id="Imaging/Camera"></span> !!width="80pt"| !!width="140pt"| !!width="140pt"| !!width="75pt"|
+
|- style="background:#efefef"
 +
! style="padding-top:5px; padding-bottom:5px;"|{{Anchor|Imaging/Camera}}'''Imaging/Camera''' !! <small>Qt</small> !! <small>Symbian C++</small> !! <small>Java</small> !! <small>Web Runtime</small>
 
|-
 
|-
 
| '''''Camera:'''''
 
| '''''Camera:'''''
Line 436: Line 424:
 
|-
 
|-
 
| reading image information || - || [[CS000968_-_Using_Exif_API|CS000968]] || - || -
 
| reading image information || - || [[CS000968_-_Using_Exif_API|CS000968]] || - || -
|- style="background:#addb9c"
+
 
! width="280pt"|''Audio/Video''<span id="Audio/Video"></span> !!width="80pt"| !!width="140pt"| !!width="140pt"| !!width="75pt"|
+
|- style="background:#efefef"
 +
! style="padding-top:5px; padding-bottom:5px;"|{{Anchor|Audio/Video}}'''Audio/Video''' !! <small>Qt</small> !! <small>Symbian C++</small> !! <small>Java</small> !! <small>Web Runtime</small>
 
|-
 
|-
 
| finding audio and video formats || N/A || [[CS000899_-_Finding_audio_and_video_formats_supported_by_the_phone|CS000899]] || [[CS001260_-_Finding_audio_and_video_formats_supported_by_the_phone_in_Java_ME|CS001260]] || N/A
 
| finding audio and video formats || N/A || [[CS000899_-_Finding_audio_and_video_formats_supported_by_the_phone|CS000899]] || [[CS001260_-_Finding_audio_and_video_formats_supported_by_the_phone_in_Java_ME|CS001260]] || N/A
Line 453: Line 442:
 
|-
 
|-
 
| using audio adjustments in the audio player || N/A || [[CS001130_-_Adding_doppler_effects_to_the_audio_player|CS001130]], [[CS001131_-_Adding_source_location_effects_to_the_audio_player|CS001131]],<br> [[CS001132_-_Adding_listener's_location_effects_to_the_audio_player|CS001132]], [[CS001133_-_Adding_bass_boost_to_the_audio_player|CS001133]],<br> [[CS001134_-_Adding_stereo_widening_to_the_audio_player|CS001134]], [[CS001135_-_Adding_reverb_to_the_audio_player|CS001135]],<br> [[CS001136_-_Adding_equalizer_to_the_audio_player|CS001136]] || N/A || N/A
 
| using audio adjustments in the audio player || N/A || [[CS001130_-_Adding_doppler_effects_to_the_audio_player|CS001130]], [[CS001131_-_Adding_source_location_effects_to_the_audio_player|CS001131]],<br> [[CS001132_-_Adding_listener's_location_effects_to_the_audio_player|CS001132]], [[CS001133_-_Adding_bass_boost_to_the_audio_player|CS001133]],<br> [[CS001134_-_Adding_stereo_widening_to_the_audio_player|CS001134]], [[CS001135_-_Adding_reverb_to_the_audio_player|CS001135]],<br> [[CS001136_-_Adding_equalizer_to_the_audio_player|CS001136]] || N/A || N/A
|}
 
  
== ==
 
{| style="align:left;"
 
 
|- style="background:#efefef"
 
|- style="background:#efefef"
! width="40%"|Use case !! width="15%"|Qt !!width="15%"|Symbian C++ !!width="15%"|Java ME !!width="15%"|Web Runtime
+
! style="padding-top:5px; padding-bottom:5px;"|{{Anchor|Browsing and Download}}'''Browsing and Download''' !! <small>Qt</small> !! <small>Symbian C++</small> !! <small>Java</small> !! <small>Web Runtime</small>
|- style="background:#addb9c"
+
! width="280pt"|''Browsing and Download''<span id="Browsing and Download"></span> !!width="80pt"| !!width="140pt"| !!width="140pt"| !!width="75pt"|
+
 
|-
 
|-
 
| open html pages and links in browser || [[CS001495_-_Display_local_web_page_with_Qt_WebKit|CS001495]] || [[CS001385_-_Opening_an_HTML_document_in_the_web_browser|CS001385]], [[CS001386_-_Opening_an_HTML_link_in_the_web_browser|CS001386]] || [[CS000974_-_Using_eSWT_Browser_in_Java_ME|CS000974]] || [[CS001372_-_Opening_a_web_page_into_Web_browser_from_a_WRT_widget|CS001372]],<br> [[CS001518_-_Creating_a_launcher_for_a_web_application_in_WRT|CS001518]]
 
| open html pages and links in browser || [[CS001495_-_Display_local_web_page_with_Qt_WebKit|CS001495]] || [[CS001385_-_Opening_an_HTML_document_in_the_web_browser|CS001385]], [[CS001386_-_Opening_an_HTML_link_in_the_web_browser|CS001386]] || [[CS000974_-_Using_eSWT_Browser_in_Java_ME|CS000974]] || [[CS001372_-_Opening_a_web_page_into_Web_browser_from_a_WRT_widget|CS001372]],<br> [[CS001518_-_Creating_a_launcher_for_a_web_application_in_WRT|CS001518]]
 
|-
 
|-
 
| gather and add data from a Web page || [[CS001496_-_Gather_data_from_web_page_with_JavaScript,_WebKit,_and_Qt|CS001496]],<br> [[CS001497_-_Add_data_to_a_web_page_with_JavaScript,_WebKit,_and_Qt|CS001497]] || - || - || -
 
| gather and add data from a Web page || [[CS001496_-_Gather_data_from_web_page_with_JavaScript,_WebKit,_and_Qt|CS001496]],<br> [[CS001497_-_Add_data_to_a_web_page_with_JavaScript,_WebKit,_and_Qt|CS001497]] || - || - || -
|- style="background:#addb9c"
+
 
! width="280pt"|''Games''<span id="Games"></span> !!width="80pt"| !!width="140pt"| !!width="140pt"| !!width="75pt"|
+
|- style="background:#efefef"
 +
! style="padding-top:5px; padding-bottom:5px;"|{{Anchor|Games}}'''Games''' !! <small>Qt</small> !! <small>Symbian C++</small> !! <small>Java</small> !! <small>Web Runtime</small>
 
|-
 
|-
 
| detecting collisions || - || [[CS000865_-_Collision_detection|CS000865]]|| [[CS000959_-_Collision_detection_in_Java_ME|CS000959]] || N/A
 
| detecting collisions || - || [[CS000865_-_Collision_detection|CS000865]]|| [[CS000959_-_Collision_detection_in_Java_ME|CS000959]] || N/A
|- style="background:#addb9c"
+
 
! width="280pt"|''Localisation''<span id="Localisation"></span> !!width="80pt"| !!width="140pt"| !!width="140pt"| !!width="75pt"|
+
|- style="background:#efefef"
 +
! style="padding-top:5px; padding-bottom:5px;"|{{Anchor|Localisation}}'''Localisation''' !! <small>Qt</small> !! <small>Symbian C++</small> !! <small>Java</small> !! <small>Web Runtime</small>
 
|-
 
|-
 
| localising application strings || - || [[CS000807_-_Localizing_application_strings|CS000807]] || [[CS001094_-_L10n:_Application_attributes|CS001094]], [[CS001095_-_L10n:_Text_files|CS001095]],<br> [[CS001096_-_L10n:_Resource_bundles|CS001096]] || [[CS001370_-_Localising_strings_in_WRT|CS001370]]
 
| localising application strings || - || [[CS000807_-_Localizing_application_strings|CS000807]] || [[CS001094_-_L10n:_Application_attributes|CS001094]], [[CS001095_-_L10n:_Text_files|CS001095]],<br> [[CS001096_-_L10n:_Resource_bundles|CS001096]] || [[CS001370_-_Localising_strings_in_WRT|CS001370]]
Line 485: Line 471:
 
|-
 
|-
 
| using localised images || - || [[CS000858_-_I18n:_Images|CS000858]] || [[CS001317_-_Using_localised_images_in_Java_ME|CS001317]] || [[CS001369_-_Localising_images_in_WRT|CS001369]]
 
| using localised images || - || [[CS000858_-_I18n:_Images|CS000858]] || [[CS001317_-_Using_localised_images_in_Java_ME|CS001317]] || [[CS001369_-_Localising_images_in_WRT|CS001369]]
|- style="background:#addb9c"
+
 
! width="280pt"|''Help''<span id="Help"></span> !!width="80pt"| !!width="140pt"| !!width="140pt"| !!width="75pt"|
+
|- style="background:#efefef"
 +
! style="padding-top:5px; padding-bottom:5px;"|{{Anchor|Help}}'''Help''' !! <small>Qt</small> !! <small>Symbian C++</small> !! <small>Java</small> !! <small>Web Runtime</small>
 
|-
 
|-
 
| implementing CS Help || N/A || [[CS000809_-_Implementing_context-sensitive_help|CS000809]] || N/A || N/A
 
| implementing CS Help || N/A || [[CS000809_-_Implementing_context-sensitive_help|CS000809]] || N/A || N/A
 
|-
 
|-
 
| localising application help || - || [[CS000810_-_Localizing_application_help|CS000810]] || - || -
 
| localising application help || - || [[CS000810_-_Localizing_application_help|CS000810]] || - || -
|- style="background:#addb9c"
+
 
! width="280pt"|''Location''<span id="Location"></span> !!width="80pt"| !!width="140pt"| !!width="140pt"| !!width="75pt"|
+
|- style="background:#efefef"
 +
! style="padding-top:5px; padding-bottom:5px;"|{{Anchor|Location}}'''Location''' !! <small>Qt</small> !! <small>Symbian C++</small> !! <small>Java</small> !! <small>Web Runtime</small>
 
|-
 
|-
 
| searching for GPS devices || N/A || [[CS000822_-_Searching_for_GPS_devices|CS000822]] || [[How_to_get_compass_directions_in_Java_ME|FNWiki]] || -
 
| searching for GPS devices || N/A || [[CS000822_-_Searching_for_GPS_devices|CS000822]] || [[How_to_get_compass_directions_in_Java_ME|FNWiki]] || -
Line 513: Line 501:
 
|-
 
|-
 
| importing landmarks || N/A || - || - || -
 
| importing landmarks || N/A || - || - || -
|}
 
  
== ==
 
{| style="align:left;"
 
 
|- style="background:#efefef"
 
|- style="background:#efefef"
! width="40%"|Use case !!width="15%"|Qt !!width="15%"|Symbian C++ !!width="15%"|Java ME !!width="15%"|Web Runtime
+
! style="padding-top:5px; padding-bottom:5px;"|{{Anchor|Development process}}'''Development process''' !! <small>Qt</small> !! <small>Symbian C++</small> !! <small>Java</small> !! <small>Web Runtime</small>
|- style="background:#addb9c"
+
! width="280pt"|''Development process''<span id="Development process"></span> !!width="80pt"| !!width="140pt"| !!width="140pt"| !!width="75pt"|
+
 
|-
 
|-
 
| using command line arguments || - || - || N/A || -
 
| using command line arguments || - || - || N/A || -
Line 529: Line 512:
 
| setting up Qt Mobility || [[CS001615_-_Setting_up_Qt_Mobility|CS001615]] || - || - ||-
 
| setting up Qt Mobility || [[CS001615_-_Setting_up_Qt_Mobility|CS001615]] || - || - ||-
 
|-
 
|-
! width="280pt"|''Testing/Debugging''<span id="Testing/Debugging"></span> !!width="80pt"| !!width="140pt"| !!width="140pt"| !!width="75pt"|
+
 
 +
|- style="background:#efefef"
 +
! style="padding-top:5px; padding-bottom:5px;"|{{Anchor|Testing/Debugging}}'''Testing/Debugging''' !! <small>Qt</small> !! <small>Symbian C++</small> !! <small>Java</small> !! <small>Web Runtime</small>
 
|-
 
|-
 
| displaying error texts || - || [[CS000965_-_Using_class_CErrorUI_to_display_error_notes|CS000965]] || - || -
 
| displaying error texts || - || [[CS000965_-_Using_class_CErrorUI_to_display_error_notes|CS000965]] || - || -
 
|-
 
|-
 
| resolving error texts || - || [[CS000966_-_Using_class_CTextResolver_to_resolve_error_texts|CS000966]] || - || -
 
| resolving error texts || - || [[CS000966_-_Using_class_CTextResolver_to_resolve_error_texts|CS000966]] || - || -
|- style="background:#addb9c"
+
 
! width="280pt"|''Installation''<span id="Installation"></span> !!width="80pt"| !!width="140pt"| !!width="140pt"| !!width="75pt"|
+
|- style="background:#efefef"
 +
! style="padding-top:5px; padding-bottom:5px;"|{{Anchor|Installation}}'''Installation''' !! <small>Qt</small> !! <small>Symbian C++</small> !! <small>Java</small> !! <small>Web Runtime</small>
 
|-
 
|-
 
| creating dependencies || - || [[CS001097_-_Creating_dependencies_to_other_components|CS001097]] || N/A || N/A
 
| creating dependencies || - || [[CS001097_-_Creating_dependencies_to_other_components|CS001097]] || N/A || N/A

Revision as of 10:36, 21 June 2011

Template:KBCS


This table lists common mobile application use cases in some of the more important development frameworks supported by Nokia devices: Qt, Symbian C++, Java ME, and Web Runtime. For each use case, links to corresponding code snippets (CS) are provided. This way developers can more easily find snippets in different programming languages and runtimes.

If you notice that a relevant use case is missing from the list, or a snippet is mapped to a wrong use case, please let us know by adding a Comment at the end of this article. Currently only the code snippets published in the Forum Nokia Wiki are linked to. If you know that a use case is documented somewhere else, you may add your suggestion. We will then evaluate if the resource can be added to the list.

Legend

CS123456 Use case possible (link to a snippet provided). - Use case should be possible (no code snippets available).
S60 MobileExt Use case possible with Mobile Extensions for Qt for S60. N/A Use case not possible.

Telephony | Messaging | Networking | Base/System | System information | Profiles | Hardware | Files/Data | PIM | Application Framework | UI | Personalisation | Graphics | Imaging/Camera | Audio/Video | Browsing and Download | Games | Localisation | Help | Location | Development process | Testing/Debugging | Installation

Use case Development Framework
Telephony Qt Symbian C++ Java Web Runtime
making a phone call programmatically S60 MobileExt CS001026 CS000956 N/A
making a phone call (user intervention required) S60 MobileExt - CS000955 N/A
hanging up a phone call N/A CS001383 N/A N/A
retrieving information on a phone call S60 MobileExt CS001063, CS001032 N/A N/A
retrieving log events (e.g., calls) N/A CS000849 N/A CS001231
Messaging Qt Symbian C++ Java Web Runtime
sending an SMS message CS001616 - CS000976, CS000977 CS001242
sending an MMS message CS001616 CS001379 CS000978 CS001239
listening for incoming SMS messages CS001617 CS001381 CS000981, CS000980 CS001236
listing messages in inbox CS001618 - N/A CS001246
removing a message N/A CS001380 N/A CS001241
changing the read status of a message - - N/A CS001365
providing a "send via" functionality N/A - N/A -
playing a message N/A CS001119 N/A N/A
Networking Qt Symbian C++ Java Web Runtime
opening a network connection CS001619 - - -
filtering internet access points - CS000837 N/A N/A
using an already active connection CS001619 CS000825 N/A N/A
Bluetooth Qt Symbian C++ Java Web Runtime
using a device selection UI N/A CS000910 N/A N/A
discovering devices N/A CS000936 CS001211 N/A
discovering services N/A CS000937 CS001213 N/A
service advertising & listening to connections N/A CS000938 CS001212 N/A
defining the transfer protocol (RFCOMM/L2CAP) N/A - - N/A
opening multiple connections N/A - - N/A
opening a socket N/A CS000939 - N/A
closing a socket N/A - - N/A
sending data N/A - - N/A
setting discoverability mode N/A CS000838 CS001310 N/A
prompting to switch on Bluetooth N/A - N/A N/A
deleting bluetooth device from the registry N/A CS001064 N/A N/A
retrieving bluetooth device's local name N/A CS001064 CS001323 N/A
communicating with remote targets N/A CS001034 - N/A
Base/System Qt Symbian C++ Java Web Runtime
using software installer programmatically S60 MobileExt CS000817 N/A N/A
exception handling - CS000882 - N/A
reading and writing persistent settings S60 MobileExt CS000908, CS000909 N/A CS001374
scheduling delayed execution N/A CS000986, CS000987,
CS000988, CS000989,
CS000990, CS000991,
CS000992
- -
creating parallel execution paths (threads /
active objects)
- CS000867 CS001321 N/A
synchronizing resource access (Symbian:mutex,
semaphore; Java:synchronize)
- CS000969 CS001320 N/A
splitting execution to asynchronous blocks - CS000982,CS000983,
CS001010
- N/A
cancelling an asynchronous function call - - - CS001177
custom cleanup N/A CS000985 - N/A
using plugins CS001391 CS000834, CS0000835,
CS000836
- N/A
generating random-value integers CS001350 - - -
using arguments - - - -
using string conversions S60 MobileExt - - -
sorting data types, classes, structs - - - -
System information Qt Symbian C++ Java Web Runtime
checking battery level S60 MobileExt CS000902 CS001201 CS001247
checking network strength S60 MobileExt - CS001202 CS001234
identifying platform version S60 MobileExt CS000933 - -
getting cell id N/A - CS000947 -
retrieving product information S60 MobileExt - - -
checking APIs N/A - CS000960 -
feature discovery S60 MobileExt - - -
checking runtime version - - CS001357 -
checking machine id at run-time N/A - N/A -
checking machine id at installation-time N/A - N/A N/A
checking product (=platform) id at run-time N/A - - -
checking product (=platform) id at installation-time N/A - N/A N/A
retrieving memory information S60 MobileExt - - CS001232
checking memory card existence N/A CS000827 CS001200 CS001232
Profiles Qt Symbian C++ Java Web Runtime
checking current profile S60 MobileExt CS001024 N/A -
changing profile S60 MobileExt - N/A -
editing profile settings S60 MobileExt CS001294 N/A -
Hardware Qt Symbian C++ Java Web Runtime
controlling lights S60 MobileExt CS000912 CS001270, CS000957 CS001248
controlling vibra S60 MobileExt CS000911, CS001164 CS001258 CS001368
Sensors Qt Symbian C++ Java Web Runtime
obtaining the number of sensors N/A CS000886 FNWiki -
displaying information about available sensors N/A CS000887 FNWiki -
displaying sensor data S60 MobileExt CS000914 FNWiki -
listening for rotation sensor data events S60 MobileExt CS000913 - -
listening for accelerometer sensor data events S60 MobileExt CS000888 FNWiki -
reducing accelerometer sensor noise S60 MobileExt CS000915 - -
Files/Data Qt Symbian C++ Java Web Runtime
storing application settings - CS000967 CS001265 -
using databases CS001504,
CS001505,
CS001506,
CS001507,
CS001508,
CS001509,
CS001510
CS000925, CS000926,
CS000927, CS000928,
CS000929, CS000930
- -
parsing contacts details from informal text - CS000931 - -
managing archives - CS000948, CS000949,
CS000950
- -
managing media files - CS001036 - -
opening files, handling mime types N/A CS001050, CS001052,
CS001053, CS001054
- CS001371
listing PIM databases N/A - CS000972 -
using resources CS001503 - CS000979, CS001006 -
creating temporary files - - - -
reading and writing files - - FNWiki,
FNWiki
-
checking file status - - - -
encrypting and decrypting N/A - CS001314 -
shuffling data N/A - - -
PIM Qt Symbian C++ Java Web Runtime
Calendar:
adding a new event N/A - CS001198 CS001233
modifying an existing event N/A - CS001188 CS000942
deleting an event N/A - CS001358 CS001233
showing calendars and events N/A - CS001189,
CS001361
CS001244,
CS001278
importing an event N/A CS001027 CS001197 CS001237
exporting an event N/A CS001028 CS001186 CS001237
adding calendars N/A - - CS0012230
deleting calendars N/A - - CS0012230
changing calendar settings N/A CS001038 - -
Date/time/clock:
converting time zones N/A CS000847 CS001199 -
displaying time and date - CS001007, CS001008 CS001311 CS001229
changing clock settings N/A CS001037 N/A -
monitoring alarms N/A CS001120 N/A -
Phonebook / Contacts:
finding/viewing contacts CS001620,
CS001621
- CS001184,CS001360 CS001235
adding a contact CS001624 - CS001183 CS001238
adding a contact to a group - - - CS001362
managing phonebook groups - - - CS001373
reading and modifying a contact CS001622 - CS001185 CS001240
deleting a contact CS001623 - CS001359 CS001243
organising contacts N/A - - -
importing a vCard N/A CS000900 CS001187 -
exporting a vCard N/A CS000901 CS001210 -
assigning images to contacts S60 MobileExt CS001138 N/A N/A
Application Framework Qt Symbian C++ Java Web Runtime
listing installed applications - - N/A CS001160
launching an installed application CS001354 CS000828 N/A CS001162,
CS001518
triggering application launch N/A - CS001387 N/A
pausing application on incoming call or message - CS000863, CS000883 CS000975 -
sending application to background CS001519 - - -
detecting focus change - - - -
exiting application CS001626 - - -
loading libraries - CS001009 N/A N/A
getting UI environment pointer N/A CS001057 N/A N/A
UI Qt Symbian C++ Java Web Runtime
adding Symbian S60 Options menu and panes CS001351,
CS001511,
CS001512,
CS001513
- - CS001402
combining UI with engine CS001613,
CS001625,
CS001543,
CS001544,
CS001545
- - -
drawing standard borders - CS000862 - -
switching views N/A CS001378, CS000848 CS000973
calculating text width CS001349 - - -
setting label fonts - CS000833 CS001316 -
drawing custom borders - CS000824 - -
adding scrollbars - CS000823 - CS001554
listening for scrollbar events - CS000884 - -
implementing a horizontally scrolling view CS001630 - - -
receiving key events CS001352 N/A CS001315 CS000943
listening for window server events CS001353 - - -
reacting to changes in screen size - - - CS001499
detecting and changing display orientation - - - CS001498,
CS001366
locking display orientation CS001517 - - -
using indicators - CS000818, CS001121 N/A CS001549,
CS001550
using progress bars - - - CS001555
using custom controls and elements CS001627,
CS001612
CS000859, CS000860,
CS000861, CS000868
CS001267 -
creating transparent controls CS001614 - - -
using custom dialogs - CS000870, CS001165 CS000946 -
using custom scrollbars - CS000869, CS000885 - -
using interpolation - CS001166 - -
using listboxes - - CS001266 CS000941
using grids - - - CS000940
using notes - CS000945 CS001312 -
using dialogs - CS001056, CS001062 CS001312 -
using queries - CS001055, CS001059,
CS001060, CS001061
- -
managing layouts CS001308,
CS001309
- - -
using buttons - - - CS001547
using radio buttons - CS001118 - CS001552
using checkboxes - - - CS001548,
CS001551
using carousels - - - CS001546
using datepicker component - - - CS001553
catching menu events - CS001117 - CS001364
handling touch UI events - CS001144, CS001145,
CS001146, CS001147,
CS001148, CS001163,
CS001164
- -
showing text input - - - -
enabling and disabling keypad lock N/A CS000932 N/A N/A
Personalisation Qt Symbian C++ Java Web Runtime
using skins N/A CS001025 N/A N/A
using style sheets CS001502 - - -
accessing screensaver settings N/A CS001039 N/A N/A
setting ringtones N/A CS001294 N/A -
Graphics Qt Symbian C++ Java Web Runtime
adding an application icon CS001351 CS000808 CS000958 -
loading images CS001500 - - CS001245
rotating bitmaps and images CS001514 CS000866, CS001139 CS001263 -
scaling bitmaps CS001347,
CS001346
CS000984 CS001269 -
converting bitmap to JPEG - CS000906 - -
avoid flickering with double-buffering - CS001049 CS001268 CS001363
creating effects CS001515 - CS001319 -
drawing CS001516 - CS001313, CS001272 -
using animation CS001556, CS001557,
CS001558,
CS001559,
CS001560,
CS001561,
CS001628,
CS001629
- CS001271 -
changing background colour CS001348,
CS001501
- N/A -
Imaging/Camera Qt Symbian C++ Java Web Runtime
Camera:
taking a picture S60 MobileExt CS000904 CS001259 N/A
saving a captured image - CS000905 CS001261 N/A
displaying viewfinder data S60 MobileExt CS000907 - N/A
handling (releasing) camera resource - CS000821 CS001262 N/A
checking if the camera is running - CS000815 - N/A
determining the number of cameras - CS000826 CS001273 N/A
using autofocus S60 MobileExt CS000954 N/A N/A
reading image information - CS000968 - -
Audio/Video Qt Symbian C++ Java Web Runtime
finding audio and video formats N/A CS000899 CS001260 N/A
playing multichannel audio N/A CS000916 - -
managing key sounds N/A CS000951, CS000952,
CS000953
N/A -
configuring speech encoders (e.g., AMR) N/A CS001030 N/A N/A
converting text-to-speech N/A CS001031 N/A N/A
accessing video encoders N/A CS001065 N/A N/A
using audio adjustments in the audio player N/A CS001130, CS001131,
CS001132, CS001133,
CS001134, CS001135,
CS001136
N/A N/A
Browsing and Download Qt Symbian C++ Java Web Runtime
open html pages and links in browser CS001495 CS001385, CS001386 CS000974 CS001372,
CS001518
gather and add data from a Web page CS001496,
CS001497
- - -
Games Qt Symbian C++ Java Web Runtime
detecting collisions - CS000865 CS000959 N/A
Localisation Qt Symbian C++ Java Web Runtime
localising application strings - CS000807 CS001094, CS001095,
CS001096
CS001370
localising application help - CS000810 - -
localising application menus - CS000811 - -
localising number format - CS000855 - -
localising currency - CS000856 - -
localising timestamps - CS000857 CS001322 -
using localised images - CS000858 CS001317 CS001369
Help Qt Symbian C++ Java Web Runtime
implementing CS Help N/A CS000809 N/A N/A
localising application help - CS000810 - -
Location Qt Symbian C++ Java Web Runtime
searching for GPS devices N/A CS000822 FNWiki -
finding position S60 MobileExt CS001376, CS001377 FNWiki CS001161
tracking changes in location S60 MobileExt - FNWiki CS001176
calculating the distance - CS001375 - CS001175
launching location settings - CS001035 N/A -
Landmarks:
adding a landmark S60 MobileExt - - -
modifying a landmark N/A - - -
exporting landmarks N/A - - -
importing landmarks N/A - - -
Development process Qt Symbian C++ Java Web Runtime
using command line arguments - - N/A -
deploying and exporting files CS001423,
CS001424
- - -
setting up Qt Mobility CS001615 - - -
Testing/Debugging Qt Symbian C++ Java Web Runtime
displaying error texts - CS000965 - -
resolving error texts - CS000966 - -
Installation Qt Symbian C++ Java Web Runtime
creating dependencies - CS001097 N/A N/A
showing manufacturer disclaimer - CS000934, CS000935 N/A -

Give feedback

Currently only references to the Forum Nokia code snippets are listed. If you know that a use case is documented somewhere else, or if you notice an error, please let us know by adding comment below. You may also add a suggestion for a new, relevant use case.

1477 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×