- Posts: 4
- 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
Android background color white during rendering
- lucianoEpress
- Topic Author
- Offline
- New Member
-
Less
More
10 years 1 month ago #10239
by lucianoEpress
Android background color white during rendering was created by lucianoEpress
HI Radaeepdf team,
i'm using the sdk android and during pdf rendering,
I notice a white background on the tiles drawing until the rendering is complete.
Is it possible to set a trasparent background on the tile ?
Thanks
Regards
i'm using the sdk android and during pdf rendering,
I notice a white background on the tiles drawing until the rendering is complete.
Is it possible to set a trasparent background on the tile ?
Thanks
Regards
10 years 1 month ago - 10 years 1 month ago #10249
by Davide
Replied by Davide on topic Android background color white during rendering
Hi,
can you reproduce this with all the pdfs? Can you please send us one of these pdfs to test it?
Can you please tell us the steps to reproduce that issue?
can you reproduce this with all the pdfs? Can you please send us one of these pdfs to test it?
Can you please tell us the steps to reproduce that issue?
Last edit: 10 years 1 month ago by Davide.
- lucianoEpress
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
10 years 1 month ago #10253
by lucianoEpress
Replied by lucianoEpress on topic Android background color white during rendering
Hi,
I attach a pdf file that I am using.
the code i wrote is (in acticity onResume())
you have to copy 01.pdf in download device directory.
you can see the same problem with radaeePdfViewer in Play Store.
thanks
@Override
protected void onResume() {
rel1 = (RelativeLayout) findViewById(R.id.relativeLayoutRoot);
Global.Init(this);
Global.render_mode = 1;
Global.zoomLevel = 3;
mTest_RADAEEPDF3 = new Test_RADAEEPDF3();
mRdee_View = mTest_RADAEEPDF3.Get_mview();
rel1.addView(mRdee_View);
mRdee_View.bringToFront();
mTest_RADAEEPDF3.OpenDocument();
}
// Private class to use PDFLayoutView
private class Test_RADAEEPDF3 implements PDFLayoutView.PDFLayoutListener {
PDFLayoutView m_view;
Document m_doc;
public Test_RADAEEPDF3() {
m_view = new PDFLayoutView(mContext);
m_doc = new Document();
}
public void OpenDocument(int iInd) {
String sFileNameInput = Environment.getExternalStorageDirectory().toString() + "/download/" +
"01.pdf";
int ret = m_doc.Open(sFileNameInput, "");
if (ret == 0) {
m_view.PDFOpen(m_doc, this);
//I need setview = 4
m_view.PDFSetView(4);
}
}
public PDFLayoutView Get_mview() {
return m_view;
}
public void Close_mview() {
if(m_view != null) m_view.PDFClose();
if(m_doc != null) m_doc.Close();
}
@Override
public void OnPDFOpenURI(String uri) {
}
@Override
public void OnPDFPageModified(int pageno) {
}
@Override
public void OnPDFPageChanged(int pageno){
}
@Override
public void OnPDFAnnotTapped(VPage vpage, Page.Annotation annot){
}
@Override
public void OnPDFBlankTapped(){
}
@Override
public void OnPDFSelectEnd(String text){
}
@Override
public void OnPDFOpenJS(String js){
}
@Override
public void OnPDFOpenMovie(String path){
}
@Override
public void OnPDFOpenSound(int[] paras, String path){
}
@Override
public void OnPDFOpenAttachment(String path){
}
@Override
public void OnPDFOpen3D(String path){
}
}
I attach a pdf file that I am using.
the code i wrote is (in acticity onResume())
you have to copy 01.pdf in download device directory.
you can see the same problem with radaeePdfViewer in Play Store.
thanks
@Override
protected void onResume() {
rel1 = (RelativeLayout) findViewById(R.id.relativeLayoutRoot);
Global.Init(this);
Global.render_mode = 1;
Global.zoomLevel = 3;
mTest_RADAEEPDF3 = new Test_RADAEEPDF3();
mRdee_View = mTest_RADAEEPDF3.Get_mview();
rel1.addView(mRdee_View);
mRdee_View.bringToFront();
mTest_RADAEEPDF3.OpenDocument();
}
// Private class to use PDFLayoutView
private class Test_RADAEEPDF3 implements PDFLayoutView.PDFLayoutListener {
PDFLayoutView m_view;
Document m_doc;
public Test_RADAEEPDF3() {
m_view = new PDFLayoutView(mContext);
m_doc = new Document();
}
public void OpenDocument(int iInd) {
String sFileNameInput = Environment.getExternalStorageDirectory().toString() + "/download/" +
"01.pdf";
int ret = m_doc.Open(sFileNameInput, "");
if (ret == 0) {
m_view.PDFOpen(m_doc, this);
//I need setview = 4
m_view.PDFSetView(4);
}
}
public PDFLayoutView Get_mview() {
return m_view;
}
public void Close_mview() {
if(m_view != null) m_view.PDFClose();
if(m_doc != null) m_doc.Close();
}
@Override
public void OnPDFOpenURI(String uri) {
}
@Override
public void OnPDFPageModified(int pageno) {
}
@Override
public void OnPDFPageChanged(int pageno){
}
@Override
public void OnPDFAnnotTapped(VPage vpage, Page.Annotation annot){
}
@Override
public void OnPDFBlankTapped(){
}
@Override
public void OnPDFSelectEnd(String text){
}
@Override
public void OnPDFOpenJS(String js){
}
@Override
public void OnPDFOpenMovie(String path){
}
@Override
public void OnPDFOpenSound(int[] paras, String path){
}
@Override
public void OnPDFOpenAttachment(String path){
}
@Override
public void OnPDFOpen3D(String path){
}
}
10 years 1 month ago #10258
by Davide
Replied by Davide on topic Android background color white during rendering
Hi,
can you reproduce this issue with the demo project?
Please open a ticket here www.radaeepdf.com/support/tickets and attach the pdf to the ticket.
can you reproduce this issue with the demo project?
Please open a ticket here www.radaeepdf.com/support/tickets and attach the pdf to the ticket.
- lucianoEpress
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
10 years 1 month ago #10264
by lucianoEpress
Replied by lucianoEpress on topic Android background color white during rendering
Done,
thanks
Regards
thanks
Regards
- lucianoEpress
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
10 years 1 month ago #10307
by lucianoEpress
Replied by lucianoEpress on topic Android background color white during rendering
HI Radaeepdf team,
I would like to correct my question from
"Is it possible to set a trasparent background on the tile ?"
to
"Is it possible to set a background on the tile like pdf backgroundcolor?"
Regards
I would like to correct my question from
"Is it possible to set a trasparent background on the tile ?"
to
"Is it possible to set a background on the tile like pdf backgroundcolor?"
Regards
Time to create page: 0.420 seconds