4 ms·
One thing that is different is that there is no "shared container" - data is serialized to the Intent bundle (an IPC mechanism that basically is just a bag of s
by xpaulbettsx 12y ago
One thing that is different is that there is no "shared container" - data is serialized to the Intent bundle (an IPC mechanism that basically is just a bag of stuff), and the context that you receive the data in, is your app (with your file permissions, security keys, etc), not a tertiary one.
- lstamour 12y agoYep. Effectively, your app can't easily communicate back and forth with a third-party app using stock Android code. And there's little support for "embedding" other apps into yours, just context switching and data sharing between screens. So that's new here. Android really was designed around these full screen "activities", and created "fragments" only for use by first-party applications, or included as libraries from third-parties. The idea of running someone's app within your own... that's not supported. Heck, even Chrome doesn't have extensions. For an open platform, Android does have its limitations... ;-)
- habosa 12y agoThat's not really true. If an app wants to be able to constantly communicate with other apps it can pretty easily launch a background Service which can be bound from other activities.
- lstamour 12y agoYes, third-party devs have flexibility in defining how apps can cross-communicate. But in Apple's case, they're doing it for us. Kind of like how Google tried to nail accounts and sync for Android. I write for both platforms FYI, so while I may not get the details 100%, and leave things out, I'm pretty happy with both platforms overall, just for different reasons for each.