Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 21
Registered: ‎08-11-2014
My Device: Playbook
My Carrier: NON

Loading image within child window

Hello, 

 

I am very new to Playbook development. I am using the NDK. 

 

I want to load an image within a child window and then display some test ontop of that image. But I must I also need to disable the image at given point in my code once an event occours.

 

Currently I have some code based on helloWord application that uses OPEN GL to draw stuff.

 

I am considering to use the image library. To load the image here are my question

 

My questions are 

 

  1. How do I position the image relative to the child window?
  2. How to a remove the image when it not needed from the screen

I am using the function that the helloWord application uses with open GL to put text on the screen.