- Posts: 1
- 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
AvialMem:...
- johnkulova
- Topic Author
- Offline
- New Member
-
Less
More
IP: 192.168.0.71
11 years 10 months ago #6231
by johnkulova
AvialMem:... was created by johnkulova
Hi,
There is an AvialMem text on the PDF. how do I get rid of it?
Thanks
There is an AvialMem text on the PDF. how do I get rid of it?
Thanks
IP: 192.168.0.158
11 years 10 months ago #6232
by nermeen
Replied by nermeen on topic AvialMem:...
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?
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?
11 years 1 week ago #8699
by rc
Replied by rc on topic AvialMem:...
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.
It is insane to comment or manipulate in other way a library's code.
11 years 1 week ago #8703
by support
Replied by support on topic AvialMem:...
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.
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.
Time to create page: 0.406 seconds