Join Now

Flash Lite 3.0 security fix on the way

ukaner | 20 May, 2008 13:29

Great to be in a community where discussions (another one here) turn into actions. Bill and Mark from Adobe gave the good news that Flash Lite 3.0 security issue will be solved soon on S60 devices, in cooperation with (Forum) Nokia.

Thanks!

The Pain of Flash Lite 3.0

ukaner | 13 May, 2008 17:22

We couldn't enjoy Flash Lite 3.0 as many others. See 'Why?' below, or read it from my blog post.

Usually, when new version of a software is released, we cheer, considering things will get better and easier. As we were expecting things would be easier for developers, we cheered up for Flash Lite 3.0’s features, however that couldn’t be more than wrong and it turned out to be a big pain for us. Moreover, there doesn’t seem to be any short term solution, and no one guarantees there will be one in mid or long term. I would like to write my reasons why I think so, and warn Adobe, Nokia and developers for a potential threat, which will not be long to come.

Security Sandbox Pain (or Security Painbox)

Flash Lite 3.0 came with Flash 8 engine, and together with Security Sandbox ‘feature’. This might make sense for browser plugin, but doesn’t make any sense for standalone player. Nick has a really nice post about this issue, which is almost 1 year old, can give an idea about the past and future of the problem.

Ok, what’s wrong with ‘Security Sandbox’? Isn’t security something good? Well, security is good when it’s used in convenience. If you use security for a case where doesn’t make any sense or bring an added value, you end up making life difficult for developers and users. Problem about this new Security Sandbox is; you either can have a local connection (i.e loading local files), or can a network connection (i.e connect to internet). This ‘feature’ not only brought an unnecessary pain to us (developers), but also broke backwards compatibility. How? Simple: If you have a Flash Lite 1.x or 2.x movie using local and network connections at the same time, it simply won’t work on Flash Lite 3.0 (which means new phones like N95). Wasn’t the biggest problem on mobile world fragmentation?

Problems not only end with those on ‘Security Sandbox’ feature. It’s not possible to do localhost calls, which disables any connection from Flash Lite to outer world. Why is this something bad? Well, there are many 3rd party projects extending Flash Lite via localhost (the only way left to us, because 3rd party application launch is limited by Nokia), such as KuneriLite, Flyer and Janus. These projects help Flash Lite to expand beyond its capabilities and enable people to create richer applications, which can compete with native S60 applications in look and performance.

Luckily, there is a ‘best of worst’ trick that solves those problems. There is a magic folder in ‘C:\data\others\trusted’ (that’s another pain, I will come to that shortly), which disables ‘Security Sandbox’ and enables applications to communicate both with local and network, as well as localhost. Why is this a ‘best of worst’? Simply because whatever you put into this directory is visible under ‘Gallery’ which brings a very bad user experience and many security concenrs within.

This issue will be even more cronic, if Adobe or Nokia doesn’t make any move; because ‘trusted’ folder will not be available anymore for S60 3.2 devices. Which will kill all developer efforts and backwards compatibility forever. We are not sure if Adobe or Nokia will solve this problem, but crossing our fingers hoping someone sees our S.O.S fire.

Trusted Folder Pain

I mentioned Security Sandbox problem and a ‘best of worst’ solution to that above. Now see another pain closely related to this subject.

S60 devices have ‘Phone Memory’ (PM) and ‘Memory Card’ (MC). Users are given the option to install their applications to PM or MC. As you know, to solve Securiy Sandbox problem, we need to install Flash Lite applications to those ‘Trusted’ folders that exist both on PM and MC. So what is the problem? With a clever(!) move, ‘Trusted’ folder is located at different paths on PM and MC. It’s at C:\Data\Others\Trusted\ on PM and E:\Others\Trusted\ on MC. Yeah, but what is the problem? Well simply, it’s not possible to install applications (SIS packages) to different folders on PM and MC, and this breaks Symbian Signed criterias. So, Flash Lite 3.0 applications either will work on PM, or MC. And in that way, you can not get your appliction Symbian Signed.

