BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-05-2008, 07:40 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2008
Model: 8900
OS: 4.3-4.6.1
Carrier: t-mobile
Posts: 39
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default [solved] "Not - full screen" application possible ?

Please Login to Remove!

Hi.

I am trying to create an App that will not span over full display.
Is there a way to do this in BB?

Description (example):
I would like to show a text field with background intact. So the Radio, Battery , wallpaper, etc. remain visible.

I have succeeded in creating a small (i.e., not full screen) window but the rest of the screen gets covered with white veil :(

Where should I look for more information ?

Thanks,

Myraddin

Last edited by myraddin : 09-09-2008 at 03:17 AM. Reason: More to the point
Offline  
Old 09-05-2008, 08:05 AM   #2 (permalink)
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

you have to use Ui.getUiEngine().pushGlobalScreen
it is not an easy task though.
__________________
java developer, Devinto, hamburg/germany
Offline  
Old 09-05-2008, 08:08 AM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2008
Model: 8900
OS: 4.3-4.6.1
Carrier: t-mobile
Posts: 39
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

So it is possible ?
Do you have any code snippets to get me over possible difficulties more quickly ?

Thank you for the reply.
Offline  
Old 09-05-2008, 08:10 AM   #4 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

The issue is that when your application is placed in the foreground, you are responsible for painting the entire display. You can work around this by creating a PopupScreen and pushing this screen using UiApplication.pushGlobalScreen.
Offline  
Old 09-08-2008, 03:57 AM   #5 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2008
Model: 8900
OS: 4.3-4.6.1
Carrier: t-mobile
Posts: 39
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok, I am doing this but the whole screen gets painted white (except, of course, the popup window)

any idea ?
Offline  
Old 09-08-2008, 03:58 AM   #6 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2008
Model: 8900
OS: 4.3-4.6.1
Carrier: t-mobile
Posts: 39
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

And what I need is to let the background (e.g., main screen) to remain fully visible.
Offline  
Old 09-08-2008, 05:28 AM   #7 (permalink)
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

don't create an UiApplication, just an Application.
Here is a sample:
Code:
Ui.getUiEngine().pushGlobalScreen(new PopupScreen(vfm), 1, UiEngine.GLOBAL_QUEUE);
__________________
java developer, Devinto, hamburg/germany
Offline  
Old 09-08-2008, 06:41 AM   #8 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2008
Model: 8900
OS: 4.3-4.6.1
Carrier: t-mobile
Posts: 39
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Great !
It works.

Many thanks
Offline  
Old 09-10-2008, 02:36 AM   #9 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2008
Model: 8900
OS: 4.3-4.6.1
Carrier: t-mobile
Posts: 39
Post Thanks: 0
Thanked 0 Times in 0 Posts
Smile Removing border/shadow ?

I think this is the best place to continue my inquiry regarding popup screen.

After successfully creating a popup screen (with background still visible) I am wondering if it is possible to remove its borders and shadow.

Maybe to override PopupScreen paint method? (how?)

Or is there any other way to do that?

Thanks
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

PLC ALLEN BRADLEY 1768-L43 /B Processor/Controller Compactlogix
$750.0
PLC ALLEN BRADLEY 1768-L43 /B Processor/Controller Compactlogix picturePentax EPK-700 Video Endoscopy Processor
$2250.0
Pentax EPK-700 Video Endoscopy Processor pictureA-B Allen-Bradley 1764-28BXB MicroLogix 1500 Processor Unit 1764LSP Used Working
$399.0
A-B Allen-Bradley 1764-28BXB MicroLogix 1500 Processor Unit 1764LSP Used Working pictureNew Siemens 6ES5102-8MA02 6ES5 102-8MA02 SIMATIC S5-100U CPU 102 Compact 4KB
$999.0
New Siemens 6ES5102-8MA02 6ES5 102-8MA02 SIMATIC S5-100U CPU 102 Compact 4KB pictureIEI ROCKY-3732EV INDUSTRIAL SINGLE BOARD COMPUTER SBC DUAL 1GHZ CPU 512 RAM
$499.99
IEI ROCKY-3732EV INDUSTRIAL SINGLE BOARD COMPUTER SBC DUAL 1GHZ CPU 512 RAM picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.