<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jeffri Hong &#187; ROKR E2</title>
	<atom:link href="http://jeffri.net/category/rokr-e2/feed/" rel="self" type="application/rss+xml" />
	<link>http://jeffri.net</link>
	<description> </description>
	<lastBuildDate>Fri, 03 Feb 2012 18:35:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>E2 hang while messaging</title>
		<link>http://jeffri.net/2009/01/e2-hang-while-messaging/</link>
		<comments>http://jeffri.net/2009/01/e2-hang-while-messaging/#comments</comments>
		<pubDate>Sun, 18 Jan 2009 10:48:25 +0000</pubDate>
		<dc:creator>keaglez</dc:creator>
				<category><![CDATA[Modding]]></category>
		<category><![CDATA[ROKR E2]]></category>
		<category><![CDATA[E2]]></category>
		<category><![CDATA[EZX]]></category>

		<guid isPermaLink="false">http://jeffri.net/?p=208</guid>
		<description><![CDATA[Well, I got few question about this before, but before it happened on me, I can&#8217;t possibly know what&#8217;s wrong&#8230; So, just now, my phone freeze when trying to writing message. Not sure why it happens, but it stopped writing in the fourth character. Any key can&#8217;t respond. So I just reboot, hoping it will [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I got few question about this before, but before it happened on me, I can&#8217;t possibly know what&#8217;s wrong&#8230; So, just now, my phone freeze when trying to writing message. Not sure why it happens, but it stopped writing in the fourth character. Any key can&#8217;t respond. So I just reboot, hoping it will solve it.</p>
<p>Then, after phone boot up, I tried message again, writing and freeze again. Uhh&#8230; So I connect my phone to PC (the phone still functional, just it can&#8217;t respond any direct input) and start telneting.</p>
<p><span id="more-208"></span></p>
<p>So, I tried to kill the <em>messaging</em> process.</p>
<blockquote><p>kill -9 `pidof messaging`</p></blockquote>
<p>But no effect&#8230; <img src='http://jeffri.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Then, I tried to see what process that phone currently run.</p>
<blockquote><p>ps h -A</p></blockquote>
<p>I saw that two process that the E2 usually run is not there, the <em>am</em> and <em>phone</em>. So, that&#8217;s the problem. Somehow, the both process freezed and stopped. Then I start the both process.</p>
<blockquote><p>/usr/SYSqtapp/phone/phone -qws &#038;<br />
/usr/SYSqtapp/am/am &#038;</p></blockquote>
<p>Now, it works fine. <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Not sure if there is a short way to solve it without PC. Oh, BTW, I&#8217;m using MAXX 4.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffri.net/2009/01/e2-hang-while-messaging/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>MAXX IV first impression</title>
		<link>http://jeffri.net/2009/01/maxx-iv-first-impression/</link>
		<comments>http://jeffri.net/2009/01/maxx-iv-first-impression/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 12:42:05 +0000</pubDate>
		<dc:creator>keaglez</dc:creator>
				<category><![CDATA[Modding]]></category>
		<category><![CDATA[ROKR E2]]></category>
		<category><![CDATA[E2]]></category>
		<category><![CDATA[firmware]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[menu]]></category>

		<guid isPermaLink="false">http://jeffri.net/?p=189</guid>
		<description><![CDATA[Yesterday, I flash my phone (as you might know, ROKR E2 ) with the newest available firmware or Monster Pack (MP) from our Russian modder, 3-D. The thread is here. I download this files on the Megaupload mirror and on the average speed of 12 kB/s (still damn slow&#8230;.but better than before), need 1 hours [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday, I flash my phone (as you might know, ROKR E2 <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ) with the newest available firmware or Monster Pack (MP) from our Russian modder, 3-D. The thread is <a href="http://motohell.com/index.php?topic=4036.0" target="_blank">here</a>. I download this files on the Megaupload mirror and on the average speed of 12 kB/s (still damn slow&#8230;.but better than before), need 1 hours or so to finish it.</p>
<p>Then, I started to backup my phone data (actually just the sysDatabase folder inside ezx_user), power off my phone and remove both SD card and SIM card. After this, I turn on my phone on bootloader mode. This can be archived by holding voice key while powering the phone. Then, I open RSD Lite, connect my phone and start flashing the sbf. (MAXX IV only come with one sbf file)</p>
<p><span id="more-189"></span><br />
I waited for about 20 minutes and after flash almost finish, as usual phone is power up by itself and RSD Lite status show that the phone is processing data. Different from any MP until today, the phone ask me to install ZMPlayer or QPlayer, then I choose QPlayer, wait until it show finish dialog. After that the RSD Lite ask to manually power on the phone, so I remove the data cable, remove the battery and put it on again, and power up the phone. After phone turned on, I connect my phone again, then RSD Lite show PASS. Flash done!</p>
<p>Now, I play around with my phone and I feel that the MAXX IV is quite fast, but well, as usual after flash, my main menu is screwed up, all games and application is back to menu. Then I restore my backup, restart my phone. Everything works perfectly. So I started to open Adv Menu Organizer (this application is included in MAXX IV, nice&#8230;) and moving everything. But I realize that sometime the Adv Menu Organizer didn&#8217;t pick the correct items (another bug, uh&#8230;). The weird thing is after done with it, I try to open my Games folder but it contains nothing. Other folder works fine though. Donno if it is my application bug or MAXX IV bug.</p>
<p>So then, I check the Adv Menu Organizer again, but it seems fine. Then, I back to Games folder and add a folder. Open the Adv Menu Organizer again and it finally it shows same as the menu. I have no choice instead of using multiple add to add all my games back and now it works fine.</p>
<p>The MAXX IV is one of the best MP currently, however the message bug that Revival solved seems haven&#8217;t implemented here. Too bad&#8230; One of the interesting is the video resolution now have Large one, instead of classic Medium and Small. I also saw Kaleidoscope II project on Motofan, and probably some binary or library from it is implemented on MAXX IV. <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>That&#8217;s it. So far, I satisfied with it. <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://jeffri.net/2009/01/maxx-iv-first-impression/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>An earlier Flowbox development report and snap</title>
		<link>http://jeffri.net/2008/12/an-earlier-flowbox-development-report-and-snap/</link>
		<comments>http://jeffri.net/2008/12/an-earlier-flowbox-development-report-and-snap/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 06:46:06 +0000</pubDate>
		<dc:creator>keaglez</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[ROKR E2]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[EZX]]></category>
		<category><![CDATA[flowbox]]></category>
		<category><![CDATA[QT]]></category>

		<guid isPermaLink="false">http://jeffri.net/?p=163</guid>
		<description><![CDATA[Some feature from Flowbox have been completed today. Now I can browse around my files and folders. However, it still need a lot of work and improvement, since in the current stage, it still working slowly and buggy. As of now, I have able to change the widget size and image size using separated configuration [...]]]></description>
			<content:encoded><![CDATA[<p>Some feature from Flowbox have been completed today. Now I can browse around my files and folders. <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  However, it still need a lot of work and improvement, since in the current stage, it still working slowly and buggy.</p>
<p>As of now, I have able to change the widget size and image size using separated configuration files. To read configuration, I use ConfigFile class by kidscracker, which used on his E2 Light application. So for theme system, it is working now.</p>
<p><span id="more-163"></span></p>
<p>Here is some snap:</p>
<p><img src="http://i212.photobucket.com/albums/cc274/keaglez/snap_picflow1.png" alt="Flowbox" />&nbsp;<img src="http://i212.photobucket.com/albums/cc274/keaglez/snap_picflow2.png" alt="Flowbox" /></p>
<p>Sweet&#8230;. <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Here is some stuff that has been done:</p>
<ul>
<li>Browse from folder to folder.</li>
<li>Extension default images can be customized, that means, while you have music files, you can display different image than unknown file.</li>
<li>Root directory can be customized, umm, I mean the starting directory.</li>
<li>Menu images and layout background can be customized.</li>
<li>Widget size and images slide size can be customized too.</li>
</ul>
<p>That&#8217;s it&#8230; But some bug is still annoying me&#8230;</p>
<ul>
<li>The text widget and PictureFlow widget is not synchronized sometime. <img src='http://jeffri.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </li>
<li>Slow when reading directory. <img src='http://jeffri.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </li>
</ul>
<p>And I still need to work on the plugins system and more configuration to each theme and plugins. (as for now, the configuration is still in a single file, but it&#8217;s read the images on the specified theme directory)</p>
<p>That&#8217;s it for today&#8230; <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://jeffri.net/2008/12/an-earlier-flowbox-development-report-and-snap/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Flowbox, development plan :)</title>
		<link>http://jeffri.net/2008/12/flowbox-development-plan/</link>
		<comments>http://jeffri.net/2008/12/flowbox-development-plan/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 12:27:56 +0000</pubDate>
		<dc:creator>keaglez</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[ROKR E2]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[E2]]></category>
		<category><![CDATA[EZX]]></category>
		<category><![CDATA[flowbox]]></category>
		<category><![CDATA[QT]]></category>

		<guid isPermaLink="false">http://jeffri.net/?p=151</guid>
		<description><![CDATA[On my previous post, I said that I wan&#8217;t to create an application using PictureFlow widget as it&#8217;s interface. Now, the idea is ready, the coding will be begin in short time. Here is the idea. First, what the application does is a file manager with the awesome PictureFlow interface. So, we will able to [...]]]></description>
			<content:encoded><![CDATA[<p>On my previous post, I said that I wan&#8217;t to create an application using PictureFlow widget as it&#8217;s interface. Now, the idea is ready, the coding will be begin in short time. Here is the idea.</p>
<p>First, what the application does is a file manager with the awesome PictureFlow interface. So, we will able to browse our phone/card directory. That&#8217;s the basic of this application, and I named it Flowbox. <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span id="more-151"></span></p>
<p>Before we continue, back when I involved in Revival project, I also have interest on doing file manager project. Using the showList (changed to showFileBrowse after that) binary, and Bash. I talked to Taurnil and arctu about this plan, Taurnil suggested to use plugins based, which means, the application can be improved easily without need to touch the original code.  The result is incomplete and slow, as you can see in our Revival project<span style="text-decoration: line-through;"> trash</span>&#8230; lol But, that idea will be used here. </p>
<p>So, we will have plugins in this application which can be developed by all interested  developer. For how the plugins works, I still think of it. Your suggestion are welcome too. <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I hope, we can have some plugins that can play the music file or even video, which is really possible.</p>
<p>Also, I&#8217;ll make the look and layout customizeable, using the separated themes graphics and configuration. Probably, we can change the background color (dunno if images is possible yet), set the widget and the image slide size, and more.</p>
<p>That&#8217;s the plan. I&#8217;m not sure when I can finished it, but hope in the begining of 2009. If you like this project, make sure to stay tune with this blog. <img src='http://jeffri.net/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Notes: The source will be released under GNU GPL license. <img src='http://jeffri.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://jeffri.net/2008/12/flowbox-development-plan/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Developing a PictureFLow widget application</title>
		<link>http://jeffri.net/2008/12/developing-a-pictureflow-widget-based-application/</link>
		<comments>http://jeffri.net/2008/12/developing-a-pictureflow-widget-based-application/#comments</comments>
		<pubDate>Sat, 20 Dec 2008 10:07:37 +0000</pubDate>
		<dc:creator>keaglez</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[ROKR E2]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[E2]]></category>
		<category><![CDATA[QT]]></category>

		<guid isPermaLink="false">http://jeffri.net/?p=145</guid>
		<description><![CDATA[Now I can get the PictureFlow source files compiled, I started to create an application based of this widget. The PictureFlow widget is originally created by Ariya Hidayat and ported to our Linux phones by the well known member of MotorolaFans, blackhawk (aka Ketut P. Kumajaya). The project page is in http://code.google.com/p/pictureflow/, also the original [...]]]></description>
			<content:encoded><![CDATA[<p>Now I can get the PictureFlow source files compiled, I started to create an application based of this widget. The PictureFlow widget is originally created by <a href="http://ariya.blogspot.com" target="_blank">Ariya Hidayat</a> and ported to our Linux phones by the well known member of <a href="http://www.motorolafans.com" target="_blank">MotorolaFans</a>, blackhawk (aka Ketut P. Kumajaya). The project page is in <a onclick="pageTracker._trackPageview ('/outgoing/http_code_google_com_p_pictureflow_');" href="http://code.google.com/p/pictureflow/" target="_blank">http://code.google.com/p/pictureflow/</a>, also the original thread is in <a href="http://www.motorolafans.com/forums/development/16078-pictureflow-clone-coverflow.html" target="_blank">here</a>. Thanks to both of them, know I can create some awesome application with it. For the begining of this project, it will be still image viewer with some more features added. The name of this application will be decided when the beta is ready. <img src='http://jeffri.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><span id="more-145"></span>In this application, I will use two PictureFlow widget on one screen. The first widget will cover more than half available screen, while the second widget is smaller and used for menu, yes menu. In the center between the both PictureFlow widget, I placed a text widget which will be used for displaying information of current images from selected PictureFlow widget. Oh, of course we can select which widget we want to use by using up-down keys, then using left-right keys to navigating the widget.</p>
<p>Okay, let&#8217;s see the demo screenshot.<br />
<img src="http://i212.photobucket.com/albums/cc274/keaglez/pictureflowsnap.png" alt="PictureFlow demo" /></p>
<p>As you can see, one PictureFlow widget at top, following with one text widget, and the last one is another PictureFlow widget for menu.</p>
<p>What do you think about it? <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Have ideas? Tell me!</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffri.net/2008/12/developing-a-pictureflow-widget-based-application/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Autorun Manager from Revival project</title>
		<link>http://jeffri.net/2008/12/autorun-manager-from-revival-project/</link>
		<comments>http://jeffri.net/2008/12/autorun-manager-from-revival-project/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 11:55:29 +0000</pubDate>
		<dc:creator>keaglez</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[ROKR E2]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[Autorun Manager]]></category>
		<category><![CDATA[E2]]></category>
		<category><![CDATA[EZX]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://jeffri.net/?p=92</guid>
		<description><![CDATA[While we doing Revival project a little while ago with arctu, Taurnil, and others, we actually have working hard for some cool application for our E2. This project, unfortunately have been aborted since all of us have no time to continue it. One of the application I made, the Autorun Manager is one of the [...]]]></description>
			<content:encoded><![CDATA[<p>While we doing Revival project a little while ago with arctu, Taurnil, and others, we actually have working hard for some cool application for our E2. This project, unfortunately have been aborted since all of us have no time to continue it. One of the application I made, the Autorun Manager is one of the hardest application I have ever made. This application used PHP as its programming language and use arctu&#8217;s show* binaries as the GUI. Since the project stopped, I think I need to release it as standalone application that compatible with most monster pack out here.</p>
<p>Why PHP? Because it is fast, more than Bash. The meaning of the fast, is the speed while processing data and not the GUI speed, since show* binaries is fairly slow. So, with PHP, I can made more data processing while not sacrificing the speed. It is also more flexible.</p>
<p><span id="more-92"></span></p>
<p>The Autorun Manager package include another php script that can be used with command line. So, this make it possible for other application to use it for managing autorun like the Autorun Manager do. So, if you are developer that want to create an application and need to use autorun, this will help you.</p>
<p>The command line script is placed on <em>/ezxlocal/etc_files/autorun</em> (it is a file without extention). This file will be copied to above directory at the first time you run this application. It is PHP script, so you need to call PHP with this files. Before that, you need to create your autorun script first, using sh or lin as the extention. Then place the script on <em>/ezxlocal/.system/autorun</em> folder. Here is a quick example.</p>
<blockquote><p>
export PATH=/mmc/mmca1/.system/bin:/mmc/mmca1/bin:/ezxlocal/.system/bin:/ezxlocal/bin:$PATH<br />
cp my_script.lin /ezxlocal/.system/autorun<br />
php /ezxlocal/etc_files/autorun -a my_script.lin</p></blockquote>
<p>The first line is to set path where the PHP binary is placed. As long as the user have <a href="http://keaglez.e2mod.com/?software,15" target="_blank">PHP Loader</a> installed, this path should be enough to locate the PHP binary.</p>
<p>Now the second line, we copy the script to autorun folder. And on the the third line, you will see we call the this PHP script using <em>-a my_script.lin</em> as argument. Use <em>&#8211;help</em> argument to see the complete list of accepted argument.</p>
<p>For the script, you need to have one <em>title</em> variable with any value you want. The quick example is like below.</p>
<blockquote><p>#!/bin/bash<br />
title=&#8221;My Script&#8221;<br />
### continue with your script</p></blockquote>
<p>This script, as I mentioned above, should be copied to /ezxlocal/.system/autorun.</p>
<p>To download this application, go to the <a href="http://keaglez.e2mod.com/?software,20">download page</a>.</p>
<p>What do you think about this application? Will newer monster pack use it and standarize it? Hehe&#8230; I think it is a good way to manage autorun. Again, this is arctu&#8217;s idea, I just write the application and add more feature in it. <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://jeffri.net/2008/12/autorun-manager-from-revival-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Editing skin, more icon in main menu</title>
		<link>http://jeffri.net/2008/12/editing-skin-more-icon-in-main-menu/</link>
		<comments>http://jeffri.net/2008/12/editing-skin-more-icon-in-main-menu/#comments</comments>
		<pubDate>Sun, 07 Dec 2008 15:08:36 +0000</pubDate>
		<dc:creator>keaglez</dc:creator>
				<category><![CDATA[Designing]]></category>
		<category><![CDATA[Modding]]></category>
		<category><![CDATA[ROKR E2]]></category>
		<category><![CDATA[E2]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[skin]]></category>

		<guid isPermaLink="false">http://jeffri.net/?p=38</guid>
		<description><![CDATA[Do you want to have more icon in your ROKR E2 menu instead of the basic 3&#215;3 such as 3&#215;4, 4&#215;4 or even more? Then, editing the skins configuration files (the ini extention files) will be the best way. It&#8217;s pretty easy, and along with this article, I will show you how I made my [...]]]></description>
			<content:encoded><![CDATA[<p>Do you want to have more icon in your ROKR E2 menu instead of the basic 3&#215;3 such as 3&#215;4, 4&#215;4 or even more? Then, editing the skins configuration files (the <em>ini</em> extention files) will be the best way. It&#8217;s pretty easy, and along with this article, I will show you how I made my 3&#215;3 menu to 3&#215;4 and 4&#215;4.</p>
<p>To edit this files, you only need a text editor. Now, we will edit the <em>common.in</em>i and <em>mainmenu.ini</em> only. Here is how it looks before editing:</p>
<p><img class="alignnone" title="the 3x3" src="http://i212.photobucket.com/albums/cc274/keaglez/snap-3x3.png" alt="" width="240" height="320" /></p>
<p><span id="more-38"></span></p>
<p>Okay, let&#8217;s start from <em>mainmenu.ini</em> and 3&#215;4 first, this is the original value:</p>
<blockquote><p>[ZIconView_1]<br />
Bg_Type_Std = 0<br />
Bg_Opacity_Std = 0<br />
Padding_Left = 2<br />
Padding_Right = 2<br />
Padding_Top = 4<br />
Padding_Bottom = 4<br />
Spacing_H1 = 3<br />
Spacing_V1 = 8</p>
<p>[ZIconViewItem_1]<br />
Bg_Type_Std = 0<br />
Bg_Type_H = 0<br />
Bg_Type_HS = 0<br />
Border_Type_Std = 0<br />
Border_Type_H = 0<br />
Border_Type_HS = 0<br />
Border_Left_Stretch_H = 2<br />
Border_Left_Stretch_HS = 2<br />
Border_Right_Stretch_H = 2<br />
Border_Right_Stretch_HS = 2<br />
Border_Top_Stretch_H = 1<br />
Border_Top_Stretch_HS = 1<br />
Border_Bottom_Stretch_H = 1<br />
Border_Bottom_Stretch_HS = 1<br />
Image_Container_Type = 1<br />
Padding_Left = 7<br />
Padding_Right = 7<br />
Padding_Top = 0<br />
Padding_Bottom = 0<br />
Spacing_V1 = 1</p>
<p>[ZImageContainer_1]<br />
Bg_Type_Std = 0<br />
Bg_Type_H = 2<br />
Bg_Stretch_H = 5<br />
Bg_Color_H = 255<br />
Bg_Opacity_Std =0<br />
Bg_Opacity_H =100<br />
Border_Type_Std = 0<br />
Border_Type_H = 2<br />
Border_Color_Std = 1592405<br />
Border_Color_H = 5592405<br />
Border_Width_Std = 0<br />
Border_Width_H = 0<br />
Border_Opacity_Std =100<br />
Border_Opacity_H =100<br />
Bg_Size_Std = 49<br />
Bg_Size_H = 49<br />
Padding_Left = 4<br />
Padding_Right = 4<br />
Padding_Top = 4<br />
Padding_Bottom = 4</p></blockquote>
<p>First, we edit these ZIconView_1 properties:</p>
<blockquote><p>Padding_Top = 1<br />
Padding_Bottom = 1<br />
Spacing_V1 = 0</p></blockquote>
<p>Notice the top and bottom padding, we make it smaller than left and right padding since the 3&#215;4 is not square. Also the Spacing_V1 to 0.</p>
<p>Next, we edit these ZImageContainer_1 properties:</p>
<blockquote><p>Bg_Size_Std = 45<br />
Bg_Size_H = 45<br />
Padding_Top = 1<br />
Padding_Bottom = 1</p></blockquote>
<p>As you can see, we edit the padding value here and resize the icon to a bit smaller, the result so far is:</p>
<p><img class="alignnone" title="3x4 1" src="http://i212.photobucket.com/albums/cc274/keaglez/snap-3x4-1-1.png" alt="" width="240" height="320" /></p>
<p>Hmm&#8230; Not bad&#8230; The text on the 4th rows still hide inside softkey and you can see the padding is not well yet. Well, let&#8217;s take it step by step.</p>
<p>Now we edit the <em>common.ini</em> , we will make the header and softkey a bit smaller. This is the original value before we edit:</p>
<blockquote><p>[ZHeader_1]<br />
Bg_Type_Std = 2<br />
Bg_Stretch_Std = 7<br />
Bg_Opacity_Std = 100<br />
Padding_Left = 5<br />
Padding_Right = 5<br />
Padding_Top = 3<br />
Padding_Bottom = 5<br />
Spacing_H1 = 3<br />
Spacing_V1 = 0</p>
<p>[ZSoftKey_Left]<br />
Bg_Type_Std = 2<br />
Bg_Type_S = 2<br />
Bg_Stretch_Std = 5<br />
Bg_Stretch_S = 5<br />
Bg_Opacity_Std = 100<br />
Bg_Opacity_S = 100<br />
Border_Type_Std = 0<br />
Border_Type_S = 0<br />
Border_Width_Std = 0<br />
Border_Width_S = 0<br />
Padding_Left = -30<br />
Padding_Right = 5<br />
Padding_Top = 5<br />
Padding_Bottom = 5<br />
Spacing_H1 = 3</p>
<p>[ZSoftKey_Right]<br />
Bg_Type_Std = 2<br />
Bg_Type_S = 2<br />
Bg_Stretch_Std = 5<br />
Bg_Stretch_S = 5<br />
Bg_Opacity_Std = 100<br />
Bg_Opacity_S = 100<br />
Border_Type_Std = 0<br />
Border_Type_S = 0<br />
Border_Width_Std = 0<br />
Border_Width_S = 0<br />
Padding_Left = 5<br />
Padding_Right = -20<br />
Padding_Top = 5<br />
Padding_Bottom = 5<br />
Spacing_H1 = 3</p></blockquote>
<p>Yup, we will edit this 3 to (only changed value is written, else leave it):</p>
<blockquote><p>[ZHeader_1]<br />
Padding_Top = 1<br />
Padding_Bottom = 1</p>
<p>[ZSoftKey_Left]<br />
Padding_Top = 1<br />
Padding_Bottom = 2</p>
<p>[ZSoftKey_Right]<br />
Padding_Top = 1<br />
Padding_Bottom = 2</p></blockquote>
<p><img class="alignnone" title="3x4 2" src="http://i212.photobucket.com/albums/cc274/keaglez/snap-3x4-2.png" alt="" width="240" height="320" /></p>
<p>Now it looks better. Just need a little fix and it is done!</p>
<p>Here we change the ZIconView_1 again, but now the left and right padding</p>
<blockquote><p>Padding_Left = 11<br />
Padding_Right = 11</p></blockquote>
<p>The result is looks like this<br />
<img class="alignnone" title="3x4 final" src="http://i212.photobucket.com/albums/cc274/keaglez/snap-3x4-3.png" alt="" width="240" height="320" /></p>
<p>Not bad huh? Now, the 4&#215;4. Here is the properties I edit in <em>mainmenu.ini</em>:</p>
<blockquote><p>[ZIconView_1]<br />
Padding_Left = 10<br />
Padding_Right = 10<br />
Padding_Top = 3<br />
Padding_Bottom = 3</p>
<p>[ZIconViewItem_1]<br />
Padding_Left = 0<br />
Padding_Right = 0</p>
<p>[ZImageContainer_1]<br />
Padding_Left = 0<br />
Padding_Right = 0<br />
Padding_Top = 0<br />
Padding_Bottom = 0</p></blockquote>
<p>And the final 4&#215;4 result<br />
<img class="alignnone" title="4x4" src="http://i212.photobucket.com/albums/cc274/keaglez/snap-4x4.png" alt="" width="240" height="320" /></p>
<p>Perfect! Next, you might want to edit the font size to make the text fit more in the screen, but this is the end of this article. Thanks for reading and hope it useful for you. <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://jeffri.net/2008/12/editing-skin-more-icon-in-main-menu/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Playing with QT QWidget</title>
		<link>http://jeffri.net/2008/12/playing-with-qt-qwidget/</link>
		<comments>http://jeffri.net/2008/12/playing-with-qt-qwidget/#comments</comments>
		<pubDate>Sun, 07 Dec 2008 07:57:30 +0000</pubDate>
		<dc:creator>keaglez</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[ROKR E2]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[E2]]></category>
		<category><![CDATA[EZX]]></category>
		<category><![CDATA[QT]]></category>

		<guid isPermaLink="false">http://jeffri.net/?p=34</guid>
		<description><![CDATA[Hmm&#8230; Actually, I&#8217;m pretty tired of incomplete SDK for ROKR E2. That&#8217;s why maybe I should go using my own widget inherited by QWidget. I&#8217;m still playing around with it and at least the hello world works. LOL I don&#8217;t know if this will be a better solution or maybe better to stick with EZX [...]]]></description>
			<content:encoded><![CDATA[<p>Hmm&#8230; Actually, I&#8217;m pretty tired of incomplete SDK for ROKR E2. That&#8217;s why maybe I should go using my own widget inherited by QWidget. I&#8217;m still playing around with it and at least the hello world works. LOL <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I don&#8217;t know if this will be a better solution or maybe better to stick with EZX style one. Well, hope I can made something useful with it. I will see if I could get key event from it. <img src='http://jeffri.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>After all, I&#8217;m still newbie. If some profesional want to help me, let&#8217;s chat on MSN or YM. <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://jeffri.net/2008/12/playing-with-qt-qwidget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Adv Menu Organizer source code</title>
		<link>http://jeffri.net/2008/12/the-adv-menu-organizer-source-code/</link>
		<comments>http://jeffri.net/2008/12/the-adv-menu-organizer-source-code/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 01:04:02 +0000</pubDate>
		<dc:creator>keaglez</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[ROKR E2]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[E2]]></category>
		<category><![CDATA[EZX]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[QT]]></category>
		<category><![CDATA[source code]]></category>

		<guid isPermaLink="false">http://jeffri.net/?p=22</guid>
		<description><![CDATA[Ok guys, this is my new application source. If you haven&#8217;t know this, please take a look on my website. This application will be useful to organizing your menu faster and easier. This is my first time creating a C++ and QT application. Therefore, sorry if the code is a bit messy. This application is [...]]]></description>
			<content:encoded><![CDATA[<p>Ok guys, this is my new application source. If you haven&#8217;t know this, please take a look on <a href="http://keaglez.e2mod.com/?software,19" target="_blank">my website</a>. This application will be useful to organizing your menu faster and easier.</p>
<p>This is my first time creating a C++ and QT application. Therefore, sorry if the code is a bit messy. This application is created using SDK by blackhawk with E2 header files taken from lasly&#8217;s SDK. Lately, I got header files from arctu, but it doesn&#8217;t make differences whether it compiled using any of these SDK.<br />
<span id="more-22"></span><br />
<a href="http://www.4shared.com/file/74670308/c794a619/menusource.html" target="_blank"> Download the source code here</a>.</p>
<p>Please use it wisely. It might be useful for you or maybe you want to make the optimization from this application. <img src='http://jeffri.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Along with this posts, I would like to inform you of some bug discovered by my tester.</p>
<ul>
<li>It failed to remove application icon on some MP. (by zigot)</li>
<li>While removing unavailable data application on Zine2 MP, it removes some built in folder. (by xtreme tcx)</li>
</ul>
<p>I haven&#8217;t find the clue to solve this issue yet, maybe later. If you encountered the same bug or another bug, please do inform me. <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Thanks for reading!</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffri.net/2008/12/the-adv-menu-organizer-source-code/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Some hello world examples</title>
		<link>http://jeffri.net/2008/12/some-hello-world-examples/</link>
		<comments>http://jeffri.net/2008/12/some-hello-world-examples/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 03:06:00 +0000</pubDate>
		<dc:creator>keaglez</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[ROKR E2]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[E2]]></category>
		<category><![CDATA[EZX]]></category>
		<category><![CDATA[QT]]></category>
		<category><![CDATA[source code]]></category>

		<guid isPermaLink="false">http://jeffri.net/?p=12</guid>
		<description><![CDATA[Here is some hello world example for anyone who interested to develop a native application for ROKR E2. All of the example is very simple and easy to understand as long as you have basic C++ and QT. You can use SDK from lasly or blackhawk, both is working for these application. If you haven&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Here is some hello world example for anyone who interested to develop a native application for ROKR E2. All of the example is very simple and easy to understand as long as you have basic C++ and QT. You can use SDK from lasly or blackhawk, both is working for these application. If you haven&#8217;t had cross compiler, then read first <a title="Setup cross compiler for ROKR E2" href="http://jeffri.net/2008/12/setup-cross-compiler-for-rokr-e2/" target="_self">here</a>.</p>
<p>The first example is a message dialog like below.<br />
<span id="more-12"></span><br />
<img class="alignnone" title="hello world 1" src="http://i212.photobucket.com/albums/cc274/keaglez/snap-hello.png" alt="" width="240" height="320" /></p>
<p>and the source:</p>
<blockquote><p>#define QT_NO_DRAGANDDROP</p>
<p>#define QT_NO_PROPERTIES</p>
<p>#include &lt;ZApplication.h&gt;</p>
<p>#include &lt;ZMessageDlg.h&gt;</p>
<p>int main(int argc, char **argv)</p>
<p>{</p>
<p><span> </span>ZApplication* a = new ZApplication(argc, argv);</p>
<p><span> </span>ZMessageDlg* dlg = new ZMessageDlg(QString(&#8220;Hello World!&#8221;), QString(&#8220;This is hello world application.&#8221;), (ZMessageDlg::MessageDlgType)0 , 0 , NULL , &#8220;showQ&#8221; , true , 0);</p>
<p><span> </span>a-&gt;setMainWidget(dlg);</p>
<p><span> </span>dlg-&gt;show();</p>
<p><span> </span>a-&gt;exec();</p>
<p><span> </span>return 0;</p>
<p>}</p></blockquote>
<p><span style="text-decoration: underline;"><a href="http://jeffri.net/wp-content/uploads/hello1.cpp">Download example 1</a></span></p>
<p>As you can see, we first create instance of ZApplication (we can say that it is QApplication for EZX). Then we create another instance of ZMessageDlg, and followed by usual QT style programming.</p>
<p>Now, lets see another example, the notice dialog:</p>
<p><img class="alignnone" title="hello2" src="http://i212.photobucket.com/albums/cc274/keaglez/snap-hello2.png" alt="" width="240" height="320" /></p>
<p>and the source as below:</p>
<blockquote>
<p>#define QT_NO_DRAGANDDROP</p>
<p>#define QT_NO_PROPERTIES</p>
<p>#include &lt;ZApplication.h&gt;</p>
<p>#include &lt;ZNoticeDlg.h&gt;</p>
<p>int main(int argc, char **argv)</p>
<p>{</p>
<p><span> </span>ZApplication* a = new ZApplication(argc, argv);</p>
<p><span> </span>ZNoticeDlg* dlg = new ZNoticeDlg((ZNoticeDlg::Type)0, QString(&#8220;Hello World!&#8221;), QString(&#8220;This is hello world application.&#8221;), NULL, &#8220;showNotify&#8221;, true, 0, false);</p>
<p><span> </span>a-&gt;setMainWidget(dlg);</p>
<p><span> </span>dlg-&gt;show();</p>
<p><span> </span>a-&gt;exec();</p>
<p><span> </span>return 0;</p>
<p>}</p></blockquote>
<p><span style="text-decoration: underline;"><a href="http://jeffri.net/wp-content/uploads/hello2.cpp">Download example 2</a></span></p>
<p>Nothing new here, except that we change the ZMessageDlg widget to ZNoticeDlg. You can see the constructor and member of the object on the header file. <img src='http://jeffri.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Next, we create our own widget as shown below:</p>
<p><img class="alignnone" title="hello3" src="http://i212.photobucket.com/albums/cc274/keaglez/snap-hello3.png" alt="" width="240" height="320" /></p>
<p>And the source:</p>
<blockquote>
<p>#define QT_NO_DRAGANDDROP</p>
<p>#define QT_NO_PROPERTIES</p>
<p>#include &lt;ZApplication.h&gt;</p>
<p>#include &lt;ZKbMainWidget.h&gt;</p>
<p>#include &lt;ZLabel.h&gt;</p>
<p>#include &lt;ZSoftKey.h&gt;</p>
<p>#include &lt;ZScrollPanel.h&gt;</p>
<p>class MyDialog : public ZKbMainWidget</p>
<p>{</p>
<p><span> </span>Q_OBJECT</p>
<p><span> </span>public:</p>
<p><span> </span>MyDialog() : ZKbMainWidget((ZHeader::HEADER_TYPE)3, NULL, &#8220;MyDialog&#8221;, 0)</p>
<p><span> </span>{</p>
<p><span> </span>setMainWidgetTitle(QString(&#8220;Hello World!&#8221;));</p>
<p><span> </span>ZSoftKey* softkey = new ZSoftKey(NULL, this, this);</p>
<p><span> </span>softkey-&gt;setText(ZSoftKey::LEFT, QString(&#8220;Hi!&#8221;), (ZSoftKey::TEXT_PRIORITY)0);</p>
<p><span> </span>softkey-&gt;setText(ZSoftKey::RIGHT, QString(&#8220;Quit&#8221;), (ZSoftKey::TEXT_PRIORITY)0);</p>
<p><span> </span>softkey-&gt;setClickedSlot(ZSoftKey::RIGHT, qApp, SLOT(quit()));</p>
<p><span> </span>ZLabel* mainlabel = new ZLabel(QString(&#8220;This is hello world application!&#8221;), this, &#8220;mainlabel&#8221;, 0, (ZSkinService::WidgetClsID)4);</p>
<p><span> </span>mainlabel-&gt;setPreferredWidth(240);</p>
<p><span> </span>mainlabel-&gt;setAutoResize(true);</p>
<p><span> </span>QVBoxLayout* layout = getVBoxLayout();</p>
<p><span> </span>ZScrollPanel* panel = new ZScrollPanel(this, NULL, 0, (ZSkinService::WidgetClsID)4);</p>
<p><span> </span>panel-&gt;addChild(mainlabel, 10, 50);</p>
<p><span> </span>layout-&gt;addWidget(panel);</p>
<p><span> </span>setSoftKey(softkey);</p>
<p><span> </span>}</p>
<p>};</p>
<p>int main(int argc, char **argv)</p>
<p>{</p>
<p><span> </span>ZApplication* a = new ZApplication(argc, argv);</p>
<p><span> </span>MyDialog* dlg = new MyDialog();</p>
<p><span> </span>a-&gt;setMainWidget(dlg);</p>
<p><span> </span>dlg-&gt;show();</p>
<p><span> </span>a-&gt;exec();</p>
<p><span> </span>return 0;</p>
<p>}</p>
<p>#include &#8220;hello3.moc&#8221;</p></blockquote>
<div><span style="text-decoration: underline;"><a href="http://jeffri.net/wp-content/uploads/hello3.cpp">Download example 3</a></span></div>
<p>Here, we create a MyDialog class inheritence from ZKbMainWidget. Inside the class, we have an inherited constructor of ZKbMainWidget. Then inside the constructor, we create instance of ZSoftKey, ZLabel, QVBoxLayout and ZScrollPanel.  I can&#8217;t explain line by line though, but I think it is easy to understand. See the source your self and try it, it is the best way to learn. <img src='http://jeffri.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Oh, and for the last line, we include <em>hello3.moc</em>, this is for generate moc files.</p>
<p>Okay, this is end of this article. See ya!</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffri.net/2008/12/some-hello-world-examples/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>

