J junaidahmed Well-Known Member Licensed User Longtime User Oct 24, 2016 #1 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 177.6 KB · Views: 638
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.....
J junaidahmed Well-Known Member Licensed User Longtime User Oct 25, 2016 #21 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
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....
Erel B4X founder Staff member Licensed User Longtime User Oct 25, 2016 #22 As written 3 times in this thread you need to test this library on a real device. It will not work on the emulator. Upvote 0
As written 3 times in this thread you need to test this library on a real device. It will not work on the emulator.
J junaidahmed Well-Known Member Licensed User Longtime User Oct 25, 2016 #23 Yes Erel, I have test this library in real device also ............ Do you need any screenshot from real device ???? Upvote 0
Yes Erel, I have test this library in real device also ............ Do you need any screenshot from real device ????
Erel B4X founder Staff member Licensed User Longtime User Oct 25, 2016 #24 You need to post the logs from the real device. Upvote 0
J junaidahmed Well-Known Member Licensed User Longtime User Oct 25, 2016 #25 How can I take the Log from real device ???? Upvote 0
DonManfred Expert Licensed User Longtime User Oct 25, 2016 #26 junaidahmed said: Did u Install "PdfViewerEx.apk" from above link ???? Click to expand... yes junaidahmed said: I don't know why its not working in my device ??? Click to expand... 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 said: Did u Install "PdfViewerEx.apk" from above link ???? Click to expand... yes junaidahmed said: I don't know why its not working in my device ??? Click to expand... 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.
Erel B4X founder Staff member Licensed User Longtime User Oct 25, 2016 #27 junaidahmed said: How can I take the Log from real device ???? Click to expand... Run your app in debug mode. If there are no logs then you will need to switch to USB debug mode instead of B4A-Bridge. Upvote 0
junaidahmed said: How can I take the Log from real device ???? Click to expand... Run your app in debug mode. If there are no logs then you will need to switch to USB debug mode instead of B4A-Bridge.
J junaidahmed Well-Known Member Licensed User Longtime User Oct 25, 2016 #28 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
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.
Erel B4X founder Staff member Licensed User Longtime User Oct 25, 2016 #29 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
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.