BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 09-05-2008, 07:40 AM   #1
myraddin
Knows Where the Search Button Is
 
Join Date: Sep 2008
Model: 8900
OS: 4.3-4.6.1
Carrier: t-mobile
Posts: 39
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
simon.hain
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
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
myraddin
Knows Where the Search Button Is
 
Join Date: Sep 2008
Model: 8900
OS: 4.3-4.6.1
Carrier: t-mobile
Posts: 39
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
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
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
myraddin
Knows Where the Search Button Is
 
Join Date: Sep 2008
Model: 8900
OS: 4.3-4.6.1
Carrier: t-mobile
Posts: 39
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
myraddin
Knows Where the Search Button Is
 
Join Date: Sep 2008
Model: 8900
OS: 4.3-4.6.1
Carrier: t-mobile
Posts: 39
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
simon.hain
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
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
myraddin
Knows Where the Search Button Is
 
Join Date: Sep 2008
Model: 8900
OS: 4.3-4.6.1
Carrier: t-mobile
Posts: 39
Default

Great !
It works.

Many thanks
Offline  
Old 09-10-2008, 02:36 AM   #9
myraddin
Knows Where the Search Button Is
 
Join Date: Sep 2008
Model: 8900
OS: 4.3-4.6.1
Carrier: t-mobile
Posts: 39
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



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Vacuum Desiccator Jar Polycarbonate Plastic Vacuum Dryer Laboratory Dessicator  picture

Vacuum Desiccator Jar Polycarbonate Plastic Vacuum Dryer Laboratory Dessicator

$56.05



Quart Vacuum Pump Oil.  Beacon-Medaes,      9129 picture

Quart Vacuum Pump Oil. Beacon-Medaes, 9129

$15.99



Appion MGAVCT 1/4 Inches MegaFlow Vacuum-Rated Valve Core Removal Tool picture

Appion MGAVCT 1/4 Inches MegaFlow Vacuum-Rated Valve Core Removal Tool

$65.08



4.5 CFM Single-Stage Rotary Vacuum Pump HVAC/Auto AC 4.5CFM 1/3HP 1/4

4.5 CFM Single-Stage Rotary Vacuum Pump HVAC/Auto AC 4.5CFM 1/3HP 1/4"ACME inlet

$29.34



DEWALT 20V Vacuum, Cordless Handheld Vacuum,HEPA,Battery Not Included (DCV501HB) picture

DEWALT 20V Vacuum, Cordless Handheld Vacuum,HEPA,Battery Not Included (DCV501HB)

$145.53



HarvestRight Oil Free Vacuum Pump - Scroll Labs SVFHR-100 - RUNS GREAT & CLEAN picture

HarvestRight Oil Free Vacuum Pump - Scroll Labs SVFHR-100 - RUNS GREAT & CLEAN

$395.00







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