Android hierarchical preferences
<p>I'm writing a web service client and have the three obvious settings: url, username and password. For this the key value pairs in <a href="http://developer.android.com/reference/android/content/SharedPreferences.html" rel="nofollow">SharedPreferences</a> would be enough. But I hit a roadblock when I wanted to subscribe to more than one server instance. What I need is the three settings stored once for each server instance added by the user. Whats the best approach here? Create a custom settings activity and save it to a <a href="http://developer.android.com/training/basics/data-storage/files.html" rel="nofollow">file</a>?</p>
