Darrell Brogdon
asked this on February 13, 2011 21:50
When I fire up my app using Layar Player I briefly see the camera view but then it goes black and I'm not able to do anything else. Clicking the camera icon shows "Map" and "List" views but tapping either one does nothing. Also tapping the "Close" button does nothing.
I'm assuming for the latter issues I may need to set up handlers for those actions but at the very least I would expect the camera view to work out of the box.
Comments latest first
Thanks so much Nolan and Esepakuto!
Hi Darrell
I have made it work now, what I found is making sure that the requirements are added to the project e.g
you should follow our student project :
Our Wiki: https://wiki.ict.op.ac.nz/NAT-Development.MainPage.ashx
Facebook: https://www.facebook.com/pages/Nat-Development/168700693179613
Good luck with your project bro
Ok, I fixed id!
The modal view shouldn't be added in a init function (didLoad, didFinishLaunchingWithOptions, etc). Try to move the LayarPlayer code to a function called when thouch a button.
I hope this helps.
Hello,
I'm having the same issue than Darrel.
I've been following the step-by-step guide and I can't find what am I doing wrong.
Can anybody upload a working sample code?
Thanks!
Hi Nolan,
Attached is the Xcode project.
Thanks,
-D
Hi Darrell
Can you show me your code
Hi Xuan,
Yes, I'm still experiencing the blank screen. Do I need to upgrade to Xcode 4? Or is it possible to get a copy of the demo app?
-D
Hello Darrell,
I have tested your layer in our layar player demo app, the camera view works fine. Do you still have this issue ?
Best Regards,
Xuan
I'm actually testing it in a newly created Xcode project so there shouldn't be anything breaking the OpenGL context. I'm happy to provide my source if it will help you guys out.
-D
Hello Darrell,
You don't need to setup handlers for these actions.
I suspect your app runs some code that breaks the OpenGL context. Our engineers are trying to reproduce the problem. However I think it's associated to a bug that has already been fixed and will be shipped with the next release of the player.
We'll keep your updated :)
Best Regards,
Pambo
Its listed as BHM LP (bhmlp) on the My Layers page.
Hello Darrell,
Which is your layer's name?
Regards,
Pambo