Source.
What some people may or may not know, is that you can actually "grab" a standard library class and use it, by obtaining the source code of a specific Java or Javax library class, and place it into your Android project.
There are some classes when about to be compiled, the source files may contain errors, thus unable to make it work in Android.
The link I have provided says, you can import a Vector Math class into your Android project, and , by my guess, you could make use of its functionality in OpenGL ES related features, without re-inventing some of the wheels.
I wondered if it's possible to make some other useful library classes taken from Java or Javax, put them in the project(s), and get pleasant results from them. This is probably a game changer, right there.
Small non-trivial thing: Apparently you can do this to your advantage.
Started by tom_mai78101, Sep 10 2012 07:23 AM
2 replies to this topic
Ad:
#3 Members - Reputation: 285
Posted 12 September 2012 - 02:12 AM
But the downside of this is, you can't be entirely sure the library(-ies) that you have dropped is compatible with Android's Dalvik virtual machine, such as the Color class. I think it may warrant something like a notice, or disclaimer for some top-notch libraries mentioning that they may or may not be compatible will all Android devices (including devices that's not well-known to consumers).
It's my opinion.
It's my opinion.






