07-28-2009 05:40 AM
Hi All.,
Is it possible to display transparent background for paint...
For example:
I have to pushscreen for paint display... Currently it will create full screen for display..
i want that will happen in transparent background... It means,you launch your application
from your homescreen! that time paint will be painted as well home screen background
also you can view(whatever screen you have, paint display will be paint in transparent background)
How can i solve this problem...
i hope somebody can help me!!! Thanks
07-28-2009 06:47 AM
07-28-2009 07:29 AM
07-28-2009 09:14 AM
Thanks For reply,
if i used globalscreen,same fullscreen view will be displayed..
Called globalscreen from another screen A:-
1.UiApplication.getUiApplication().pushGlobalScree
Following code represent called Screen B:-
2.
public class ScreenB
{
public void paint(Graphics g)
{
}
}
like this...
you are mentioned to develop smaller screen, in this paint how can i achieve?
help me...
Thanks again.
07-28-2009 09:18 AM
extend Application, not UiApplication.
given a horizontalfieldmanager hfm this pushes a popupscreen with overwritten escape-key to close it:
Ui.getUiEngine().pushGlobalScreen(new PopupScreen(hfm) {
protected boolean keyChar(char c, int status, int time) {
if (c == Characters.ESCAPE) {
System.exit(0);
}
return super.keyChar(c, status, time);
}
}, 1, UiEngine.GLOBAL_QUEUE);
07-31-2009 07:01 AM
Hi all, please tell me the way to do this.
am having two screens one as the foreground and other as the background. how can i implement it? i extended a class from Application.
in that i defined my main(), and from its constructor i called the screen using pushglobalscreen method. but i didnt get the way. it gives a run time exception. so i need your help. please tell the way in detail.
have a nice time.
08-04-2009 03:44 AM
@Blanc, Give a look at this KB article.