Hi Cedric,

thank you for your feedback.

One question: did you change the original SD Card? What is the total
size of your external SD Card?

A hint to go around this test is to open the apk archive, go into the /
assets directory and you will find 10 files that have around 26M.
Make a directory on your SD Card named "/tessdata/" and paste them in
this directory.
Also make 2 other directories in "tessdata/", named: "out" and "temp"

That's all. When you will restart the software, it will check if the
directories are installed and the files are present in there, and will
just let you run the software.
Please let us know how it goes, and please provide an answer for the Q
above. Thank you.

Best regards,
ITWizard

PS: the code for checking the disk space is straight forward, so it
should have no problems with storages upto TeraB of data.

    public static long GetFreeSpaceB()
    {
        try
        {
            String storageDirectory =
Environment.getExternalStorageDirectory().toString();
            StatFs stat = new StatFs(storageDirectory);
            return stat.getAvailableBlocks() * stat.getBlockSize();
        }
            catch (Exception ex)
            {
            return -1;
        }
    }




On Sep 14, 11:19 am, Cédric Berger <[email protected]> wrote:
> On Mon, Sep 7, 2009 at 10:29, Vlad Panait <[email protected]> wrote:
>
> > Hi Eric,
>
> > thank you.
>
> > Just uploaded the apk on the google-code 
> > website:http://code.google.com/p/mezzofanti/
>
> Hi,
>
> I installed the apk, and when starting it it reports :
> "Not enough space for installation on external storage -
> requested:25[MB] free:-1008[MB]"
>
> This is on a HTC Magic, and I have about 30MB free in internal memory,
> and 7183MB free on SD card.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to