Discussion Board

Results 1 to 14 of 14
  1. #1
    Registered User ryan_at_frog's Avatar
    Join Date
    Feb 2008
    Posts
    2
    The native Flash Lite 3.0 player included with the newest firmware for the N95 8GB (Firmware v15.0.015) appears to have a severe XMLSocket bug. When calling the XMLSocket.send() method, the device will hang for an inordinate amount of time after the call. All redrawing of the UI, processing in actionscript and MovieClip animations of any kind remain on hold for up to a second or two, and will then recommence.

    This poses a major problem in the development of our SWF, as we commonly make XMLSocket calls all the while the UI is supposed to remain interactive.

    It's important to note that the problem is NOT present on an N95 running the exact same SWF in the flash lite 3.0 developer edition player. we are running the same code side by side on each of the phones, hitting the same xml socket server. the crossdomain.xml file located in the apache server on the computer running the socket server is configured to allow connections from all domains.

    To demonstrate the issue, we created a little test swf that includes a movieclip of a little rotating rectangle on an infinite loop, to show the status of the UI in terms of redrawing. then, some actionscript in the first frame of the root clip establishes a connection to the socket server, and calls the send() method of the XMLSocket connection, 3 times (3 times rather than once, just to embellish the effect of the lag/redraw issue). On the N95 (FL3.0 developer edition) the animation continues to spin without interruption throughout the 3 send() calls to the socket server. On the N95 8GB (native flashlite 3.0 player), the animation freezes for a couple of seconds before resuming.

    any one have any thoughts or experience with this particular bug?

    All we can determine is that it's definitely associated with (and only with) the XML socket send() method. Whether or not there is an "onData" handler present has no effect (negative or positive). It is interesting to note that if you do introduce an onData handler, the animation resumes at the same time the onData handler is called -- meaning it's actually taking the N95 8GB device longer to "send" data to the xml server, in addition to it causing the UI to freeze.

    To duplicate this experiment yourself, this is the actionscript we placed on the first frame:

    Code:
    var sock:XMLSocket = new XMLSocket();
    sock.connect("127.0.0.1", 3000);
    sock.onConnect = function() {
    	sock.send("test1");
    	sock.send("test2");
    	sock.send("test3");
    }
    Change the IP Address to that of your own xml socket server, then just place (also in the first frame) a little animation on an infinite loop. send the SWF to the phone and play it. once the phone has asked for a valid WiFi access point, and established a connection to it, the animation should freeze for a few seconds on an N95 8GB running the native flash lite 3.0 player, but not on the N95 running the flash lite 3.0 dev. edition.

    Thanks,
    Ryan Rowe
    Frog Design

  2. #2
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    I'll ask this from the dev team.

    Hartti

  3. #3
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    The dev team was not able to reporoduce the bug. Would it be possible to see the source of your app?
    You can contact me through my screen name

    Hartti

  4. #4
    Registered User mikih's Avatar
    Join Date
    Jan 2008
    Posts
    4
    Hey guys,

    I have exactly the same issues with the new device. The new memory size is awesome. But that breaks it all...

    Any new experience to handle that? Or any feedback from the dev team?

    Cheers,
    Florian

  5. #5
    Regular Contributor Jii5Hoo's Avatar
    Join Date
    Jan 2008
    Posts
    56
    Hi!
    We faced this problem too (we use local socket communication)

    http://forum.kuneri.net/index.php/to...98.html#msg498

    BR,
    Jukka

  6. #6
    Registered User ryan_at_frog's Avatar
    Join Date
    Feb 2008
    Posts
    2
    I've passed along my test code to the nokia/adobe dev team. they are working through reproducing the issue, understanding it and hopefully resolving it. I or someone from their team will post a response once there are any improvements.
    thanks

  7. #7
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    I have not heard back about any resolution for this. I'll check back after Easter.

    Hartti

  8. #8
    Nokia Developer Expert sellis's Avatar
    Join Date
    Oct 2006
    Location
    Tampere
    Posts
    62
    Looks like this may be related to the implementation of the new security sandbox model. Info will be coming soon on what action is being taken.

  9. #9
    Any news regarding that issue?
    Follow me on Twitter [url]www.twitter.com/ugurkaner[/url]

    Create sexiest Symbian apps faster & easier [url]www.kunerilite.net[/url]
    Turn your Joomla! website into a mobile site instantly [url]www.mobilejoomla.com[/url]

  10. #10
    Product Specialist markadoherty's Avatar
    Join Date
    Jun 2003
    Location
    UK
    Posts
    191
    Hi all,

    I've spoken to the team on this issue. Ryan, Pasi, Ugur/Yukka a fix did go into a player so it may well be in the latest firmware. Please confirm.

    Ugur/Yukka this may not apply to you for the sandbox reason.

    Thanks,

    Mark
    Developer Evangelist
    Adobe Mobile and Devices
    Mark Doherty
    Developer Evangelist
    Adobe Systems, Mobile and Devices EMEA

  11. #11
    Hi Mark,

    Our N95 8GB has the latest firmware: V 15.0.015

    Pasi also had the latest as far as I remember (N95): v 21.0.016

    Problem still persists on those devices;

    http://ptm.fi/?p=35

    Either bug still exists, or fix is coming with next update.

    Thanks,

    Ugur.-
    Follow me on Twitter [url]www.twitter.com/ugurkaner[/url]

    Create sexiest Symbian apps faster & easier [url]www.kunerilite.net[/url]
    Turn your Joomla! website into a mobile site instantly [url]www.mobilejoomla.com[/url]

  12. #12
    Registered User DoomsDay's Avatar
    Join Date
    May 2008
    Posts
    3
    So whats the word on this one. If my own findings are correct there is a significant amount of "lag" when loading xml data (approx 1000ms) Are there any workaround?

  13. #13
    Product Specialist markadoherty's Avatar
    Join Date
    Jun 2003
    Location
    UK
    Posts
    191
    There is no update at this time, it is a known bug.
    Mark Doherty
    Developer Evangelist
    Adobe Systems, Mobile and Devices EMEA

  14. #14
    Nokia Developer Champion sajisoft's Avatar
    Join Date
    Jul 2008
    Location
    Pakistan
    Posts
    1,062
    Is this issue is solved in Flash Lite 3.1 ?? Because i still get hangs on continuous call to local http server. i just extended SWFxME with accelerometer support . Every thing works fine but when FL 3.1 send request to server, UI drawing of flash lite also hangs for a second. It makes the content unplayable. Exactly, the same is the issue discussed here (almost one year before): http://ptm.fi/?p=35

    Btw, i m using Nokia 5800 , FW 20.0.012 .

    Best Regards,
    SajiSoft

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved