Can we start an Android Activity via a C# script

Hello,

I’d like to create an Android Intent in order to start an Android Activity using a C# script.

I’ve found this old manual article (2011) about how to integrate a Unity project into Eclipse that could be usefull but it doesn’t seem to be supported anymore.

I tried to found the updated article in the current manual but it looks like it doesn’t exist anymore.

Is there any-up-to date version of this article or just any other way to call java classes form a C# script?

Tanks,
Hugo

You don’t have to use Eclipse for this, though if you insist, Unity 4.3 can export the entire project into Eclipse, instead of building an APK.

Having said that, what you probably need is to create a plugin. To call Java classes from C#, use AndroidJavaClass and AndroidJavaObject.