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


WIFI Audio Voice Recorder Live Real-Time Audio Thru App | Charger & 32GB SD Card picture

WIFI Audio Voice Recorder Live Real-Time Audio Thru App | Charger & 32GB SD Card

$129.00



New Sealed AB 2080-MEMBAK-RTC Memory Backup, Data Log, Recipe ,High Accuracy RTC picture

New Sealed AB 2080-MEMBAK-RTC Memory Backup, Data Log, Recipe ,High Accuracy RTC

$286.59



Bunn Ultra-2 Main Control Board FACTORY NEW 44039.1000 38710.1000  - 013 picture

Bunn Ultra-2 Main Control Board FACTORY NEW 44039.1000 38710.1000 - 013

$180.00



2711-NM15 BRAND NEW AB Memory Card 2711 NM15  1PCS picture

2711-NM15 BRAND NEW AB Memory Card 2711 NM15 1PCS

$382.30



WiFi Audio Voice Recorder Audio Alerts Check Audio Real-Time 32GB USA Shipper picture

WiFi Audio Voice Recorder Audio Alerts Check Audio Real-Time 32GB USA Shipper

$129.00



NEW TELEMECANIQUE MEMORY CARD XBT MEM32 834553 picture

NEW TELEMECANIQUE MEMORY CARD XBT MEM32 834553

$395.00







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