How can i run my func in Uno?

From example

[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);
@}

And call it in Uno like this:

Foo(1.2, 12345678);

Where must i paste Foo() for calling?

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.

Uldis wrote:

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.

See this forum post for details on how to call something on app startup.