Archive for the ‘article’

Upload your pictures to Flickr with geotagging using Flash Lite06.27.08

Alessandro did it again and created a great article together with sample code and application FliKun. With FliKun, you can upload any picture from your Nokia S60 phone to Flickr with GeoTagging, with Flash Lite and KuneriLite!

Today, we’ll see how it’s possible to build a Flickr uploader in FlashLite using KuneriLite, geotagging them with the current GPS location.

FliKun

Posted in Development, Flash Lite, KuneriLite, Mobile, S60, Tutorials, application, articlewith No Comments →

Displaying GPS position in FlashLite using Google Static Maps and KuneriLite06.12.08

Alessandro has a great step-by-step tutorial about creating an application displaying current GPS position with Flash Lite and KuneriLite.

Today’s tutorial is about using Google Maps static images, and GPS data, to display maps in a FlashLite application using KuneriLite.

There are also source codes and installation package available. Check it out!

All thanks go to Alessandro!

UPDATE: Article is available at Forum Nokia Wiki as well.

Posted in Development, Flash Lite, KuneriLite, Tutorials, articlewith 2 Comments →

The pain of Flash Lite 3.005.13.08

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.-

Posted in 3rd edition, Adobe, Development, Flash Lite, Forum Nokia, KuneriLite, Mobile, Nokia, S60, Symbian Signed, article, ideas, technologywith 42 Comments →

Using Camera and Uploading files with Flash Lite05.09.08

Camera and upload Flash LitePasi created this wonderful article, showing how to use device camera to take pictures, resize them and upload to a remote web server with Flash Lite using KuneriLite.

You can download and use the application on your Flash Lite 2.x or Flash Lite 3.0 enabled device. Pasi also published source codes, which can provide a great resource for all.

“My first test is to do Flash Lite application which takes pictures and sends those to server side. This testing application sends pictures to my server http://ptm.fi/temp folder, so check you uploaded photos from there.”

Posted in Design, Development, Flash Lite, KuneriLite, Tutorials, articlewith No Comments →

Build reusable Flash Lite 1.1 component04.07.08

Here is a great article from Hayden on Forum Nokia Wiki; Build reusable Flash Lite 1.1 component. Flash Lite 1.1 is still my favorite version, and I really like to see such solutions.

Posted in Flash Lite, Tutorials, article, resourcewith No Comments →

Play FLV video with Flash Lite 3 & Flash Media Server 303.28.08

Just saw that Pasi has a nice article telling step by step how to setup a system to play FLV and live video with Flash Lite 3.0 and Flash Media Server 3.

  • Install Flash Media Server 3 (download developer version)
  • There are a few sample FLV files in applications/vod/media folder, so you can use one of them for testing
  • Create a new Flash Lite 3.0 file in Flash
  • Add a new Video symbol to library
  • Drag this Video symbol to Stage and give instance name to it: video
  • Type following programming to timeline

See here for details.

Posted in Flash Lite, Tutorials, article, videowith No Comments →

Kuneri is featured developer on Forum Nokia!03.27.08

It’s a proud moment for us to be on Forum Nokia as a featured developer with our product KuneriLite. Check it out to get to know us and our vision better.

In this interview we speak with Ugur Kaner, CEO of Kuneri about the company, the products and what he sees on the horizon for mobile development.

kuneri.jpg

Posted in Flash Lite, Forum Nokia, Kuneri, KuneriLite, Mobile, News, Nokia, S60, articlewith 10 Comments →

Designing for the Mobile Web03.22.08

mobile-web.jpgEventhough we love Flash Lite, mobile web is still the only solution to reach most people out there. Whatever application or service you create, there has to be a ‘Web side’ to make it a complete service. I just spotted a nice article on SitePoint giving cool tips on how to create mobile web sites. Check it out, you will need it some day.

BTW, stay tuned, Kuneri is coming with a cool solution for anyone to create mobile web sites the easiest way (as usual in Kuneri style ;) ).

Posted in Mobile, Tutorials, article, webwith 5 Comments →

The future of mobile development02.26.08

There are some great posts, which are quite good survey to the current problems in mobile development (platform fragmentation, feature access, distribution and marketing options).

Rafe Blandford post is one good, insprired by number of other well known, like Michael Mace’s post(Mobile Opportunity: Mobile applications, RIP). It is about Web as platform and question could it solve distribution and fragmentation problems and what problems web will bring as well.

Rafe lists common platforms and their problems there ( Symbian C++, Open-C, Python, Java ME, Flash Lite, WRT and Web).

About S60 he pointed this out, which I like to share here:

S60 is also moving towards a transparent consumer model - the idea that all applications are accessed and behave in a similar way. The idea is that the technology an application uses (be it native C++, WRT or Flash Lite) is invisible to the user. All applications have an icon in the application launcher, all can be multi-tasked, all have a similar look and feel (or the potential too).

Check those out (if you haven’t already), nice reading indeed.

Posted in Development, Discussions, Marketing, Mobile, articlewith 1 Comment →

Forecasted Installed Base of Flash Lite Devices by Region, Country and Version01.12.08

Adobe had published a complete breakdown of the forecasted installed base of Flash Lite devices by region, country and version.

The information in the PDF is extracted from the Strategy Analytics Flash-Enabled Handset Forecast from January 4, 2008 and provides metrics for the forecasted installed base of Flash Lite devices for the years 2007 and for 2008.

Thanks for the Bill Perry for very good info!

Posted in Adobe, Flash Lite, article, statisticswith No Comments →