Regards.
Hello all, I am working on a hybrid Unity/Cordova application. I have successfully deployed to iOS by changing relevant bits of the Unity generated XCode project to add Cordova as a subview to Unity's view. I change the frame size of the Cordova view based on how much I want to reveal of Unity running underneath.
For example for full page web forms I expand it to full screen, and most of the rest of the time it is a web page that only takes up the bottom 15% of the screen on top of Unity. I also have two way comms working, by a PG plugin that calls the Unity SendMessage and exposed a call to Unity that lets Cordova evaluate js.
My question is this, I am porting to Android now, and would like to know how to get the same kind of integration. I haven't worked that much with Android stuff, although I do have plenty years of experience in Java. Can someone please give me a high level of what to do?
I tried making a library which has a DroidGap derived activity and a POJO that when constructed, grabs the current Unity activity, creates an intent and starts the subclassed DroidGap activity. In Unity I tried constructing that at init time, with 2 results. If I change the AndroidManifest to include the subclassed activity, I get an error parsing the package when I try to install, and when I don't alter the android manifest, I get a failure to start.
Thank you for your time,
Andy