|
|
Okay, so, I want access to a few packages not included in the PhoneME Personal JARs. Specifically, I want java.awt.geom and its subclasses. With a little theenking, I can probably cook up my own versions of these classes (as Angel seems to have done with SimplePoint =~ Point2D). I’d like to not re-invent any wheels, though :) |
|
|
Kollatron, where can you get these classes? In general you can add a JAR to your bundle and add a reference to it in the OSGi manifest file. You can also add it to the Export-Packages header if you want to share the class with other bundles. |
|
|
I just sort of ended up approximating it myself by looking at Sun’s API docs and implementing what I needed. The more elegant way I’m sure is to just import Sun’s version, but both work :) |
|
|
Nice! works for me :) |