[Foreign(Language.Java)]
public static extern(Android) void Foo(double x, long y)
@{
android.util.Log.d("ForeignCodeExample", "Well look at this: " + x + " and " + y);
@}
You would normally call any function from wherever you need it to be called, so it depends on the logic of your code. Perhaps you should elaborate on what it is that you’re trying to do.
You would normally call any function from wherever you need it to be called, so it depends on the logic of your code. Perhaps you should elaborate on what it is that you’re trying to do.
I would like, that the function would be called at start of the program, but dont’t work.