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
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 :
I solve the problem.
the problem is is set locale:
Locale locale = new Locale("fa");
when i set locale to 'fa' its can not get any thing from stream.
i hope you solve this problem in next version.