What's the best way to implement the file format of a dictionary application?

I want to write a dictionary application on the android platform. Now I have some basic idea of how to organize the dictionary entries in a file. I want to hear from you guys opinion on what's the best way to organize the entries in a file in order to get best performance.

Thanks.

Answers


Don't reinvent the wheel, there are already perfect systems for storing, searching and retrieving data. They are called databases.

It looks like the nice in process database SQLite exists for Android.


Need Your Help

java.lang.VerifyError Incompatible argument to function

scala sbt akka spray

I am getting a strange error with sbt run for a Spray example app I wrote, it compiles fine, and I only get the error on my personal computer because it works fine on another computer.

Check if a url is a mercurial repository (like git ls-remote)

mercurial

How can I check whether a URL points to a mercurial repository? With git, I would use git ls-remote $url and check the return value. Is there something similar for hg?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.