View Single Post
Old 06-04-2008, 03:22 PM   #76
lisak
Member
lisak doesn't litterlisak doesn't litter
 
Posts: 20
Karma: 140
Join Date: Apr 2008
Device: Sony PRS-505
Quote:
Originally Posted by =X= View Post
Okay I re-read my last post, definitaly as confuion as my first. Let me have one more go at it.

Put a function call 'this.prepareScript()' in the loadDict() method, or in the 'init()' method. This way when the app is loaded it calls the calls the 'init()' which calls then prepareScript. This way the libfskLoad.so file is copied to the /tmp directory when the application is loaded and not on the first word search.

=X=
Ah yeah, stupid me . Yes, this is clearly inefficient. Actualy, we should probably do a getFileInfo check on existence of the library in /tmp and skip the copying altogether if the file exists.

I promise from now on I'll be paying more attention to what you're trying to get across.
lisak is offline   Reply With Quote