i am doing one voice recognition project.Unity doesn’t have this property.that’s why i wrote a code in android through eclipse.i want to import android plugins(i wrote a code in eclipse).How to import that plugin in unity3d? Android pluygin cannot use directly in C# code.i followed these steps also file:///Applications/Unity/Unity.app/Contents/Documentation/Documentation/Manual/Plugins.html#AndroidPlugins also.send me how to use android plugins please.
thank you.
That link doesn't point anywhere. If you have compiled the plugin to a DLL-file, it's possible you can call its functions by declaring some functions with the extern keyword, but that's my best guess, I don't truly know. (Which is why this is a comment, not an answer)
– CHPedersenhi Christian i am importing dll file but i got error that's why i am post this my friend. [DllImport ("MyGame")] public static extern void start(); //[DllImport ("MicInput")] //public static extern void updateDisplay(); [DllImport ("MyGame")] public static extern void stop(); [DllImport ("MyGame")] public static extern double getAmplitude(); [DllImport ("MyGame")] public static extern double getAmplitudeEMA(); this is my import of dll from eclipse.
– anon985828751. Stop posting the same question multiple times 2. If you write that stuff in Java, you have to use the JNI Functions described on the same page http://unity3d.com/support/documentation/Manual/Plugins.html (scroll down to JNI stuff). DllImports are only for *.dlls (Windows/.NET/Mono libraries) and *.so (linux libraries)
– Tsengsorry Tseng i need help that's why i am posting i am the new developer of unity3d.i can't post again.http://unity3d.com/support/documentation/Manual/Plugins.html i follow all the information in this page but i am not understand.And how to test the unity3d to eclips connected or not?Once again i am sorry for the post.If You know how to get the plugin post me.
– anon98582875