0

I'm coding an app that uses configurable profiles for different user preferences: many different users will use the same app on the same device.

The problem is that I can't use Android's PreferenceActivity because it just support one user per application.

Is there an easy way to generate the user interface for configuration, or I have to code everything from 0, including the user interface?

Thank you!

Rishabh Srivastava
  • 3,683
  • 2
  • 30
  • 58
gskbyte
  • 467
  • 3
  • 13

1 Answers1

0

many different users will use the same app on the same device

That seems unusual.

The problem is that I can't use Android's PreferenceActivity because it just support one user per application.

You might be able to create your own subclass of PreferenceManager that uses a different file per person, then return an instance of that in your PreferenceActivity in getPreferenceManager().

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
  • It could be an app in a vertical...like perhaps something for a worker in a warehouse. In which case people across different shifts would use the same device. – Mark Mascolino Apr 12 '10 at 04:43