Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
maadani
Posts: 552
Registered: 05-04-2011

Re: createSolidTransparentBackground not working on OS 7

I'm a bit confused.

 

On one hand, you say you want "translucent popup".

 

On other hand, you say "the center area of the screen should show me a popup while rest of the area should be translucent". From this I understand that you want the below screen to be translucent (faded).

 

Can you please explain again what your requirements are and please post a screen shot?

 

I would like to help but it seems I keep missing something...

 

E.

 

 

Please use plain text.
New Contributor
iqbaldeep
Posts: 6
Registered: 12-26-2011
My Carrier: Vodafone

Re: createSolidTransparentBackground not working on OS 7

[ Edited ]

Please see the snapshot from OS 6 simulator

 If you can notice, the screen below is bit faded(obscured by the popup). this is what i want. It runs well on OS6 devices but fails on OS7.

Please use plain text.
Contributor
kashif_pucitian
Posts: 20
Registered: 03-29-2010
My Carrier: T1

Re: createSolidTransparentBackground not working on OS 7

i have used popupScreen, it's show me rest of blackberry applications from HomeScreen but i was unable to interact with other blackberry applications like messages,call when my popupscreen is shown on top of home screen.

 

i wish that user will be able to screen my small ticker popupScreen and will interact with messages,call,browser if he wants without closing my app.

 

This is the screenshot which i wants.

http://appworld.blackberry.com/webstore/content/screenshots/41242?lang=en266578.png

Please use plain text.
Contributor
kashif_pucitian
Posts: 20
Registered: 03-29-2010
My Carrier: T1

Re: createSolidTransparentBackground not working on OS 7

I have used popupScreen and following is the output.

ticker.png

 

but i was unable to interact with blacklberry native apps like messages,browser while my screen is on homescreen.

i want that user can interact with messages,browser,calnedar etc while seen my ticker application running on homescreen

Please use plain text.
Developer
maadani
Posts: 552
Registered: 05-04-2011

Re: createSolidTransparentBackground not working on OS 7

Hi @iqbaldeep

 

 

I didn't manage to reproduce this behavior but I do have a couple of suggestions for you:

 

1. Remove the override of the applyTheme function.

 

2. Try extending FullScreen and not MainScreen.

 

Hope that helps,

 

E.

Please use plain text.
Developer
maadani
Posts: 552
Registered: 05-04-2011

Re: createSolidTransparentBackground not working on OS 7

Hi @kashif_pucitian

 

 

I looked a bit into it but I have to say that I don't know any API that enables the behavior you are requesting.

 

I also tried to do something similar but ended up in the same place you got to.

 

I guess that "Breaking news" application is either:

 

1. Developed by RIM or using some hidden API which enables this behavior.

 

Or

 

2. Using the Widget API that I hadn't got the chance to investigate yet.

 

E.

 

 

 

Please use plain text.
New Contributor
iqbaldeep
Posts: 6
Registered: 12-26-2011
My Carrier: Vodafone

Re: createSolidTransparentBackground not working on OS 7

Oh Great maadani, extendind FullScreen instead of MainScreen worked for me. Such a small change and i have been scratching my head to get it working. I was out of ideas on this issue by now. Thanks loads.  :smileyvery-happy:

Please use plain text.
Contributor
kashif_pucitian
Posts: 20
Registered: 03-29-2010
My Carrier: T1

Re: createSolidTransparentBackground not working on OS 7

[ Edited ]

@maadni

 

i have solved my problem :smileyhappy: by using

 

pushGlobalScreen(new myPopupScreen(),-1,false);

 

This false boolean do the trick and enable me to interact with other blackberry apps :smileyhappy:

 

But i got struck now at some other point, i add a button on myPopupscreen which i just pushed as globalscreen.

now myPopupscreen donot get focused but other BB native apps get focused :smileysad:

Please use plain text.
Developer
maadani
Posts: 552
Registered: 05-04-2011

Re: createSolidTransparentBackground not working on OS 7

Hi @kashif_pucitian

 

 

See my answer in your new thread.

 

E.

Please use plain text.