×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    Sep 2009
    Posts
    10

    eSWT future plans and bugs

    Hi
    i'm developing an application using eSWT and testing with both S60 5th edition Emulators (SDK 1.0 and N97 1.0) and device (Nokia 5800 with latest firmware installed 40.0.005).

    I really think eSWT is a good platform to developing mobile apps. Anyway there are some things I still can't address and that i need for in order to make my application reaching a production stage.

    - I would like to personlize my application using custom colors: while I'm able to set single widgets and components colors I'm still not able to personalize colors of shell header and shell commands. Is that possible?

    - I really need a Scrollable Composite for my application: I read the other discussion about this feature (http://discussion.forum.nokia.com/fo...d.php?t=165964). From Eclipse bug report page (https://bugs.eclipse.org/bugs/show_bug.cgi?id=224075) it looks to be fixed: is anyone know when this feature will be released in Nokia S60 eSWT distributions?

    - I installed and tested the new JRT 2.0 with my application. All is working good (great improvements in the installation process and in security related messages management) even if something goes wrong (see http://betalabs.nokia.com/apps/nokia...feedback-crash). I read that JRT 2.0 is including updates to eSWT widgets: is anyone know or can link me a resource where to find which updates are applied?

    - My application make use of ListBox and ListBoxItems: improvements in Nokia 5800 firmware (40.0.005) are applied to this widget (i.e. Kinetic Scrolling) even if i still experimenting some bugs in visualization: vertical scrollbar is not refreshing good after a scroll, and focusing the first or the last ListBox items produce all the widget background be highlighted. Also with JRT 2.0 the problem persist.

    - Plans about new Nokia S60 eSWT distribution releases: is there any resource in the web when i can read about this? Will the updates be available within new device firmware or emulators revisions?

    Sorry for the large message, hope someone can help.
    Best Regards

  2. #2
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: eSWT future plans and bugs

    Hello bertella,

    regarding Nokia resources on eSWT, here are some links from Forum Nokia Java Developer's Library:

    -Developer's Guides: http://library.forum.nokia.com/index...0AA16E882.html

    -Implementation Notes: http://library.forum.nokia.com/index...-d0e98697.html

    -Examples:

    --eSWT Moviebooking: http://library.forum.nokia.com/index...EF40CCC92.html

    --eSWT Showcase: http://library.forum.nokia.com/index...630E65CFF.html


    In addition, Forum Nokia Knowledge Base includes Known Issues related to eSWT: http://wiki.forum.nokia.com/index.php/Portal:KB_Java

    Regarding your feedback, I'll forward it and see if I can receive some responses.
    UPDATE: regarding responses, please see gorkem.ercan's comments (post #4).

    Regards,
    r2j7
    Last edited by r2j7; 2010-02-02 at 15:49.
    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

  3. #3
    Registered User
    Join Date
    Sep 2009
    Posts
    10

    Re: eSWT future plans and bugs

    Ty for your answer r2j7.

    Just adding that ListBox and ListBoxItems reported issues are only visible when changing background color to the listbox object using setBackgroundColor. With standards widget background color all is work in a good way.

    Regards.
    Last edited by bertella; 2010-02-02 at 13:55.

  4. #4
    Nokia Developer Expert
    Join Date
    Nov 2008
    Posts
    72

    Re: eSWT future plans and bugs

    Hi Bertella,

    I am glad you are enjoying eSWT.

    Unfortunately because eSWT does not have a corresponding widget for the status and command areas, it does not allow customization of those areas at this time. We have take note of this problem and hoping to come with a solution for it in the future.

    We will include the ScrolledComposite on devices that have the JRT 2.x built in, moreover we are enabling the kinetic scrolling for the ScrolledComposite as well. In the meantime you can use the ScrolledComposite as described on the thread that you have pointed.

    As for the ListBox issue I am guessing that you are setting the colors for the ListBox. It is hard to tell if they are exactly the same problems but I checked from my team mate who has been doing the kinetic scrolling for all our Scrollables that there was an issue with scrollbars when the custom colors were set and that is fixed.

    As for updates to eSWT our plan is to support the eSWT 1.0.3 specification until JRT 3.x release. So all JRT 2.x releases will carry the same eSWT API level as the existing 3.2 and 5.0 devices. However due to extended amount of requests, we are making an exception and shipping ScrolledComposite on JRT 2.x although it is part of eSWT 1.3 API. Of course, eSWT development is on going, although we are not implementing new APIs, we are improving the implementation via bug fixes, improvements and implementing the new platform features such as kinetic scrolling, those features and fixed are released on the new emulators and firmware updates constantly.

    In the future, JRT 3.x will include an eSWT implementation that uses Qt underneath and will implement the eSWT 1.4 level APIs.

    I hope this answers most of your questions. If it happens that you have further questions feel free to ask them.
    --
    Gorkem

  5. #5
    Registered User
    Join Date
    Sep 2009
    Posts
    10

    Re: eSWT future plans and bugs

    Really thanks for your answer Gorkem.

    Yes I really enjoying programming eSWT and I think your are all doing a great job!

    About ListBox you are right, I'm setting the background color to my ListBox: when will those fixes be released?
    Ok about Scrolled Composite. I will use the solution you posted in the past discussion while i wait for the final solution to be available in JRT 2.x next releases.

    About JRT 3.x and eSWT 1.4 QT implementation: sound very very good. Any planned date for the first release?

    Best Regards

  6. #6
    Nokia Developer Expert
    Join Date
    Nov 2008
    Posts
    72

    Re: eSWT future plans and bugs

    I honestly do not know when you will start receiving those fixes, but they will come as part of firmware updates, new products and such..

    The ScrolledComposite we will be providing is almost the same code that I have referred to. The built-in one has a single additional line that tells the Symbian to enable kinetic scrolling. You probably do not need to do anything to use the built-in one since it will have precedence on JVM your application will just start using the built-in version.


    JRT 3.x is planned to be the Java for the Symbian^4 based devices so that is the best date I can tell. But eSWT implementation on Qt is already available from Eclipse web site for Linux (other platforms (Symbian, Maemo) are in future plans).

    --
    Gorkem

  7. #7
    Registered User
    Join Date
    Sep 2009
    Posts
    10

    Re: eSWT future plans and bugs

    I already integrated the actual SWT ScrolledComposite: it works good for my purpose at now.
    Nice to hear what you say about eSWT ScrolledComposite future implementation: it will save lot of adaptation work.

    Ty Gorkem.



    Quote Originally Posted by gorkem.ercan View Post
    I honestly do not know when you will start receiving those fixes, but they will come as part of firmware updates, new products and such..

    The ScrolledComposite we will be providing is almost the same code that I have referred to. The built-in one has a single additional line that tells the Symbian to enable kinetic scrolling. You probably do not need to do anything to use the built-in one since it will have precedence on JVM your application will just start using the built-in version.


    JRT 3.x is planned to be the Java for the Symbian^4 based devices so that is the best date I can tell. But eSWT implementation on Qt is already available from Eclipse web site for Linux (other platforms (Symbian, Maemo) are in future plans).

    --
    Gorkem

  8. #8
    Registered User
    Join Date
    Sep 2009
    Posts
    10

    Re: eSWT future plans and bugs

    Hi Gorkem

    I just updated my Nokia 5800 with the new firmware release (V 50.0.005) and JRT 2.1 Beta. I really enjoyed the new features and bugs solutions over eSWT and in general over all JRT: you really done a great work!

    I'm still trying to address some problems I encountered developing my application (don't know if bugs or just programming errors):
    - About ListBoxes: I tested that vertical scrollbar is now refreshing good after a scroll with JRT 2.1. About focusing the first or the last ListBoxItems and then dragging (with kinetic scroll) still produce all the widget background to be highlighted, when custom colors are used for Listboxes: the problem is also visible when having just one ListBoxItem in the Listbox: all the component background is getting the focus color instead of the color that was set.
    - With a MobileShell in full screen mode and landscape view, Combos items are not trimmered correctly (they are partially not visible, outside the display).
    - With JRT 2.1 I experienced a problem i wasn't having before with JRT 2.0 and that regards MMAPI: see http://betalabs.nokia.com/apps/java-...t-with-jrt-2-1

    Features:
    - I would like to force screen orientation just for some of the views and then be able to come back to the normal behaviour that allow normal switching in display orientation (example: during MMAPI snapshot capturing I would like to force the landscape view, and when back from that feature, to restore the normal behaviour in display orientation switching). I read your post (http://www.gorkem-ercan.com/2009/11/...friends.html): while I'm able to force the orientation following your example code, I don't know how to restore the normal behaviour.
    - Is that possible to set components (like ListBoxItems or CaptionedControl) focus colors?

    Best Regards.

  9. #9
    Nokia Developer Expert
    Join Date
    Nov 2008
    Posts
    72

    Re: eSWT future plans and bugs

    I am sorry, could not respond earlier but had a quite busy week.

    The MMAPI problem was common to both LCDUI and eSWT and is now addressed and will be included on the final release. Thanks for reporting that.

    We could not reproduce the ListBox & MobileShell problems quickly on Symbian^3 where most of the team is concentrated on, needs further investigation. I will keep you posted if anything comes.

    The screen orientation restore is a missing API on eSWT. The current APIs are designed to be one shot (similiar to JAD attributes on LCDUI). I have opened an enhancement request to improve the API to allow restoration. You can follow the report https://bugs.eclipse.org/bugs/show_bug.cgi?id=311274

    Unfortunately, there is no eSWT/SWT API for setting the focus color for components, at this time.

    --
    Gorkem

  10. #10
    Registered User
    Join Date
    Sep 2009
    Posts
    10

    Re: eSWT future plans and bugs

    Gorkem, ty for finding time to respond my message: i guess it's really hard time for your team with all these incoming platform realeases.

    About ListBox and MobileShell/Combo items trimming: i tried this with the new Symbian^3 SDK v0.8 Emulator and I can confirm the problem is not present: it seems the behaviour is visibile only with previous platform versions (5th edition with JRT 2.0 or JRT 2.1).
    Also: i'm now able to use the native ScrolledComposite included in JRT 2.1 on my device. Great!

    I really like the UI improvements in Symbian^3 platform. I spent some time to check my application on this newer platform (using the Symbian^3 SDK v0.8) and i can give you some first results:

    - About Listbox: I experienced that listboxitems icons are not resized good when in landscape orientation, as they could be accordingly to the different heigth item dimension. No problems found in portrait orientation.

    - FileConnectionAPI: i cannot access to the file system (see http://betalabs.nokia.com/apps/java-...on-api-problem)

    - Every run (start Midlet from Eclips environment) cause the application to be reinstalled from zero (that cause re-initialization of RMS database). Or better: closing the SDK Progress window cause the midlet uninstall.

    - Emulated Location API seems not working
    activating the LocationListener result in an exception (from vmconsole.txt):
    JVMJNCK028E JNI error in CallVoidMethod/CallVoidMethodV: This function cannot be called when an exception is pending
    JVMJNCK080E Error detected in the outermost frame of an attached thread)

    calling getLocation result in timeout exception:
    javax.microedition.location.LocationException: Location request timed out
    at com.nokia.mj.impl.location.LocationProviderImpl.getLocationInternal(LocationProviderImpl.java:273)
    at com.nokia.mj.impl.location.LocationProviderImpl.getLocation(LocationProviderImpl.java:225)
    at com.project.ui.MainMenuScreen$GPSLocationRetriever.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    - New Single-Click UI: single-touch previous behavior was used in my application to focus (select) a single component that will be the object of an action, while double-touch was automatically assigned to a default action: how I can this work with the new Single-Click UI behavior? (in the emulator i can move the focus with keyboard up-down arrow: is it possible to do that with touches, eventually disabling the new tapping strategy?)


    Regards
    Last edited by bertella; 2010-05-01 at 22:16.

  11. #11
    Registered User
    Join Date
    Sep 2009
    Posts
    10

    Re: eSWT future plans and bugs

    Update:

    The native ScrolledComposite included in JRT 2.1 works really good (kinetic scrolling included) but I'm experiencing a problem that I haven't before.
    I use to change ScrolledComposite child components background and foreground colors when some events occurs (ie. mouseUp/mouseDown events are fired). While before i was able to see child components color changes now it seems that the native ScrolledComposite didn't 'refresh' the view accordingly to the new settings.

Posting Permissions

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