You Are Here:

Community: Developer Discussion Boards

#1 Old Angry Nokia N958GB Flash Lite 3.0 XMLSocket Bug (Firmware v15.0.015) - 2008-02-13, 00:30

Join Date: Feb 2008
Posts: 2
ryan_at_frog
Offline
Registered User
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
Reply With Quote

#2 Old Re: Nokia N958GB Flash Lite 3.0 XMLSocket Bug (Firmware v15.0.015) - 2008-02-16, 00:13

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
I'll ask this from the dev team.

Hartti
Reply With Quote

#3 Old Re: Nokia N958GB Flash Lite 3.0 XMLSocket Bug (Firmware v15.0.015) - 2008-02-19, 01:36

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
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
Reply With Quote

#4 Old Re: Nokia N958GB Flash Lite 3.0 XMLSocket Bug (Firmware v15.0.015) - 2008-02-21, 12:08

Join Date: Jan 2008
Posts: 4
mikih
Offline
Registered User
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
Reply With Quote

#5 Old Re: Nokia N958GB Flash Lite 3.0 XMLSocket Bug (Firmware v15.0.015) - 2008-03-19, 16:27

Join Date: Jan 2008
Posts: 50
Location: Oulu / Finland
Send a message via Skype™ to Jii5Hoo
Jii5Hoo
Offline
Regular Contributor
Hi!
We faced this problem too (we use local socket communication)

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

BR,
Jukka


www.kuneri.net - Innovative Flash Lite and S60 mobile solutions
www.kunerilite.net - Faster, easier and cheaper way of developing great looking S60 applications
www.pikkoo.com - Mobile Screensavers and Wallpapers 2.0
Reply With Quote

#6 Old Re: Nokia N958GB Flash Lite 3.0 XMLSocket Bug (Firmware v15.0.015) - 2008-03-19, 18:31

Join Date: Feb 2008
Posts: 2
ryan_at_frog
Offline
Registered User
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
Reply With Quote

#7 Old Re: Nokia N958GB Flash Lite 3.0 XMLSocket Bug (Firmware v15.0.015) - 2008-03-21, 05:57

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
I have not heard back about any resolution for this. I'll check back after Easter.

Hartti
Reply With Quote

#8 Old Re: Nokia N958GB Flash Lite 3.0 XMLSocket Bug (Firmware v15.0.015) - 2008-03-26, 22:50

Join Date: Oct 2006
Posts: 23
Location: Tampere
sellis's Avatar
sellis
Offline
Forum Nokia Expert
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.
Reply With Quote

#9 Old Re: Nokia N958GB Flash Lite 3.0 XMLSocket Bug (Firmware v15.0.015) - 2008-03-31, 14:59

Join Date: Feb 2007
Posts: 88
ukaner's Avatar
ukaner
Offline
Forum Nokia Champion
Any news regarding that issue?


Follow me on Twitter www.twitter.com/ugurkaner

Create sexiest Symbian apps faster & easier www.kunerilite.net
Create, share & download Flash mobile screensavers & wallpapers www.pikkoo.com
SWF to SIS, NFL and CAB; online for free www.swfpack.com
Reply With Quote

#10 Old Re: Nokia N958GB Flash Lite 3.0 XMLSocket Bug (Firmware v15.0.015) - 2008-05-15, 00:23

Join Date: Jun 2003
Posts: 176
Location: London
markadoherty's Avatar
markadoherty
Offline
Product Specialist
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
Reply With Quote

#11 Old Re: Nokia N958GB Flash Lite 3.0 XMLSocket Bug (Firmware v15.0.015) - 2008-05-21, 09:42

Join Date: Feb 2007
Posts: 88
ukaner's Avatar
ukaner
Offline
Forum Nokia Champion
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 www.twitter.com/ugurkaner

Create sexiest Symbian apps faster & easier www.kunerilite.net
Create, share & download Flash mobile screensavers & wallpapers www.pikkoo.com
SWF to SIS, NFL and CAB; online for free www.swfpack.com
Reply With Quote

#12 Old Question Re: Nokia N958GB Flash Lite 3.0 XMLSocket Bug (Firmware v15.0.015) - 2008-05-25, 01:17

Join Date: May 2008
Posts: 3
DoomsDay
Offline
Registered User
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?
Reply With Quote

#13 Old Re: Nokia N958GB Flash Lite 3.0 XMLSocket Bug (Firmware v15.0.015) - 2008-06-01, 11:41

Join Date: Jun 2003
Posts: 176
Location: London
markadoherty's Avatar
markadoherty
Offline
Product Specialist
There is no update at this time, it is a known bug.


Mark Doherty
Developer Evangelist
Adobe Systems, Mobile and Devices EMEA
Reply With Quote

#14 Old Smile Re: Nokia N958GB Flash Lite 3.0 XMLSocket Bug (Firmware v15.0.015) - 2009-10-26, 23:08

Join Date: Jul 2008
Posts: 471
Location: Pakistan
sajisoft's Avatar
sajisoft
Offline
Regular Contributor
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


"The purpose of software engineering is to control complexity, not to create it."

--§ajid Ali Anjum--
http://sajisoft.wordpress.com/
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d166138X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZflashQ qfnZtopicQUqfnTopicZflashE5fliteQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