Reply |
DisclaimerNote that the views on this page are not intended to offend. If they do, you might be taking the content too seriously.
Twitter Updates
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 2D OpenGL Based Game Library ![]() 2D Game Physics Engine in Java Game Developers How about a list of the developers doing interesting things in java gaming. Game Dev Resources Looking for Game Development Resources? Check out the List! |
Hi Kevin,
Hi Kevin,
Re: Resource handling - Have you tried using Class.getResourceAsStream() etc? If these still work as per JDK, then it should be possible to use 'normal' java resource techniques in Android.
Kev: Yes, I've tried them. I've also tried the Sun recommended, and probably more appropriate, Thread.currentThread().getContextClassLoader().getResourceAsStream() which would give Android a chance to provide a class loader that could access resources - no luck. There's also some Android APIs for accessing class loaders, these don't work for resources either. As I mentioned in the article I believe it's because classloading is working against the DEX file that container the VM specific class files but can't contain resources.