View Single Post
Old 07-24-2011, 04:55 PM   #31
mobad
Enthusiast
mobad began at the beginning.
 
Posts: 27
Karma: 23
Join Date: Jan 2011
Device: Kindle 3 WiFi
OK, I've optimized my open book detection just about as much as I can with this method.
The only faster way using file descriptors would be to assume that the file descriptor will stay constant even after it is removed, I don't think that's a valid assumption though.

Flash disabler
http://pastebin.com/FvVppgEe

Progress bar remover
http://pastebin.com/aMD48vNv

If anyone has any ideas/improvements/suggestions, please share.

Last edited by mobad; 07-24-2011 at 10:59 PM.
mobad is offline   Reply With Quote