Hi Team: I am really happy to email to this list. Hope I get some help ! We really liked the way this new firefox OS works. And the code (we went through some java script code inside the B2G folder after compiling) is so well structured and binded. At some places we saw some best java script code ever.
We are really learning a lot of java script from this project. lol . ------------------------------ We are a team of two students working on Firefox OS for a small project. We are trying to create a system app to monitor the frequency of apps getting the information on the phone. Like: What app is accessing what kind of service in the background at what time. Did so far: We compiled the OS from source, located the permissionManager.js file and found that it is the one showing the popup when the app actually wants the permission to access any service (ex: location, contacts etc.). We first thought we can get the information of the app(s) from here. But then we saw, when the app actually requests the permission and when user selects "remember" option at this prompt - the app will just be using the service in the background from next time. So we found an option in settings that actually manages the app permissions (ask,deny,allow) So basically, here the apps shows "allow" (if the user enables the remember option at the prompt screen) Question is: Do we have to write our piece code in every service (like location, Contacts etc..) to monitor what app using that service how many times? if yes, where are the code for these services saved in B2G? We looked in gaia & gecho but no luck Can someone please provide some guidance on how to proceed. Thank you so much. And, sorry if I posted/emailed this to the wrong team. My Bad ! Thank you.
_______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
