- Posts: 15
- Thank you received: 1
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Planned SDK features
Memory Problems in device with Android 5.0.2
IP: 200.94.128.217
4 years 6 months ago #15605
by jomart
Replied by jomart on topic Memory Problems in device with Android 5.0.2
This is happening when the user is paginating PDF files and after some of them the app is closing with an OOM.
IP: 111.196.242.56
4 years 6 months ago - 4 years 6 months ago #15606
by radaee
Replied by radaee on topic Memory Problems in device with Android 5.0.2
dear user:
have you invoke PDFLayoutView.Close() before activity closed?
codes of demo:
have you invoke PDFLayoutView.Close() before activity closed?
codes of demo:
Code:
@Override
protected void onDestroy() {
RadaeePluginCallback.getInstance().willCloseReader();
final PDFViewController vctrl = m_controller;
final Document doc = m_doc;
final PDFLayoutView view = m_view;
final PDFAssetStream astr = m_asset_stream;
final PDFHttpStream hstr = m_http_stream;
m_controller = null;
m_doc = null;
m_view = null;
m_asset_stream = null;
m_http_stream = null;
if(view != null) view.PDFCloseOnUI();
new Thread(){
@Override
public void run() {
if (vctrl != null) vctrl.onDestroy();
if (view != null) view.PDFClose();
if (doc != null) doc.Close();
if (astr != null) astr.close();
if (hstr != null) hstr.close();
Global.RemoveTmp();
synchronized (PDFViewAct.this) { PDFViewAct.this.notify(); }
}
}.start();
synchronized (this)
{
try { wait(1500); }
catch(Exception ignored) { }
}
super.onDestroy();
RadaeePluginCallback.getInstance().didCloseReader();
}
Last edit: 4 years 6 months ago by radaee.
IP: 111.196.242.56
4 years 6 months ago #15607
by radaee
Replied by radaee on topic Memory Problems in device with Android 5.0.2
we just found an crashed issue relate CCITT decoding.
you can update libraries from:
www.radaeetz.com/20210827_1_android.libs.zip
you can update libraries from:
www.radaeetz.com/20210827_1_android.libs.zip
IP: 200.94.128.217
4 years 6 months ago #15609
by jomart
Replied by jomart on topic Memory Problems in device with Android 5.0.2
Hello, Support.
The above code is from the new SDK version? Because we can't find that code in SDK version 3.55.5, what means CCITT decoding?, this link www.radaeetz.com/20210827_1_android.libs.zip is the newest RadaeePDF SDK?.
The above code is from the new SDK version? Because we can't find that code in SDK version 3.55.5, what means CCITT decoding?, this link www.radaeetz.com/20210827_1_android.libs.zip is the newest RadaeePDF SDK?.
IP: 111.196.242.56
4 years 6 months ago - 4 years 6 months ago #15610
by radaee
Replied by radaee on topic Memory Problems in device with Android 5.0.2
yes, please download 3.60.2
the libraries are same to link here.
do not forgot to replace codes for package "com.radaee.pdf"
CCITT decoding, mainly is 1 bit image.
the libraries are same to link here.
do not forgot to replace codes for package "com.radaee.pdf"
CCITT decoding, mainly is 1 bit image.
Last edit: 4 years 6 months ago by radaee.
Time to create page: 0.379 seconds