Jean If this is causing a "Force Close" then you should append the "adb logcat" output to your post. It should have an Exception of some sort in it. I am guessing from your code you may have a NullPointerException or URIException or something similar.
Chris On Jan 31, 2:33 pm, ZEIL Jean-Julien <jeanjuliense...@gmail.com> wrote: > Hello! > > I've been trying to learn a bit how to program on android. > > I want to draw different things depending on the settings the user > choose. > While I was able to create a setting file and save it, I have trouble > reading other files in my assets folder. > > Those file simple contains information about what should be displayed. > > The problem is, as read over and over again on the internet, I'm > using "getAssets().open(m_Path);" > Which crash. > I tried separating and found out that simply calling getAssets() > crashes everything. > > I'm not familliar with eclipse yet and I can't seems to find anything > of help in either "output", "LogCat" or anything. Still I see it > crashes for a null pointer. > > The class in which I call this extends my mainActivity (I got only onw > for now anyway) > > Is there something missing in my manifest, project properties or > anything similar preventing me from calling getAssets()? > > Thank you. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en