Friday, 4 November 2011

Benefits of a Custom UCI Launcher

In my previous post concerning the way UCIs are implemented in Cowon's mp4 players, I touched upon the potential of the UCI launcher movie (or rather, the shortcomings). I would like to discuss more about what the launcher does and would like to introduce to you what one could do to improve your Cowon experience.

The different default UCIs of the Cowon J3, served to you by the launcher (Image courtesy of Cowon)




As you probably are aware of by now, a launcher.swf file located in \\System\Flash UI\ allows you to load a custom launcher. The launcher loads your UCIs for you and also lets you change between UCIs.

An additional hidden feature is the changing of the wallpaper, which could be misunderstood as being done by the firmware.
The wallpaper choosing menu for the picture UI for the Cowon J3 is shown on the right, marked with a red box.



A few functions are shown as being available via Cowon's sample UCI sources. These functions deal with detecting key inputs (buttons on your player), scroll `TextField`s, set popup `MovieClip`s and all sorts of jazz.
There are however many many undocumented functions available via the launcher which one can only find out by decoding the default launcher.swf which requires quite a few steps.
By writing a custom launcher, the minimal benefit would be that these functionalities would be exposed for new UCIs to make use of. This would increase UCI development speed and allow for less coding and more design.

"Surely though", you're thinking, "those few things aren't worth a blog post?".

Well of course not.



Yes, to the left of this chunk of text, you are seeing the next generation of UCI switching. This demo flash movie is unfortunately not a reality yet and is simply a mockup. However, I hope that it shows you what could be done effectively.

There are a total of 7 transition effects on display of which about 2 are repeats. This is because the moving left/right up/down would depend on the 'level' of the UCI. (ie. mainmenu UCIs would be of a 'higher' level and would move left/up.)






Hopefully, this small clip has got you excited. "What else? Tell me more!" I hear you shout.

Apart from giving you a smoother experience between UCIs, a modified launcher can also provide some shared elements such as a shared header bar for the player status, a shared notification system, a shared settings interface and more.
You would also get a significant boost in UCI loading. This is because UCIs coded with the launcher's framework would be able to skip the time-consuming steps of checking states.

In the perspective of a developer, you would have a vast array of simple methods to use without worry of performance loss. You would also receive more tools as the launcher receives added features. Widget sets could be shared across different UCIs as well. Simply put, you can do anything more easily and quickly.
What does this mean for users? More UCIs, More Choice, a Better Experience.


Now... getting that launcher is something we'd want to get onto doing right?



If you wish to take a look at the source for the mockup movie, download it here.

5 comments:

Anonymous said...

Your post is gaining popularity at the 'COWON MINI PMP' Naver Cafe. I guess you already know about this. If it's possible, can you please translate your posts, related to COWON into Korean, as many of us cannot understand English??^^ I think your post is very informative and useful. We really appreciate your work. 한국어 할줄 아시겠죠? 아마?

Seon-Wook Park said...

글을 남겨 주셔서 감사합니다. 카페에 이 페이지들을 기재한 올로린과 저는 동일 인물입니다. 현재 번역 작업을 시작하였으나, 워낙에 양이 많아서 시간이 걸릴 것 같습니다.

maimai said...

The original theme appeared only horizontally will cover my problem! Too many music died.

Kris said...

I don't know anything about coding, but is this change you're advocating something that could be done by community programmers, or something that would require the direct involvement of Cowon?

Looks good and so glad to read blog posts from fellow Cowon enthusiasts!

Seon-Wook Park said...

Involvement from Cowon is not necessary though it would be very helpful. I doubt Cowon would be too interested though, since they have their own internal team of programmers as well as control over the FS commands.

Glad you stopped by, do subscribe for future updates!

Post a Comment