Android background color white during rendering - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1
  • 2

TOPIC: Android background color white during rendering

Android background color white during rendering 2 years 10 months ago #10239

  • lucianoEpress
  • lucianoEpress's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
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

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

Android background color white during rendering 2 years 10 months ago #10249

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 18
  • Thank you received: 65
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?

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

Last edit: by Davide.

Android background color white during rendering 2 years 10 months ago #10253

  • lucianoEpress
  • lucianoEpress's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
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){
}
}

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

Android background color white during rendering 2 years 10 months ago #10258

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 18
  • Thank you received: 65
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.

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

Android background color white during rendering 2 years 10 months ago #10264

  • lucianoEpress
  • lucianoEpress's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Done,

thanks
Regards

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

Android background color white during rendering 2 years 9 months ago #10307

  • lucianoEpress
  • lucianoEpress's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
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

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

  • Page:
  • 1
  • 2
Powered by Kunena Forum