Is It Possible To Build A Dependency Tree?
#1
Posted 23 February 2012 - 08:36 AM
We know that many apps depend on other apps or services in order to function. Right now, if I freeze an app I don't use, I have no way of knowing what other apps might break. A weird example is that freezing all the Yahoo apps breaks something totally unrelated. As another example, I use the Jorte calender, but I don't know how many of the native calendar services I can remove because I don't know what is being used by Jorte, if any.
If one were to look inside every app in /system/app, would it be possible to assemble a tree of dependencies that would tell us where to "prune" to get rid of the apps and services we don't want? If the answer is "yes", then how does one look inside an app? I have an eclipse development environment set up, but as of now I'm just reading basic documentation, so I don't even know if it would be useful for doing this. But if it's doable I'd be interested in looking into it, because with so many unwanted "extras" on our phones we need a better approach than trial and error.
Any advice from devs?
#2
Posted 23 February 2012 - 08:43 AM
#3
Posted 23 February 2012 - 08:46 AM
Good question! I had asked something similar; but didn't approach it with the same clarity as you....
When looking at Apps/Manage Apps, I can see when "pushing down" on a particular app that there are sometimes other services and/or processes running as a result.
I also wonder if this gives any insight to the "tree" you mention above.............
#4
Posted 23 February 2012 - 08:48 AM
larry:
Good question! I had asked something similar; but didn't approach it with the same clarity as you....
When looking at Apps/Manage Apps, I can see when "pushing down" on a particular app that there are sometimes other services and/or processes running as a result.
I also wonder if this gives any insight to the "tree" you mention above.............
What we would be looking more to do, would be decompile files and inspect them for references, or better yet magically find a list of references in an XML file somewhere =D
What you see from a running device involves additional interactions from the OS and semi-related apps (JuiceDefender adjust data/wifi based on what app is open for example) that would cloud the important data.
#5
Posted 23 February 2012 - 10:21 AM
Snives, each .apk file should include a Manifest in XML format that MAY tell us something, but I haven't had a chance to look. But there are other apps that will try to use a service without declaring it in a manifest, and those would have to be decompiled. I think. (Some dev is reading this and LMAO because he can see I don't know beans.
#6
Posted 23 February 2012 - 05:33 PM
#7
Posted 24 February 2012 - 08:10 AM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users