×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jun 2010
    Location
    India
    Posts
    3

    Dictionary Compresed database

    Hi...
    I am currently developing j2me application Dictionary . i want to my word data in compressed file like
    (.DAT)
    but how to create .dat file and how to store data in that.

    some one sugges me use program debug database please help me What is program debug database and it is possible parshing data in j2me.

  2. #2
    Registered User
    Join Date
    Sep 2007
    Location
    Bangalore
    Posts
    868

    Re: Dictionary Compresed database

    Hi,
    AFAI If you have a file i.e Your words in a file if you build your jar application , You might be using the absificator it will compress the file . You no need to bother about that. If you want to reduce still use GZIP the file and In the client You need to wrtite GZIP decoder .

  3. #3
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: Dictionary Compresed database

    Just to add : Once you have the Data file; you can package it along with the Jar file (may be in resource folder); and during runtime you can use getResourceAsStream() to access file stored inside the JAR file.

    Regards
    Gopal

  4. #4
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: Dictionary Compresed database

    And to add some more... on many devices, you will need enough free heap memory to load the entire file before you call getResourceAsStream() even if you don't want to load the entire file. If you cannot guarantee this, you might want to split the data file into smaler pieces.

    Graham.

Similar Threads

  1. How to use Dictionary Database
    By prashant.sharma in forum Symbian
    Replies: 2
    Last Post: 2009-09-04, 11:36
  2. How to get database for english to arabic dictionary
    By mohit28garg in forum General Development Questions
    Replies: 1
    Last Post: 2009-09-02, 09:23
  3. Dictionary text file or database and google url
    By honest_success in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2008-03-27, 20:25
  4. where to get the dictionary database
    By raghda in forum Mobile Java General
    Replies: 6
    Last Post: 2008-02-17, 10:45
  5. database for dictionary
    By mustaq in forum Mobile Java General
    Replies: 1
    Last Post: 2007-12-07, 15:15

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×