View Single Post
Old 06-04-2008, 02:50 PM   #75
=X=
Wizard
=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.
 
=X='s Avatar
 
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
Quote:
Originally Posted by lisak View Post
Well, but loadDict() is called from init() function, which is in turn called everytime the dictionary starts (which is in my case even after I disconnect USB cable - don't know why...)
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=
=X= is offline   Reply With Quote