Forums/Layar Player SDK/Layar Player (iPhone)

Answered

Why does the camera view go blank in Layar Player?

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

User photo
Darrell Brogdon

Thanks so much Nolan and Esepakuto!

 

May 25, 2011 08:37
User photo
nolan ratu

Hi Darrell

I have made it work now, what I found is making sure that the requirements are added to the project e.g

  • 1.2 Minimum Requirements
  • 1.3.1 Project configuration
  • 1.3.1.1 Armv7 build configuration

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

 

 

May 13, 2011 04:10
User photo
esepakuto
Ajax_loader_small Answer

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.

May 09, 2011 19:12
User photo
esepakuto

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!

May 09, 2011 13:29
User photo
Darrell Brogdon

Hi Nolan,

Attached is the Xcode project.

Thanks,

-D

May 04, 2011 05:48
User photo
nolan ratu

Hi Darrell

Can you show me your code

April 15, 2011 09:37
User photo
Darrell Brogdon

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

March 24, 2011 06:11
User photo
xuan
staff

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

March 21, 2011 10:47
User photo
Darrell Brogdon

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

February 17, 2011 06:26
User photo
pambo

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

February 16, 2011 15:41
User photo
Darrell Brogdon

Its listed as BHM LP (bhmlp) on the My Layers page.

February 15, 2011 18:51
User photo
pambo

Hello Darrell, 

Which is your layer's name?

Regards,

Pambo

February 15, 2011 14:41
Topic is closed for comments