Hello
I am creating an app that gets 600 HTML files from the assets file
when I try to get a the list of files using the AssetManager list()
the the application terminates. When I debug and I try to step threw
it The application just stops I don't get no errors in the LogCat. I
also noticed that when I remove some files in the assets the
application works fine.
This only happens on android 2.1 and android 2.2 but when I run it on
2.3 it works fine
here is part of my code
AssetManager assets = getApplicationContext().getAssets();
String[] list;
try {
list = assets.list("cantos");
} catch (IOException e) {
// TODO Auto-generated catch block
Log.d("IO",e.getMessage());
}
Could I be overflowing the heap? I really don't know what is going on
hope you guys can help
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en