Neodatis very slow on Android device and emulator
Brought to you by:
olivier_smadja
I have a fairly small database and for some reason retrievals from that database are 5-6 times slower when running on android 2.0.1. Running this code takes about fifteen seconds in the Android emulator and 5-7 seconds on the Android device. It takes less than two seconds in Eclipse. Any ideas?
public Collection<Category> getCategories() {
Objects<Category> categories = listDB.getObjects(Category.class);
return categories;
}
The database has 7 objects in the Category class. Any thoughts? I don't want to scrap Neodatis from my project but I will if I can't get it to perform.