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

More
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:
Code:
error: package com.radaee.view does not exist
Here´s the code that is causing this problem:
Code:
@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
More
IP: 111.196.246.244 6 years 1 week ago #15236 by radaee
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.
More
IP: 188.192.48.38 6 years 1 week ago #15237 by Morris
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
Code:
public class EditPDF extends Activity implements PDFReader.PDFReaderListener, OnClickListener {
So this doesn´t help me. Sorry.
More
IP: 111.196.246.244 6 years 1 week ago #15238 by radaee
so, please enter interface: PDFReader.PDFReaderListener
and then delete method OnAnnotClicked
More
IP: 188.192.48.38 6 years 1 week ago - 6 years 1 week ago #15239 by Morris
Thanks! I did so but i am getting a new error now:
Code:
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.1 KB

Is there any later version the library available maybe?
Last edit: 6 years 1 week ago by Morris. Reason: attachment added
More
IP: 111.196.246.244 6 years 1 week ago #15240 by radaee
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.
Time to create page: 0.431 seconds
Powered by Kunena Forum