Java/Android class dependencies -


so i've inherited rather large android project. i'm trying pull out parts of app no longer needed. trouble is, there isn't can remove doesn't cause hundreds of compilation errors. every class references many other classes it's impossible remove anything. example, if delete activiy class, every other activity in project gets errors.

this bad practice right? never thought before. classes need reference other classes (controllers -> views), not point every class intertwined, right?

check out proguard. can configure in way, used classes gets compiled.

"it shrinks, optimizes, , obfuscates code removing unused code , renaming classes, fields, , methods semantically obscure names. result smaller sized .apk file more difficult reverse engineer."

http://developer.android.com/tools/help/proguard.html


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -