示例#1
0
 protected ConfigManager() {
   // ConfigGroup general = new ConfigGroup("defaults","general");
   appName = "defaults";
   general = null;
   bookmarks = null;
   if (FileFactory.isMicroedition()) {
     this.maxCount = 5;
   } else {
     this.maxCount = 20;
   }
 }
示例#2
0
 // disable autodiscover by default for phone
 public boolean getNoAutoDiscovery() {
   return getBooleanValue("NoAutoDiscovery", FileFactory.isMicroedition());
 }
示例#3
0
 public boolean getPlaySoundDirectly() {
   return getBooleanValue("PlaySoundDirectly", !FileFactory.isMicroedition());
 }