News for hackers. Stuff that matters.
Re:Handy Light: Tethering App Camouflaged as Flashlight by martingordon on Wednesday July 21, 2010 @10:34AM (#1535256)
iOS4 added the ability to access the Photo Library in a similar way to the Address Book. You are no longer limited to accessing one user-chosen photo at a time.

Even better/worse, you also have direct access to the camera(s), which means you don't need to prompt the user or display anything on-screen to capture photos or video.

I know Android clearly warns users about an app's capabilities. Does anyone know if that opt-in, or is it derived by some type of code analysis?

Re:Handy Light: Tethering App Camouflaged as Flashlight by vetinari on Wednesday July 21, 2010 @12:47PM (#1535710)
The required permissions are listed specificaly by app developer, so no, there is no code analysis.

However, during app runtime, only those listed capabalities are provided to app. If the app tried to use something else, it would get exception. Short of bug in the platform, there is no way getting around.