Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC:

OpenStream Problem 8 years 2 months ago #10167

  • aminnouri
  • aminnouri's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
i wanna open stream a linearized byte in range link with open stream method , when i test it in android 4.x it works perfect but when i test in android 6 and 5 it does not show any thing and log st like this:
D/Total Size:: 3942405
W/art: Suspending all threads took: 9.954ms

and repeat second line
plz help me its urgent

Please Log in or Create an account to join the conversation.

OpenStream Problem 8 years 2 months ago #10180

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
Hi,
can you reproduce it with the last version of the library?
Can you reproduce it with smaller pdfs? Can you please send us the pdf link to test it?

Please Log in or Create an account to join the conversation.

OpenStream Problem 8 years 2 months ago #10186

  • aminnouri
  • aminnouri's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
i test new library no difference ,
when i create an app just stream a pdf its work but when i transfer this code to my main project its freeze on hand_val = openStream(stream, password); and dont get any log and after a while said Suspending all threads took: 6.218ms ,
its my link : 79.143.84.146/webapi/magazine/bytesinrange/67
i attach my sample app too. open open login with This email address is being protected from spambots. You need JavaScript enabled to view it. and pass:qweqwe after that select one of image and then select button with title "خواندن نشریه" after that start to stream.

plz answer fast
thanks

Please Log in or Create an account to join the conversation.

OpenStream Problem 8 years 2 months ago #10194

  • aminnouri
  • aminnouri's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
I solve the problem.
the problem is is set locale:
Locale locale = new Locale("fa");
Locale.setDefault(locale);
when i set locale to 'fa' its can not get any thing from stream.
i hope you solve this problem in next version.
thanks

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum