Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror

Comment Re:Fine grained options (Score 2) 277

The J2ME security model did this. You would start a photo-manager midlet and you would have to authorize access in a nagging pop-up form for each single directory in the path to the photo you were going to see and then for the photo file itself. This was totally horrendous, and I prefer the security model in Android to that.

Moreover, it's difficult to make any automated system *understand* what a program is actually doing. If you just give permission to an app for connecting to a specific server for downloading the weather forecast, it could be using that same connection to funnel any data (for which it has access) away.

The more interesting approach to actually controlling access in a useful way is the way in which intents work in Android, actually. See Locale, for instance, for which you can get plugins downloaded as independent apps. The main program and the plugins communicate via a well-defined intent-based protocol. Each plugin will get different (and thus limited) permissions, as they need. The location plugin will access the GPS, a messaging one might need SMS or account access. You can enable/disable/install/uninstall them as needed, providing fine and sensible control.

To some extent, the same thing happens with the share menu, at a much more coarse level.

Comment Re:rooted phones (Score 2) 107

If you have rooted the device, you can intercept any communications through any of the operating system provided services, either by using the monitoring facilities it provides or by modifying it. You don't need to sniff the packets 'on air', and thus you can pick the traffic for bluetooth too.

If you are worried that sensitive data is transmitted over a network link... uhm... then the software should be encrypting the data.

I don't get what's your worry, anyway, other than people reverse-engineering Microsoft's protocols and creating alternative SmartGlass clients.

Comment Re:But how do you quit? (Score 1) 286

Most of the time Android activity screens just "stack" as they are being opened. An example with the GMail client would be InBox -> Display specific message -> Reply.

Usually, when you press the back button, you just cancel the top activity screen, popping it out of the stack. For instance, you could cancel replying to a message by pressing the back button, so that you get back to having the display specific message activity on top.

When backing/popping the last activity, the application is not needed anymore and usually its execution ends, taking you back to either the home screen or the "other" application that launched it (for instance, by choosing to share a photo via GMail from the Gallery application, you got a Gallery stack starting a nested GMail stack). This is different from pressing the home button, that just puts the activity stack aside (it's still open in the background while memory allows), so that you can "start another stack", and then switching back to the previous stack afterwards by holding home and then selecting the previous stack from the list of "currently active" stacks.

Comment Re:But how do you quit? (Score 1) 286

See this blog post to understand why the notification icon is needed:

Services can further negotiate this behavior by requesting they be considered "foreground." This places the service in a "please don't kill" state, but requires that it include a notification to the user about it actively running. This is useful for services such as background music playback or car navigation, which the user is actively aware of; when you're playing music and using the browser, you can always see the music-playing glyph in the status bar. Android won't try to kill these services, but as a trade-off, ensures the user knows about them and is able to explicitly stop them when desired.

So if you want it to keep running as a background service to be able to receive incoming calls, this is the standard procedure. And I seriously think Android notifications are one of the best thought parts of the system.

Another thing is the inability to leave the application screen by pressing the back button (you can use the home button though, but that's so un-androidy...) You can force the application to quit completely via a menu option in one of the screens.

Slashdot Top Deals

You should never bet against anything in science at odds of more than about 10^12 to 1. -- Ernest Rutherford

Working...