Activity, BroadcastReceiver, ContentProvider, or Service. On Wed, Jan 12, 2011 at 2:58 PM, John Lussmyer <johnlussm...@gmail.com>wrote:
> I've been looking to see if there is a relatively simple way for 2 apps to > share a tiny bit of data. > So far, I haven't found any. > > 1) SharedPreferences - aren't shared. > 2) MemoryFile in Shared Memory - there appears to be no way to share these > between apps. > 3) Internal Storage - separate apps can't write to each others area, even > if they have the same userid. > 4) External storage - may not exist. > > So, in order to send 10 bytes of data to another app, it seems that I'll > have to create a new Activity and have it respond to an Intent(). > Is that really the only way to do this? > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en