• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Is there a more elegant way to implement profiles in my app?

lehowell

Lurker
Hi Everyone,

I used to be a full time programmer until I was made redundant a few years ago and then started a family rather than going back to work. I got an android phone earlier this year and started playing around writing a few simple apps to track things like little one's sleeping patterns and when they've had medicines etc. With number 2 due to appear any time now I'm trying to modify my apps so that I can track both of them in the same app using profiles. I figure I could do this using preferences by storing the different profile names as preferences and combining them with hard coded preference names for the values that need storing etc but I can't help feeling that there must be a more elegant way to do it if I just knew where in the APIs to start looking.

Any pointers gratefully received
 
Back
Top Bottom