Thursday June 29, 2006 Deutschsprachiges NetBeans-Forum (2)
The German-language Java and NetBeans Forum is back: Nach dem Serverausfall ist es wieder da, das deutschsprachige NetBeans und Java Forum! Auferstanden aus Ruinen hat es sogar ein kostenloses "s" im Namen dazu bekommen. ;-) Okay, man sieht sich auf smurfis.de...
Posted by seapegasus ( Jun 29 2006, 07:37:59 PM CEST ) PermalinkThanks to Adam Freeman to point out in a comment that it's possible to create themes for Nokia phones with Nokia Theme Studio. But if you just want a quick and primitive Series 40 theme (a wallpaper, a screensaver animation, one highlight color, plus a midi ringtone) there's an even easier way: [Note: I am again using the Linux commandline and the Windows GUI in parallel here, don't let that confuse you.]
file command reveals:
> file YellowLace.nth YellowLace.nth: Zip archive data, at least v2.0 to extract
$ unzip YellowLace.nth Archive: YellowLace.nth inflating: theme_descriptor.xml inflating: Worldly.MID inflating: YellowLace.gif inflating: YellowLace.jpg
The gif file is a graphic animation the size of an S40 screen which is used as the screensaver. The jpg file is a static wallpaper image of the same size for the background. The .MID file is a (seemingly normal) midi music file. More about the midi file later.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE theme PUBLIC "-//NOKIA//DTD THEME 1.0//EN" "theme.dtd"> <theme name="Yellow Lace" version="1.0"> <wallpaper src="YellowLace.jpg"/> <screensaver src="YellowLace.gif"/> <ringtone src="Worldly.MID"/> <colorscheme color="gray"/> </theme>
OK, now that we know the format, the hacking part is easy.
$ convert -scale 128x128 image*.gif $ convert -delay 200 -loop 10 image*.gif animation.gif
theme name to your theme's name. I don't know what colors exactly you can enter in the colorscheme field, but it takes plain words like orange and blue, just don't be too creative.
nth.
That's it. :-) So just for example... *digging around on my harddrive for images and midis*... try this ... say... Nokia S40 "Tori Amos" theme. The Tori-in-a-crate sequence from the Little Earthqukaes cover art is too tempting for a 128x128 screensaver. The music is Winter: Perfect ringtone, since it uses only two channels, has no fancy instruments that the phone could distort, no percussion, just a straight but intelligent tune. If you have a S40 Nokia, try it and tell me whether it works for you. If you don't have a Nokia -- tsk, who cares? Download it, unzip it and listen to the midi while watching the animation in a webbrowser. ;-D
Soooo, what's next? I have 3 more midis for themes, Babylon 5, Firefly, Doctor Who, and one more tune I cannot put a name on. (Then there's also MacGyver, Knight Rider, Mission Impossible... But everybody has those midis already.) If you want one, this is your chance to vote, otherwise I pick one.
Posted by seapegasus ( Jun 29 2006, 12:04:55 PM CEST ) Permalink Comments [4]