Retrieve Point in Android

Hi I’m retrieving a POINT using Android and it’s giving me a Point(0,0) but it’s not the right info at the database. Please help me with this code:

This is the log:

This is the database:

This is the Class:

Thanks, Mario

Hi @Mario_Ghersi

Are you using your own Point class?

Regards,
Viktor

Yes the problem is the Point is retrieved Point (0,0) but at the database is the correct data.

I try the sample code and it’s not working .

Thanks, Mario

Hi I found the error the problem was using

import android.graphics.Point;

instead of

import com.backendless.persistence.Point;

That was the big problem now everything back to normal.

1 Like