- Posts: 3
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about Android development and PDF
Mgration of a project from Eclipse Kepler to Android Studio
IP: 188.192.48.38
6 years 1 week ago #15235
by Morris
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:
Here´s the code that is causing this problem:
Seems like the package PDFVPage doesn´t exist anymore.
I am glad for any help!
Morris
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:
Code:
error: package com.radaee.view does not exist
Code:
@Override
public void OnAnnotClicked(com.radaee.view.PDFVPage vpage, Page.Annotation annot) {
}
I am glad for any help!
Morris
IP: 111.196.246.244
6 years 1 week ago #15236
by radaee
Replied by radaee on topic Mgration of a project from Eclipse Kepler to Android Studio
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.
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.
IP: 188.192.48.38
6 years 1 week ago #15237
by Morris
Replied by Morris on topic Mgration of a project from Eclipse Kepler to Android Studio
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
So this doesn´t help me. Sorry.
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
Code:
public class EditPDF extends Activity implements PDFReader.PDFReaderListener, OnClickListener {
IP: 111.196.246.244
6 years 1 week ago #15238
by radaee
Replied by radaee on topic Mgration of a project from Eclipse Kepler to Android Studio
so, please enter interface: PDFReader.PDFReaderListener
and then delete method OnAnnotClicked
and then delete method OnAnnotClicked
IP: 188.192.48.38
6 years 1 week ago - 6 years 1 week ago #15239
by Morris
Replied by Morris on topic Mgration of a project from Eclipse Kepler to Android Studio
Thanks! I did so but i am getting a new error now:
You can find the src folder of my pDFReader library in the attachments (no package named "view" in it):
Is there any later version the library available maybe?
Code:
error: cannot access PDFView
Is there any later version the library available maybe?
Last edit: 6 years 1 week ago by Morris. Reason: attachment added
IP: 111.196.246.244
6 years 1 week ago #15240
by radaee
Replied by radaee on topic Mgration of a project from Eclipse Kepler to Android Studio
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.
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.
Time to create page: 0.431 seconds