tomei.ninge...@gmail.com wrote: > From one activity, I want to pass a lot of data (about 1MB of > Strings).
No, you don't. You want 1MB of data to be available to multiple activities. There is a very big difference; you do NOT want to be copying 1MB of Strings. > I tried sticking it in Intent.putExtra(ArrayList<String>), but if I > put in too much data, I get "FAILED BINDER TRANSACTION". And, among other things, this would be copying 1MB of Strings once or twice. > What's the easiest way? I don't want to publish a service, or use the > file system. I really want a pipe that can write data from one end and > read it from the other end. > > I can handle the case where the starter Activity dies while the > "startee" activity is trying to read from the pipe. Use a static data member. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training in Germany, 18-22 January 2010: http://bignerdranch.com -- 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