On Wed, Jan 12, 2011 at 8:35 PM, John Lussmyer <[email protected]> wrote: > You can't specify a path in the call to openFileOutput().
Don't use openFileOutput(), then. > Hard to specify another apps directory if you can't use path separators. You can use path separators in Android. You just cannot use path separators in openFileOutput(). That's one reason why I don't use openFileOutput(). Just use standard Java I/O. >> There may be other options depending on what the "10 bytes of data" >> actually is, but those should get you started. >> > > 10 bytes of data is 10 bytes of data. Not really, but you are certainly welcome to your opinion. > App X just needs to send it to App Y when the user does certain actions. Use a broadcast Intent and a BroadcastReceiver. Or any of the approaches I mentioned earlier. > A SharedPreference would have been perfect - but the "Shared" prefix seems > to have a different meaning than what you would think. They are shared among components in an app. They are not shared between applications, between devices, between neighboring countries, or between consenting adults. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

