Android Question Application Crash for PDF Viewer

junaidahmed

Well-Known Member
Licensed User
Longtime User
I have downloaded Basic4Android pdfviewer example,When I run this application in "Emulator",its gets crash.Please check attached file and advise how to solve the problem.....
 

Attachments

  • pdfviewe_error.png
    pdfviewe_error.png
    177.6 KB · Views: 372

junaidahmed

Well-Known Member
Licensed User
Longtime User
Did u Install "PdfViewerEx.apk" from above link ????

I don't know why its not working in my device ???

Pls help me how to resolve the problem....
 
Upvote 0

junaidahmed

Well-Known Member
Licensed User
Longtime User
Yes Erel,

I have test this library in real device also ............

Do you need any screenshot from real device ????
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Did u Install "PdfViewerEx.apk" from above link ????
yes
I don't know why its not working in my device ???
without posting the stack-trace we do not know either

It may be possible that the lib is not compatible with your device. The included native library is a few years old and is not maintained anymore.
You need to find another solution for you in this case. Using a pdf-reader on your device and let this reader show the pdf then for example.
 
Upvote 0

junaidahmed

Well-Known Member
Licensed User
Longtime User
ok I understood "Run your app in debug mode",
but still I am unclear that "If there are no logs then you will need to switch to USB debug mode instead of B4A-Bridge"...

Pls advise.
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
There are two ways to connect to devices: B4A-Bridge and USB debug mode (ADB). See this tutorial: https://www.b4x.com/android/forum/threads/7978/#content

B4A-Bridge can only show the logs in debug mode. Some errors happen before the debugger can connect so it is only possible to see those errors in USB debug mode.
 
Upvote 0
Top