-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
method createScene2() does not work on Android #34
Comments
@slackmoehrle is the new doc uses the same sample repo? |
We havent updated the samples in a long time but yes the docs sample code is based upon this repo |
Yep, i think it is needed if new docs use it. |
I agree that we should update it if it is used in new docs. |
OK. I will do it in the next few days. I have been working on the discourse upgrading. |
@mehdighaharian can you tell me which branch you are using? |
@slackmoehrle |
@mehdighaharian I think v3.16 should work fine on Android. I think I am going to update the v3.16 branch to use Android Studio though. |
@slackmoehrle I will test v3.16 on my Android devices as soon as possible. I will post the result here. |
I downloaded the branch v3.16 and copied the codes into the project and compiled with android-25. |
In Chapter5.cpp there is a call to createScene2() inside a callback method:
programmers-guide-samples/cpp/src/chapter5/Chapter5.cpp
Line 53 in 4449554
I ran this Chapter5.cpp without any problem on Linux (Xubuntu 16.04), but it doesn't work on Android.
Actually, on Android the scene1 showed but when I tap on "Make A New Scene" the app crashes!
I tested it on three devices: HTC one X9 (API 23) , HTC one XL (API 17) and Nexux 5x (API 26). All of them crashed when I tapped on "Make A New Scene" in chapter5.
What is it for?
The text was updated successfully, but these errors were encountered: