- Home /
how to integrate 2 unity activity within 1 android app
Dear all,
i need to be able to include 2 Unity activities into an single android app.
1-Android app is a video player, playing "special" video stored in Streaming assets
2-first unity activity is a "normal" player with its own activity manifest settings
3-second unity is using google cardboard, with its special manifest settings
I am using android studio to build the app.
merging the manifests is a no brainer, but my problem is when i tried to include both unity project into the android studio. The classes are no brainer, but the data have same file structure, and even same names. so i 1 import is going to overwrite the other.
As i am dealing with special video files, they are shipped with the app, so i would like to share the streaming asset folder between both app. This does not seems to be a problem, but the problem is for bin/data, which are identical in structure AND names (except file size)
Is there a way to change the path where unity is reading the scene data? Is there any other way to merge 2 unity activities into 1 android app ?
Anything not clear please ask. i'm happy to provide relevant details.
Cheers.
Hi ritchy, I have the same problem. Did you find any solution to this?
Your answer
Follow this Question
Related Questions
How can I include the resources folder to my project and build it to play on android devices? 1 Answer
show Alertdialog in android 0 Answers
How can I access Native Android Classes with parameters? 1 Answer
Sprites warped/not sliced on android builds, fine in editor 0 Answers
Close unity activity and start another activity - android 0 Answers