UI framework project for Cardboard. It may have some inconsistent behaviour because it's a little bit old.
Java
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
aar_file_here
app
gradle/wrapper
.gitignore
LICENSE
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

cardboard_ui_framework

UI framework project for Cardboard. It may have some inconsistent behaviour because it's a little bit old.

#Information After building my first Cardboard VR project (Video Player for Cardboard), I thought I should simplify the UI creation process in my next applications. So I rewrote the "Video Player for Cardboard" while building this UI framework. I built it to meet my needs in the application. If it doesn't meet your needs, at least send a message to me so that I will work on adding your request if I ever have time to work on this project.
The framework may have inconsistent behaviour because it was written by old me who was a little child that has little to no experience in developing frameworks. Never thought about publishing this framework, too. Though sometimes I still look at my code and say: "Wow, I have done a great job." :V

#Usage

  1. Add the *.aar file.(link)
  2. Extend CardboardUIActivity.
  3. Create a ViewContent
  4. Create some views.(TextView3D, Button3D, ...)
  5. Use ViewContent.addView(View3D)
  6. Use setCurrentContent(ViewContent)

You should check out the example usages in test_activities package to understand it better. (link) AdapterView's may work unexpectedly.
Should you have any questions, please do not hesitate to ask me.

An application made with this framework: https://play.google.com/store/apps/details?id=com.karacasoft.cardboardmediaplayer

#About building... I couldn't get it built directly with Android Studio. I had to put it inside another project then build the other project.