Mgration of a project from Eclipse Kepler to Android Studio - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC:

Mgration of a project from Eclipse Kepler to Android Studio 1 week 1 day ago #15235

  • Morris
  • Morris's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Hello there,
i want to migrate an old project from Eclipse Kepler to Android Studio which is using the pDFReader library.
Everything worked fine except one issue:
error: package com.radaee.view does not exist
Here´s the code that is causing this problem:
@Override
    public void OnAnnotClicked(com.radaee.view.PDFVPage vpage, Page.Annotation annot) {

    }
Seems like the package PDFVPage doesn´t exist anymore.
I am glad for any help!

Morris

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

Mgration of a project from Eclipse Kepler to Android Studio 1 week 1 day ago #15236

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1002
  • Karma: 43
  • Thank you received: 49
you can copy implement codes of this function, and then delete whole this function.
the java shall report error, if this function is required for callback.
java can generate new function if this function is required, and then you can paste copied codes to new function.

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

Mgration of a project from Eclipse Kepler to Android Studio 1 week 1 day ago #15237

  • Morris
  • Morris's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
I don´t need this method so i don´t hava any code inside the method.
When i delete this method Android Studio/Java tells me to implement it again which leads to the same error again because my class implements the PDFReader.PDFReaderListener
public class EditPDF extends Activity implements PDFReader.PDFReaderListener, OnClickListener {
So this doesn´t help me. Sorry.

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

Mgration of a project from Eclipse Kepler to Android Studio 1 week 1 day ago #15238

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1002
  • Karma: 43
  • Thank you received: 49
so, please enter interface: PDFReader.PDFReaderListener
and then delete method OnAnnotClicked

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

Mgration of a project from Eclipse Kepler to Android Studio 1 week 1 day ago #15239

  • Morris
  • Morris's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Thanks! I did so but i am getting a new error now:
error: cannot access PDFView
You can find the src folder of my pDFReader library in the attachments (no package named "view" in it):

File Attachment:

File Name: PDFReader.zip
File Size: 70 KB

Is there any later version the library available maybe?
Attachments:

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

Last edit: by Morris. Reason: attachment added

Mgration of a project from Eclipse Kepler to Android Studio 1 week 1 day ago #15240

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1002
  • Karma: 43
  • Thank you received: 49
dear user:
may you try our last version of demo?
because, you are using very old java class that we have deprecated years ago.
and we won't support these old class ever.
the new demo using opengl to tiling pages, and support very large scale value.
you need to do shall be:
1. keep your app id,
2. save your key,
3. then restore the key in new project.
4. develop some new feature based on new project.
the new class shall cover all features of PDFView class.

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

  • Page:
  • 1
Powered by Kunena Forum