Hello,
I implemented the basic skeleton of profiles for AnkiDroid over the last few days.
This is not really something for users, but it can be used as a basis for actually implementing the feature.
It turns out to be quite simple actually :)
What I ended up doing is creating a script that changes the prefs file to point to different locations.
With that done and having different prefs point to different places in the SD card, profiles are basically working.
Currently, I use a shell script to move around the prefs files and restarting Anki (my phone is rooted).
The decks are stored under different directories within the external storage, and switching the preferences
is sufficient to switch profiles.
I think I will try to get this working for 2.1. It is very helpful for me because I often switch profiles on the
desktop to test changes and I do not want my real collection to be affected.
I filed an enhancement request for this and assigned it to myself:
Flavio