iDic
iDic is a dictionary software which allows you to search and view contents of eb type data.
Product details
These are pictures from the binary I'm working on right now.
The landscape mode is working, though there are many issues left. The next version(1.7) should not have issues on Japanese Wikipedia data.
EB is the binary format widely used for many dictionaries.
You have to install EB dictionaries your self.
Once you upload your dictionaries to your iPhone, you need to specify the path in 'SETUP' .
Download from here.
Development log...
08/05/2008 I got iDic compiled with the latest iPhone SDK. But still it's not functional. I'm not sure but I may use Apple Store for the future release of the version for iPhone 2.0.
07/26/2008 I just got 2.0 firmware installed on my iPhone 2G. It seems like Apple changed a lot over the system. I'm trying to install iPhone SDK onto my PBP. Hopefully the installation will work, and I can start the iDic development soon for firmware version 2.0.
01/26/2008 1.12 was uploaded. There are many updates. If you don't like them, just let me know, then I'll change them back to 1.11.
01/21/2008 I started a new project. I think I've included in iDic almost everything people have asked to me so far. Please e-mail me if you see any problems or have feature requests. 01/18/2008 1.11 has been released.
- The issue of typing 'ichi'[Japanese Kanji] was fixed.
- A new option, 'Max Line' was added. You can lower the number if you see gabage on the item view.
- Fixed the issue of not coming back from resume.
01/05/2008 I uploaded version 1.10. The issue of incorrect navigation(or button) bar location was fixed. Also I fixed problems with Longman dictionaries. It seems like some people can't get a keyboard in 'Setup'. If you rotate your iPhone(or iPod) physically and change the screen from portrait to landscape or vice versa, you should be able to show up the keyboard again.
12/08/2007 No update right now. I'm going to release a new version on Sunday PDT.
Today I started writing my own version of the conversion tool from Wikipedia to EB. My initial goal of the tool is to support only text and links, but it is suposed to allow us to select articles with some kinds of keywords. Also I would like to support 'math' tag used everywhere in Wikipedia eventually, because that's what I want. If you would be interested in the tool, please let me know, so that I can change the priorities on iDic and the conversion tool.
12/06/2007 No update also. I fixed an issue of bitmap images on KANJIGEN, implemented bitmap images I mentioned yestery, and changed the behavior of the serch view. Keyboard will show up only when you have a cursor in the serch text field. I'm going to try fixing down the next version until the end of this week.
12/05/2007 I don't update iDic with a new binary today also, but would like to put a screen shot of the current development version. Now there are two ways to use the history list. You can copy a word from the history to the search entry field by tapping an entry. Or tapping an icon located at right hand side will start a serach. This is the answer to my yesterday's question. ;-)

I made some button images this morning. This snapshop is just photoshoped image, though. ;-)

And one more thing. If you have any problems with your dictionary, just contact to bigskyflier@gmail.com. I'm willing to solve your problems.
12/03/2007 There is no new update. I'm working on adding the search history feature. I just finished the basic implementation, and it's working fine. I'm wondering if iDic should start a search by touching one of them, or just add the word to the edit box.

11/29/2007 Version 1.8 I fixed a couple of issues, added some new features.
- fixed memory leaks. This should be more stable than 1.7.
- double tap in 50 pixels from left/right edges moves to prev/next pages.
- rotating views don't flash the screen. Though I need to work more to make the animation better.
- adjusted the vertical offset of Gaiji characters lower to match texts.
- The header texts in the hitlist view have '...' when they are too long to fit in one line.
- some more fixes.
11/26/2007 Version 1.7. I tested this version with J-Wikipedia, and it seems working fine. I mean no corrupted rendering.
- Zoom should work correctly. You can scroll to the right hand side area when you zoom-in. Double-tap toggles the zoom scale between 1.0 and 2.0. Also 1.0 is the smallest zoom scale. Pinch should work. too.
- Added links to pages in the content view. I would like to eventually remove this paging feature and iDic can render only viewing area and threw away data for rendering hidden segments.
- Added support for landscape mode. I would say the sensibility of iPhone's detecting orientation is too high, and iDic tries to change the orientation too often. Actually I would like the same way Palm does with the little tiny button for changing the screen orientation.
11/25/2007 I started building the wikipedia dictionary on my PowerBook Pro. I don't know how long it'll take, but am looking forward to seeing how it works on iDic. ;-)
If there will be issues, I'll try to fix them tomorrow if I have time. By the way, it is really colder here than LA.
Also I started the support of the landscape mode. The implementation is supposed to be straightforward, but I'm not sure how long it takes.
11/24/2007 Version 1.6. I just came back from Los Angeles for Thanksgiving vacation. ;-) Anyway this is the version 1.6.
I fixed a couple of issues. I think the stability is much better than 1.5.
- the corrupted view of hit word list.
- added a workaround for the corrupted view of big items. When the number of lines for an item is larger than 50, the page is split to multiple pages, and 'next page' tag wil be added.
- the history of link jump remembers scroll offset.
- added the support of 'indent' in the item detail view.
- 'New Search' button goes back to the main search view.
- Keywords are red colored.
- replaced 'Return' with 'Search', which starts the 'begin' search. # should I take out 'Begin' button?
- 'font size' option should work correctly now. I used to use '<font size=%d>' but now '<span style="font-size:%dpx">' is used instead.
- changed the gradation curve of drawing Gaiji grayscale bitmaps. Gaiji should look darker than before. If you don't like it, let me know. # even I can add an option for this in 'Setup'.
- the current book name is shown on the navigation bar in the detail view.
11/19/2007 Version 1.5. audio support is added. The hitlist view is better than 1.4.
The current problem is that it needs to make a temporary wav file everytime it plays back an audio. I hope people don't play back audio tons of times in their life.
So now I'm going to look for a way to implement the landscape mode. If you know any open source program which supports the landscape mode so that I can steal its code. (^-^
11/18/2007 this is version 1.4. I changed a couple of big things and they give me many advantages to implement new things.
But also I needed to add workaround for some issues, and could not solve some of bad behaviors. If you don't want to see bugs, please don't use this version.
This version has the following new features.
- Link!
- Link history! You can go back to pages where you hit links.
- Gaiji is supported on the hit list view.
- Pinch zoom works, although you can even zoom out too much.
- Disabled auto spell correction.
- Added clearing text button.
Always your comments are welcome. ;-)
XXX: I added a new image file, textfield.png, please do not forget to copy the file to your iPhone(iPod Touch) with the new iDic execution file.
11/14/2007 finally version 1.3 has been released.
I've installed Leopard and just finally fixed my development environment on the new OS. This version has the inline image support. No link hasn't been added yet.
This is the current to-do list for iDic.
- link support
- different word searching types. searches first, end and all matches. The current iDic does seaching first only.
- audio support
- landscape mode. This may not be easy.
- gaiji support in the hit list view.
- zoom support in the content view.
Just let me know what you think, then I will implement features which most people are requesting to me. (^-^
10/29/2007 So far I can render jpg and dib images.
I am quite successfull on putting image base64 data into html, and rendering performance is not so bad, which is much better than the previous method with UIView. I'm going to release a next version soon. Also I'm working on showing a progress bar when rendering, and the support of landscape view. The progress bar stuff doesn't seem so complecated and I should be able to put it into iDic soon. The landscape support may be hard. I can't find a good example code yet. I believe after the next release, I'll try to put the link and sound support.
10/25/2007 New version has been disted.
As I said, this new version uses UIWebView and embedded Gaiji images in html. I think the rendering speed gets much faster and the problem of big context hit item was fixed. I've not implemented the feature to show images and links don't work. I need some more time for them.
Another nice thing about this new version is that you can change the font size.
The implementation of the conversion from EB gaiji bitmap images to base64 encoded png data, and it's working on iPhone. But the performance doesn't seem great. I need to figure out how I can speed it up. The nice thing about using UIWebView is that I can use a couple features we can find on Mobile Safari. ;-)
10/22/2007 use UITextView or not.
The problem of UITextView is that we can't put images easily. Actually UITextView is UIWebView, which has lots features Safari has, but everything is supposed to be in HTML.
I didn't use UIWebView because the class requires external files for inline images, and I dont't want to make bunch of tmp images in /usr/tmp, which could kill flash media.
So I made the first two versions without UIWebView, and they use NSString to draw unicode texts. I could be wrong but I can't find any functions which can draw unicode except NSString.
ATSUI is the right system I should use, but I can't find it on iPhone. Anyway I used drawing functions of NSString, and they are terribly slow, AND also it seems wasting tons of memory.
I've been looking for a way to insert inline images on UIWebView. I looked over WebKit, which is open-source, so that I could override some classes to hack inline image fetching functions, but it seems like they are in C(/C++) code, with which it is much harder to extend features than Objective-C.
Then I found a possibly good way to implement inline images, it's the embedded image feature of HTML. We can put 'data:image/png;base64,xxxx' as a link with 'img src' tag. WebKit seems to accept only png, but I can convert images in EB to PNG inside iDic, then everything SHOULD be OK, except the unknown performance.
I need to compress an image with PNG, and encode with base64, then WebKit has to do the reverse. It's totally wasting CPU power and memory, but the way is the only solution I could have find so far.
Anyway I'm working on the next version of iDic, and it's supposed to finish in a couple of days.
10/18/2007 : New version of iDic disted.