Hi, When I read Preferences API implementation, I notify that we can't manage preferences as we would like to. For example, I have an application multi account based... So I would like to have one Preferences file by user. Why it is not possible to customise file name of Preferences ? If you don't want to modify Preferences class, can you at least add an abstract class above Preferences ?? Thanks !
private static Hashtable get() { > if(p == null) { > if(Storage.getInstance().exists("CN1Preferences")) { > p = > (Hashtable)Storage.getInstance().readObject("CN1Preferences"); > if(p == null) { > p = new Hashtable(); > } > } else { > p = new Hashtable(); > } > } > return p; > } > > private static void save() { > Storage.getInstance().writeObject("CN1Preferences", p); > } > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/f633b46d-2418-4709-8e40-b0eabbd39958%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.