iAudiophile.net Forums
Go Back   iAudiophile.net Forums > Flash-Memory Players > Cowon J3 > J3 UCI Themes & Stuff

Post New Thread  Reply
 
Thread Tools Display Modes
Old 05-15-2012, 06:29   #16
Kizune
Feel free to call me 'Kizu' ;)
 
Kizune's Avatar
 
Join Date: Jan 2009
Location: Germany, Baden-Württemberg
Posts: 5,968
Send a message via ICQ to Kizune
Default

Here you are: http://download.cowon.com/data/C08/C...5_20110303.pdf

I had to use google.co.kr to find it.
__________________
me @ Google+ | Twitter | Flickr | deviantART

audio setup: Cowon J3 32gb | Cowon Z2 16gb | Audio Technica ATH-M50

other: Galaxy Nexus | Nexus 7
Kizune is offline View Kizune's Photo Album   Reply With Quote
Old 05-15-2012, 11:16   #17
jpgr
Member
 
Join Date: Oct 2011
Posts: 182
Default

the renamed mainmenu3 loads and plays ok when the j3 first starts up.
however, if you use the browser from it and select a track the firmware version of the music.swf loads and plays the song. pressing M in either case takes you back to the main menu selection screen.
jpgr is offline View jpgr's Photo Album   Reply With Quote
Old 05-23-2012, 09:17   #18
Kracko
Junior Member
 
Join Date: Feb 2012
Posts: 10
Default

Having a bit of trouble figuring out how UCIs handle keyed input. Originally I was just attaching a onKeyDown function to my MovieClip but I was never receiving any triggers. After digging around the 2 official Cowon examples and swf sniffing the decompiled J3 code I found the RegisterKeyListener function inside the launcher.swf along with the virtual key codes. However, I still am not receiving any events. When I go to my music UCI I am testing an hit any of the physical buttons I get no response. Is there anything wrong with the below code?

Code:
class Application extends MovieClip {
    public function onLoad() : Void {
        _global.RegisterKeyListener(Application.HandleKey);
    }
    // omitted for brevity...
    private function HandleKey(code : Number) : Void {
        switch (code) {
            case _global.KEY_PLUS_SHORT:
                ext_fscommand2("KeyComPlus");
            break;
        }
    }
}
Kracko is offline View Kracko's Photo Album   Reply With Quote
Old 05-23-2012, 09:35   #19
el maco
Senior Member
 
el maco's Avatar
 
Join Date: Oct 2007
Location: Finland
Posts: 454
Default

Quote:
Originally Posted by Kracko View Post
Having a bit of trouble figuring out how UCIs handle keyed input.
Mine looks like this:
Code:
function onLoad() {
    keyListener=new Object();
    keyListener.onKeyDown=onKeyDown;
    keyListener.onKeyUp=onKeyUp;
    Key.addListener(keyListener);
...
Code:
function onKeyDown() : Void {
    var code:Number=Key.getCode();
...
Dunno if this is considered good AS or not but at least it does the trick.
el maco is offline View el maco's Photo Album   Reply With Quote
Old 05-25-2012, 16:33   #20
Kracko
Junior Member
 
Join Date: Feb 2012
Posts: 10
Default

Thanks el maco, that worked perfectly.
Kracko is offline View Kracko's Photo Album   Reply With Quote
Old 06-01-2012, 07:00   #21
Kracko
Junior Member
 
Join Date: Feb 2012
Posts: 10
Default

Well, I'm very disappointed to say the least. I had the beginnings of a music uci with a small now playing queue function only to find out that when the screen goes off so does all functionality of the device. No way to wake the screen without user intervention, no firmware-to-flash hooks, nothing. Useless.

That's the only thing really keeping the J3 from being my favorite machine ever; an editable play queue which I miss so much from my now-dead Creative Zen.
Kracko is offline View Kracko's Photo Album   Reply With Quote
Old 06-01-2012, 07:07   #22
Kizune
Feel free to call me 'Kizu' ;)
 
Kizune's Avatar
 
Join Date: Jan 2009
Location: Germany, Baden-Württemberg
Posts: 5,968
Send a message via ICQ to Kizune
Default

Sorry, I have a semi-offtopic question: Do you (or are you going to) use classes in your UCIs? If so, I recommend you to not go this route. I originally wanted to code Cheetah the OOP-way, but the result was way slower than expected. Thus, I re-coded Cheetah the old way: global objects which act as classes. It works very well and if you want, I can send you the framework I created.
__________________
me @ Google+ | Twitter | Flickr | deviantART

audio setup: Cowon J3 32gb | Cowon Z2 16gb | Audio Technica ATH-M50

other: Galaxy Nexus | Nexus 7
Kizune is offline View Kizune's Photo Album   Reply With Quote
Old 06-01-2012, 07:42   #23
Kracko
Junior Member
 
Join Date: Feb 2012
Posts: 10
Default

No, I was only using classes as namespaces (i.e. classes with only static functions) as mtasc does not allow the usage of the #import directive.

I agree that OOP should be avoided because you're essentially developing for an embedded device which requires different considerations when compared to a PC. Code as close to the metal as possible And thanks for the offer, but unfortunately I think this is it for me. I'm not really interested in building a UCI if all it amounts to is GUI shuffling.

Hopefully the J3 successor has a better setup, that isn't Android, or this may end up being my first and last Cowon product.
Kracko is offline View Kracko's Photo Album   Reply With Quote
Old 06-03-2012, 16:33   #24
el maco
Senior Member
 
el maco's Avatar
 
Join Date: Oct 2007
Location: Finland
Posts: 454
Default

Quote:
Originally Posted by Kracko View Post
I had the beginnings of a music uci with a small now playing queue function only to find out that when the screen goes off so does all functionality of the device.
I guess Cowon really wanted to save battery life as much as possible so they decided that way... Anyway, I still think one could create an UCI with a basic editable (dynamic) playlist by using the favorites list as the queue. I haven't tried it but I don't see any reason why wouldn't it work.
el maco is offline View el maco's Photo Album   Reply With Quote
Reply

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 03:15.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.


Copyright © 2006-2011 CrowdGather |  About iAudiophile |  Advertisers | Investors | Legal | Contact