for those versions that are published, I think you could just extract
a pre-compiled version of the JNI library from the APK files. They're
ZIP files, so you might just rename them to ".zip" and extract the
library.
-hwh
2011/5/24 Prakash <prakas...@gmail.com>:
I think the "precompiled" (i.e. packaged) versions of the library can
only be expected to work with the corresponding version of DroidReader
sources.
However, the error you are facing right now probably just means that
you do not have a File manager installed that handles the pick-file
intent. I suggest to install OI File Manager - or use a file manager
of your choice to open PDF files by clicking on them in the file
manager itself. DroidReader just relies on other apps to facilitate
file browsing.
-hwh
2011/5/24 Prakash. D <prakas...@gmail.com>:
well, without debug info it's hard to tell. Check whether verbose
logging is enabled and then check the output of "adb logcat".
You're using the sources that match the version of the APK you have
extracted the .so file from, right?
-hwh
2011/5/31 Prakash. D <prakas...@gmail.com>:
No
implementation found for native
Lde/hilses/droidreader/PdfDocument;.nativeIsMemoryHog (J)I
ERROR/AndroidRuntime(784): java.lang.UnsatisfiedLinkError: nativeIsMemoryHog
ERROR/AndroidRuntime(784): at de.hilses.droidreader.PdfDocument.nativeIsMemoryHog(Native Method)
this is because the source code you are using is newer than the
compiled library. I'd suggest to check out the corresponding version,
it's tagged in Subversion. Note that this will probably work up to
version 0.5. The method "nativeIsMemoryHog" was introduced in a later
version.
-hwh
2011/5/31 Prakash. D <prakas...@gmail.com>:
My suggestion was not really to use the v0.5 APK to make the error go
away - it was a general suggestion that doesn't have anything to do
with the problem.
To make the error go away, you have to use a *source* code version
that *corresponds* to the version of the APK. To make it clear: Since
v0.5, development has continued. However, there is no released binary
version since v0.5. So you have to check out *old* sources, dating to
the v0.5 release.
Just check out *sources* of the same version as the APK you are using.
Use the subversion tags to do this:
svn checkout http://droidreader.googlecode.com/svn/tags/v0_5 droidreader-0.5
Use that source code along with the 0.5 APK's .so file.
-hwh
2011/6/1 Prakash. D <prakas...@gmail.com>: