Reputation: 25
I want to import the java.awt.geom.Ellipse2D class because it has got the nice collision detection function .intersect(Rectangle) Can I use that class in my Android project or won't it work because my project is gonna be an android app?
How can I use that class in my project / how can I import that class to eclipse ?(I dont want to import the whole rt.jar file from the java libs folder)
Can I legaly use that class? Has it got a cc license?
Upvotes: 0
Views: 650
Reputation: 14042
Android has its own graphics libraries (android.graphics).I think it is not possible to import Ellipse2D
and you have to try android's libraries.Also You can a check awt-android-compat project.
Upvotes: 1