java.awt.Point class in Android

I would like to change java.awt.Point to some similar classes that can replace this. This is a really hard problem for me, because Dalvik VM can’t resolve AWT classes, but the given java algorithm uses it. Exact error message:

[quote]Point cannot be resolved to a type
[/quote]
I have also tried to import classes from java.util without success.

class Point
{
  int x, y;
}

Here is the source for awt.Point, which you can copy and paste to create a new class which performs all of the same functions.
http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b14/java/awt/Point.java

Android also has its own Point class: http://developer.android.com/reference/android/graphics/Point.html

It uses a lot of other classes, so I think it isn’t a good idea.

An Android app needs java.awt.Point like a fish needs a bicycle. There is no way to get AWT running on Android. If there is no way you can get rid of this class from the code snippet you are using, then you are simply using the wrong snippet of code.