Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1
  • 2

TOPIC:

The PDF viewer lib 10 years 5 months ago #4417

  • Omar123
  • Omar123's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
Hi,

Please where i can find a library project or a lib jar for this lib so i can integrate it with my app ? all i can find is the sample project.

Thanks

Please Log in or Create an account to join the conversation.

The PDF viewer lib 10 years 5 months ago #4420

  • Omar123
  • Omar123's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
no help ?

Please Log in or Create an account to join the conversation.

The PDF viewer lib 10 years 5 months ago #4423

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
The sample project is the one to be integrated..
If You want to use it as a library, make the sample project a library (properties->Android->check Is Library)
If you want to put it inside your project, then copy the libs content and the src content into your project)

But remember in both cases if you don't yet have the license then the professional and premium features wont work (to get them working for test change your package name to com.radaee.reader)

Please Log in or Create an account to join the conversation.

The PDF viewer lib 10 years 5 months ago #4424

  • Omar123
  • Omar123's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
it increases my app size by 5 mega bytes, no way to get rid of this additional size ?

Please Log in or Create an account to join the conversation.

The PDF viewer lib 10 years 5 months ago #4425

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
the only thing that you can remove is the folders (mips and x86) in libs

Please Log in or Create an account to join the conversation.

The PDF viewer lib 10 years 5 months ago #4440

  • Omar123
  • Omar123's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
when removing folders (mips and x86) from lib, i got this exception on the android emulator running inter image processor,

FATAL EXCEPTION: main
java.lang.UnsatisfiedLinkError: Couldn't load rdpdf: findLibrary returned null
at java.lang.Runtime.loadLibrary(Runtime.java:429)
at java.lang.System.loadLibrary(System.java:554)
at com.radaee.pdf.Global.Init(Global.java:346)
at com.TT.PDFReaderActivity.onCreate(PDFReaderActivity.java:26)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1611)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
at android.app.ActivityThread.access$1500(ActivityThread.java:117)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3683)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)

Please help

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Powered by Kunena Forum