The problem about "JpctPolyline" is that you can't create array of SimpleVector with the Project Wrapper of Alhowiriny
So one fix:
1°) With eclipse, Add this method in the class "JPolyline.java" in the Project Wrapper Source of Alhowiriny :
public SimpleVector[] essai(int dimension) {
SimpleVector[] ess=new SimpleVector[dimension];
return ess;
}
2°) With B4A, Use Pl_Line.essai(X) for create an array of X SimpleVector
Dim Pl_Line As JpctPolyline
Dim Pl_obj() As Object
Dim Pl_Tab(100) As JpctSimpleVector
Pl_obj=Pl_Line.essai(Pl_Tab.Length)
For i=0 To Pl_obj.Length-1
...
Pl_obj(i)=Pl_Tab(i)
Next
Pl_Line.update(Pl_obj)
3°) Good luck (it's not easy but it's work well)