There is no solution we could find for that yet. If we can not; it will not be possible for anyone to Symbian Sign their Flash Lite applications on Flash Lite 3.0 phones (from my current understanding).

XML Socket Pain

Well, Security Sandbox is not the only problem. There is a serious bug on Flash Lite 3.0 with XML sockets. Simply put, it’s not possible to receive data via XML socket shorter than 1+ seconds, which kills if you need to stream data.

Most clear example for that is using KuneriLite Accelerometer plugin with Flash Lite. Naturally, to use axis values, you need to get those values at least 4-5 times per second; so that you can reflect it to your application. But because of this bug, you can get data only 1 time or less per second, which makes it impossible to use.

See the this Forum Nokia thread for more information on that subject. And as far as we see, there is no solution offered yet.

Conclusion

I tried to state my reasons, why Flash Lite 3.0 is a potential show-stopper for developers, users, enablers and many more on S60 devices. Nokia keeps on spreading this problem via Firmware updates and pushing Flash Lite 3.0 player to earlier phones (i.e Nokia N95 Classic), supporting and triggering fragmentation. With the introduction of S60 3rd edition Feature Pack 2 devices, these problems will be impossible to solve and Flash Lite player will get fragmented at least for couple of years, which will delay market entrance that is already delayed for long time and still immature. What I would like to see is some action from Adobe and Nokia, leaning on this subject and listening to us to avoid a big potential problem awaiting all Flash Lite users and developers in short term.

Please leave me your comments if you have any.

cheers,

Ugur.-

 

Flash Lite 3.1 feature snapshot

ukaner | 29 April, 2008 13:09

There has been a wave of news originating from Anand’s post lately about Flash Lite 3.1 made available for OEMs. *Personally* I don’t see this as a big news, due it’s for OEMs, and I don’t see any large scale OEM to go for that, due most of them already licensed Flash Lite from Adobe: No big impact for Flash Lite developers.

Today Mark Doherty (Manager of Developer Relations at Adobe Mobile and Devices - EMEA) provided official(?) details about upcoming Flash Lite 3.1 and its features. According to Mark; Flash Lite 3.1 does not offer big difference, but some improvements like;

  • Improved Web Browsing, 91% of top 500 internet sites.
  • Flash 9 (AS2 only) support
  • Local Connection / HTML Text / GetURL_target / CSS support / WMode
  • H.264 support / Improved video support (smoothing, seek)
  • Improved memory handling for images
  • MP3 Streaming support
  • Linux Reference port

Looking forward to see first S60 FP2 device shipped and test Flash Lite 3.1. And thanks to Mark for providing us details.

You can also see my post on Kuneri Bloggy

KuneriLite advert video with N95 8GB

ukaner | 07 April, 2008 11:26

I have a unique piece of art to show you. As you know, we have an innovative Rapid Application Development toolkit KuneriLite. It allows you to create great-looking S60 applications in no time and for almost no cost using Flash Lite. Some developers know that, but some still don't. To make our product more visible, we decided to come out with a simple advertising, and it turned out to be a unique piece.

If you like or appreciate it; we would love your suppot by blogging or digging it. Comments are always welcome :)

 


 

Hello world from Over The Air London

ukaner | 04 April, 2008 15:23

Hello World! Today I got the happy news that new Forum Nokia Champs can finally start blogging. So, decided to give the first shot from Over The Air event in London.

I am Ugur Kaner, CEO and Creative Director of Finnish mobile company Kuneri. If you are in Flash Lite world, I am sure you heard of me or at least KuneriLite, but if not don't worry, you most probably will hear from me a lot on this blog. I am also blogging on our corporate bloggy, and from now on, I will also be blogging from here; mostly my personal opinions and perspective to mobile trends and business.

It's a pretty and sunny day here in London, we are in Imperial Collage Kensington and here is full of mobile enthusiasts all around the world. Soon we will head to KuneriLite Masterclass together with Riku Salminen from Forum Nokia and inform people about Flash Lite and how to create great-looking S60 applications using Flash Lite and KuneriLite. If you happen to be around, please join us, we will be very happy to see you. 

 

 
 
Powered by LifeType
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZBlogContentQ
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX