I have 2 question
1- does it necessary for the method that we are calling from unity to be plcesd in the mainActivity, Or we can make any activity static and call the the function present in those activities? Also i read in different forums about this that you should change the manifest file and make your plugin activity the main activity. Is it necessary to do it or we can call without doing this.
2- my second question is what if I want to call the unity function from android application. Can i do this by inporting the unity project in android and then call the unity scriot function from the android activity.
I have already successfully called a function in unity from android. but in this i made android project the plugin. Now i wan to do it the opposite i.e making the unity project plugin in eclipse.
At i should mention that i am creating a vuforia unity project not a simple unity project.
1- does it necessary for the method that we are calling from unity to be plcesd in the mainActivity, Or we can make any activity static and call the the function present in those activities? Also i read in different forums about this that you should change the manifest file and make your plugin activity the main activity. Is it necessary to do it or we can call without doing this.
2- my second question is what if I want to call the unity function from android application. Can i do this by inporting the unity project in android and then call the unity scriot function from the android activity.
I have already successfully called a function in unity from android. but in this i made android project the plugin. Now i wan to do it the opposite i.e making the unity project plugin in eclipse.
At i should mention that i am creating a vuforia unity project not a simple unity project.