×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 35

Hybrid View

  1. #1
    (Retired) Nokia Developer Admin.
    Join Date
    Jan 2006
    Location
    Michigan
    Posts
    4,664

    Exclamation Nokia N97 SDK - beta - released . Feedback welcomed.

    The 0.5 version of the Nokia N97 SDK has been released to developers. The SDK can be found at http://www.forum.nokia.com/N97_SDK.

    This SDK supports all the new/key functionality to be offered by the Nokia N97 as listed below. The most important news about this SDK, and its Developer Library, is that it provides an early preview how to publish content directly to the device homescreen. Both native applications and widgets can take full advantage of Home screen publishing.

    New C++ APIs
    Homescreen Publishing API
    Example app at: HsPWidget (<SDK_Installation_Dir>/S60CPPExamples/HsPWidget)

    “Out-Of-Memory” Client API
    Example app at: OomExample(<SDK_Installation_Dir>/S60CPPExamples/OomExample)

    Sensor Data Compensator API

    New Java API’s - JRT 1.4
    Sensor API - JSR 256 (New)
    Nokia UI API 1.3 (Updated)


    New Emulator Features
    N97 Look and Feel
    Miniview support in emulator Homescreen
    Qwerty and Rocker Key support


    These new C++ API's are not part of the S60 5.0 platform which was previously released in October, 2008. They will be included in subsequent platform releases. As such, API compatibility with future releases of Symbian is not 100% guaranteed.

  2. #2
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: Nokia N97 SDK - beta - released

    Please post here your comments and bug reports regarding the Nokia N97 SDK v0.5 and the new APIs introduced by it.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  3. #3
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: Nokia N97 SDK - beta - released

    Trying to encourage your contribution :)

    Bugs:
    - inherited from S60 5th Edition SDK there is a screen layout problem that leaves a dirty strip on the right side of the screen (portrait mode)
    - after adding a widget to the home screen the CBA does not get updated and a tap on that seems to be command "Done" triggers the action for what should be the real CBA command at that time, namely Contacts.
    - the emulator does not start if used over Remote Desktop Connection when the sound settings are either "Do not play" or "Play locally" but all is ok if the sound settings is "play at remote computer".
    - starting the Camera applications switches the emulator in landskcape mode but the window is too small (1/2 size) and a scrollbar is shown
    - camera application does not work, requests phone to be rebooted
    - route generator tool has wrong coordinates system orientation and generates plots outside the bounding map area; map image does not scale/scroll in view box
    - weird errors still showing from system headers when building the app with GCC

    Code:
    /S60/devices/Nokia_N97_SDK_v0.5/epoc32/include/eikmenup.h: In member function `TBool CEikMenuPaneItem::IsScaleableText(const TDesC&) const':
    /S60/devices/Nokia_N97_SDK_v0.5/epoc32/include/eikmenup.h:242: warning: enumeral mismatch in conditional expression: `TFalse' vs `TTrue'

    Feature requests:
    - the new flashing taskbar button feature that is supposed to indicate that the emulator is still loading is really annoying and should be changed to start flashing only once the loading process completed, allowing thus to ignore the window until such time.
    - landscape touch only configuration should be provided for the emulator
    - add volume, power and camera key emulation
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  4. #4
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: Nokia N97 SDK - beta - released . Feedback welcomed.

    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  5. #5
    Super Contributor
    Join Date
    Nov 2004
    Location
    Wiltshire, UK
    Posts
    3,644

    Re: Nokia N97 SDK - beta - released . Feedback welcomed.

    New home screen widget API does not look like Symbian C++, why can't we have a c++ layer on top of the Symbian API like QT is doing, at least that way there is a slightly better chance of codescanner identifying memory leak issues.

    I also home the example is going to be cleaned up to a suitable standard as well
    Download Symbian OS now! [url]http://developer.symbian.org[/url]

  6. #6
    Nokia Developer Champion
    Join Date
    Nov 2004
    Posts
    14

    Exclamation Re: Nokia N97 SDK - beta - released

    There seems to be a bug in the Homescreen Widget Example in HsWidgetExample.cpp:

    The function ToString()

    HBufC8 *text = HBufC8::NewL( aText.Length() + 4 /*for ending zero*/ );
    [...]
    CnvUtfConverter::ConvertFromUnicodeToUtf8( dest, aText );

    will fail when there are unicode characters in the string to be converted.

    The memory allocated for the UTF8 string should bet at least text.length*4 + 1 long:

    HBufC8 *text = HBufC8::NewL( (aText.Length() * 4) + 1 /*for ending zero*/ )

    as a unicode character can be up to 4 bytes long when it's encoded in UTF8, afaik.

    Cheers
    ole @ mobileways.de

  7. #7
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,568

    Re: Nokia N97 SDK - beta - released

    The proper way would be
    Code:
    HBufC8 *text=CnvUtfConverter::ConvertFromUnicodeToUtf8L(aText);;
    CleanupStack::PushL(text);
    text=text->ReAllocL(text->Length()+1);
    CleanupStack::Pop();

  8. #8
    Nokia Developer Champion
    Join Date
    Nov 2004
    Posts
    14

    Wink Re: Nokia N97 SDK - beta - released

    Quote Originally Posted by wizard_hu_ View Post
    The proper way would be
    Code:
    HBufC8 *text=CnvUtfConverter::ConvertFromUnicodeToUtf8L(aText);;
    CleanupStack::PushL(text);
    text=text->ReAllocL(text->Length()+1);
    CleanupStack::Pop();
    Hi Wizard_hu,

    although that code might look nice, I wouldn't implement it that way.

    Why wasting resources on using the cleanup stack and more importantly on a realloc(!) when you can easily get around it?

    Would be nice if the examples demonstrated how to use as little as possible resources ;-)

    Just my 2 cents
    ole @ mobileways.de

  9. #9
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,568

    Re: Nokia N97 SDK - beta - released

    Feel free to try understanding how my code works.
    Would be nice if the examples demonstrated how to use as little as possible resources ;-)
    Do not worry, it does.

  10. #10
    Nokia Developer Moderator
    Join Date
    Jun 2007
    Location
    Moscow, Russia
    Posts
    1,355

    N97 emulator theme

    Hi,

    Default theme in N97 SDK emulator have a problem. I cant see any labels in Stylus Popup menu, becouse text color and menu background is white. That can be solved by changing current device general theme in emulated device (to Haze for example). You can find images here.

    Tested on N97 SDK v0.5 under WinXP SP2 Rus

    UPD: I compalin on HSP API too. ;) Its very wierd and even in SDK sample they broke naming convention in some metods which use it.
    Last edited by truf; 2009-06-02 at 11:40.

  11. #11
    Nokia Developer Champion
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: Nokia N97 SDK - beta - released . Feedback welcomed.

    As a developer, i can not expect separate SDK for each device. S60 5th Edition SDK was released in october 2008. Now with in year Nokia N97 SDK - beta was released.

  12. #12
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: Nokia N97 SDK - beta - released . Feedback welcomed.

    @savaj

    Nokia N97 is an S60 5th Edition SDK and fully compatible with the platform. You can of course use the S60 SDK to develop applications for N97.

    There are however several new features which you may want to use and for accessing them you will have to use the new SDK.

    @truf

    A new theme will be probably used as emulator's default theme in the final version of the SDK.

    The SDK example has been reviewed and updated.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  13. #13
    Registered User
    Join Date
    Apr 2008
    Posts
    7

    Re: Nokia N97 SDK - beta - released . Feedback welcomed.

    New N97 Home screen has a different layout compared to 5800 and 5530. I suppose that N97 will not be unique and there will be other devices with widget Home screen in future. Is there a way (e.g. central repository or publish and subscribe APIs) to get stand-by screen type (new Home screen vs. normal standby screen)?

  14. #14
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: Nokia N97 SDK - beta - released . Feedback welcomed.

    To date N97 is the only device that has WRT widget home screen support and a public native API for home screen.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  15. #15
    Registered User
    Join Date
    Nov 2008
    Location
    Bangalore
    Posts
    12

    Unhappy N97 Emulator in SDK issue

    Hi All,

    Has anybody noticed that the N97 emulator window in portrait is too big for common laptop resolutions (1280x800). On my laptop only 3/4 of the phone is visible and the rest is off-screen (the window does not provide scroll bars).

    Anyhow, I thought I would mitigate this by creating a new skin that just displays the main phone display and the three buttons with the rest of the default skin removed. It works, but I have run into an issue where if I configure the epoc.ini with my skin config, the configuration switcher stops working in the emulator.

    What I can't figure out is that in default installation there are four skins configured but only two of those are visible in preferences and only two are "switchable"

    Original config:
    Code:
    MegabytesOfFreeMemory 58
    configuration epoc_640x360_touch_qwerty.ini
    configuration epoc_360x640_touch_keypadoff.ini
    configuration epoc_360x640_touch_keypadoff_f.ini
    configuration epoc_640x360_touch_qwerty_f.ini
    LogToDebugger 1
    PlatSecDiagnostics ON
    PlatSecEnforceSysBin ON
    PlatSecProcessIsolation ON
    PlatSecEnforcement OFF
    PlatSecDisabledCaps NONE
    LogToFile 1
    JustInTime none
    _EPOC_DRIVE_D \epoc32\winscw\d
    _EPOC_DRIVE_E
    _EPOC_LocDrv_1
    MultiMediaCardSize=16000
    patchdata_apserv_dll_KApaLoadDataRecognizersOnDemand 1
    etel_KPriorityClientSid 0x100058B3
    SYMBIAN_GRAPHICS_USE_WSERV2 ON
    WindowTitle Nokia N97 SDK v0.5
    after I modified the epoc.ini with config to my skin it looks like this:

    Code:
    MegabytesOfFreeMemory 68
    configuration epoc_small_portrait.ini
    configuration epoc_640x360_touch_qwerty.ini
    LogToDebugger 1
    PlatSecDiagnostics ON
    PlatSecEnforceSysBin ON
    PlatSecProcessIsolation ON
    PlatSecEnforcement OFF
    PlatSecDisabledCaps NONE
    LogToFile 1
    JustInTime none
    _EPOC_DRIVE_D \epoc32\winscw\d
    _EPOC_DRIVE_E
    _EPOC_LocDrv_1
    MultiMediaCardSize=16000
    patchdata_apserv_dll_KApaLoadDataRecognizersOnDemand 1
    etel_KPriorityClientSid 0x100058B3
    SYMBIAN_GRAPHICS_USE_WSERV2 ON
    WindowTitle Nokia N97 SDK v0.5
    My skin is working and both skins are visible in preferences BUT the switcher is not working.

    So the questions are as follows:
    1. Why are only two skins visible even though four are configured in original config?
    2. Why does the switcher stop working when specifying custom config?

    Hope somebody can shed some light on this issue as the alternative is to change the default skin and restart the emulator whenever the need arises to switch from portrait to landscape.

    Thanks
    Bakki & Raf
    Regards,
    Bakkiaraj
    Nokia India

Similar Threads

  1. Series 40 Nokia 6212 NFC SDK has been released!
    By arip. in forum Near Field Communication
    Replies: 0
    Last Post: 2008-08-18, 11:23
  2. Nokia 6131 NFC SDK v. 1.1 has been released!
    By Raluca_ in forum Near Field Communication
    Replies: 8
    Last Post: 2008-05-29, 13:54
  3. Nokia 6131 NFC SDK 1.0 has been released
    By Nokia Ron in forum Near Field Communication
    Replies: 0
    Last Post: 2007-03-26, 22:28
  4. Infra-red capability
    By Symbian_Challenge_0412 in forum General Development Questions
    Replies: 1
    Last Post: 2005-08-16, 18:24

Posting Permissions

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