×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    30

    Red face Package behavior

    I downloaded the sdk for SNAP recently.It shows two main packages:::
    1)com.nokia.sm.util;
    2)com.nokia.sm.net
    But when i look at the code of the snapMobile Sample given by you, there is a package that has been imported.It is com.nokia.sm.ui. Which is this package?Is it the same as mentioned above in 2) ? Or is it different??
    Regards...
    Abhi

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: Package behavior

    I did not find that package com.nokia.sm.ui in the SNAP Mobile SDK sample (HelloWorld midlet). Which sample are you referring to?

    Hartti

  3. #3
    Registered User
    Join Date
    Jun 2006
    Posts
    30

    Re: Package behavior

    No.I am talking about the SnapMobileSample example application that is given with the WTK 2.3. In this application there is a class Community. In this class the .ui package has been included.WHich is this package?

  4. #4
    Registered User
    Join Date
    Jun 2006
    Posts
    25

    Re: Package behavior

    The SDK in the WTK 2.3 Beta is outdated and will no longer be supported when the WTK 2.5 Beta comes out later this month.

    I would advise you to use the SNAP Mobile 1.1 SDK available through Forum Nokia.

    Thanks,
    Matt

  5. #5
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: Package behavior

    not related to the SNAP mobile SDK - in fact the WTK 2.5 beta is already available
    http://java.sun.com/products/sjwtool...nload-2_5.html

    Hartti

  6. #6
    Registered User
    Join Date
    Jan 2004
    Posts
    12

    Re: Package behavior

    Hi,

    The "com.nokia.sm.ui" package was a set of classes for creating/managing GUIs, that was released in binary jar form only in the WTK 2.3 -- it formed the basis of the GUI for the SnapMobileSample app in that release.

    As noted, there is a brand new release of the WTK (v2.5) which contains an updated version of the SnapMobileSample app. This version also uses the com.nokia.sm.ui classes, but only in binary format, not released as source.

    Look to the imminent release of the SNAP Mobile SDK v1.2 on Forum Nokia -- the next release should contain the source code for these classes, so you can inspect/borrow/improve/etc. them yourself! Note that these will be released as sample code, but not as "officially supported API" code -- so they are free for your own use, but are meant for illustrative purposes only and we will not be receiving bug reports, requests for features, etc. for these classes.

    Thanks,
    Sam Trychin
    SNAP Mobile Engineer

Similar Threads

  1. Using kxml package in J2ME!! PLEASE HELP
    By ajayluthria in forum Mobile Java General
    Replies: 3
    Last Post: 2007-03-21, 05:43
  2. Cannot create package with S40 sdk
    By old_bug in forum Mobile Java Tools & SDKs
    Replies: 6
    Last Post: 2007-01-24, 06:40
  3. WMA package
    By k_salil in forum Mobile Java General
    Replies: 1
    Last Post: 2004-06-07, 09:50
  4. Creting Application package fileNotFound error
    By pid0101 in forum Mobile Java General
    Replies: 0
    Last Post: 2004-01-19, 19:55
  5. Magical Nokia package creation
    By SpaceCowboy in forum Mobile Java General
    Replies: 1
    Last Post: 2003-08-11, 21:32

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×