- Posts: 6
- Thank you received: 0
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
OpenStream Problem
10 years 7 months ago #10167
by aminnouri
OpenStream Problem was created by aminnouri
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
D/Total Size:: 3942405
W/art: Suspending all threads took: 9.954ms
and repeat second line
plz help me its urgent
10 years 7 months ago #10180
by Davide
Replied by Davide on topic OpenStream Problem
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?
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?
10 years 7 months ago #10186
by aminnouri
Replied by aminnouri on topic OpenStream Problem
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 [email protected] and pass:qweqwe after that select one of image and then select button with title "خواندن نشریه" after that start to stream.
plz answer fast
thanks
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 [email protected] and pass:qweqwe after that select one of image and then select button with title "خواندن نشریه" after that start to stream.
plz answer fast
thanks
10 years 7 months ago #10194
by aminnouri
Replied by aminnouri on topic OpenStream Problem
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
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
Time to create page: 0.394 seconds