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

how to view the pdf file of sdcard path

More
10 years 8 months ago #10006 by ankur123987
Hi guys ,please help me . I am using pdfviewer demo by radaeepdf . in sample gridview have onitemclicklistener untill the finding of pdf files .. but i directly want to open the file just passing the path of file . please reply me as soon as possible
More
10 years 8 months ago #10007 by Davide
Hi,
you should use:
Code:
m_doc.Open( pdf_path, password );

You can find an example in onCreate method of PDFReaderAct.
More
10 years 8 months ago #10008 by ankur123987
Thank you so much Davide . i use this code only doc.Open( getIntent().getStringExtra("path"), null );
m_view.PDFOpen(doc, this);
but i got following error stack
java.lang.NoClassDefFoundError: com.radaee.viewlib.R$raw
at com.radaee.pdf.Global.Init(Global.java:366)
at com.radaee.reader.PDFNavAct.onCreate(PDFNavAct.java:37)
at android.app.Activity.performCreate(Activity.java:5133)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2175)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)
at android.app.ActivityThread.access$600(ActivityThread.java:141)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5103)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)

basically its terminate at Global.Init( this );
please help me..
More
10 years 8 months ago #10010 by Davide
Hi,
it seems that you missed to import some classes.

Can you reproduce it with the demo project?
I suggest you to check this guide: www.radaeepdf.com/support/knowledge-base...component&kbartid=41
More
10 years 8 months ago #10011 by support
The KB page was broken.
We fixed it some hours ago.
Time to create page: 0.412 seconds
Powered by Kunena Forum