Re: [android-developers] Why is the android jar stubbed?

2010-05-14 Thread Kostya Vasilyev
I would venture a guess that's because of having to provide the same services to native apps. Since native apps don't use Java, APIs have to be implemented at a lower level - or else would have to be duplicated for Java and native code. 13 мая, 2010 9:30 PM пользователь Manfred Moser

[android-developers] Why is the android jar stubbed?

2010-05-13 Thread Manfred Moser
Hi! I am trying to figure out a way to run unit tests with some android provided classes (e.g. org.json). I would like to be able to run these outside the emulator for performance reasons. The only way I can think of at this stage is to have a separate module that uses org.json (not the android

Re: [android-developers] Why is the android jar stubbed?

2010-05-13 Thread Mark Murphy
Manfred Moser wrote: My hunch is that the android.jar implementation classes are pretty tightly coupled to the underlying archticture and libraries (e.g. via jni to opencore, opengl and so on and son) and it would be a pretty difficult task to unbundle this all and make it run on the jvm