AvialMem:... - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
01 Jun 2018
During last few days we're experiencing some delay in website stmp provider channel.
Some notification email from the website might not reaching containers.
We're working on a definitive solution.
Read More...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: AvialMem:...

AvialMem:... 4 years 1 month ago #6231

  • johnkulova
  • johnkulova's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Hi,

There is an AvialMem text on the PDF. how do I get rid of it?

Thanks

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

AvialMem:... 4 years 1 month ago #6232

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 834
  • Karma: 22
  • Thank you received: 65
Go to PDFReader.onDraw and remove/comment the following part:



ActivityManager mgr = (ActivityManager)getContext().getSystemService(Context.ACTIVITY_SERVICE);
ActivityManager.MemoryInfo info = new ActivityManager.MemoryInfo();
mgr.getMemoryInfo(info);
Paint paint = new Paint();
paint.setARGB(255, 255, 0, 0);
paint.setTextSize(30);
canvas.drawText( "AvialMem:" + info.availMem/(1024*1024) + " M", 20, 150, paint);

www.androidpdf.mobi/documents/faq : Development -> How to remove the 'available memory' text?

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

AvialMem:... 3 years 3 months ago #8699

  • rc
  • rc's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Why didn't you implement a simple option to disable this debug message?
It is insane to comment or manipulate in other way a library's code.

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

AvialMem:... 3 years 3 months ago #8703

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 536
  • Karma: 6
  • Thank you received: 43
You're right.
The demo project has been developed as a demo, not a pre-production application.
We're working on a new interface with a better UI and simpler way to integrate in third part apps.

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

  • Page:
  • 1
Powered by Kunena Forum