Application in background problem

Login to reply to this topic.
Tue, 2006-04-18 11:14
Joined: 2005-06-01
Forum posts: 76
Hi All,

My application does lot of things related to network. Sending and receiving lot of data thrg sockets. I have few querries ..

1. If I move the application to background at the startup( Launch of my app ), the app is freezed at splash screen. I do lot of image loading at the time of splash screen( nearly 150 PNG images ). Now what is causing my images not to get loaded if my app is in background. If I bring it to foreground .. images get loaded and everything after thats works fine.

Following code I am using to put the app in background:

RWindowGroup* wg;
wg = &CCoeEnv::Static()->RootWin();
wg->SetOrdinalPosition(-1);



2. If sereen saver appears, network activity( socket read and write data ) of my application stops. What can be the reason behind this?  Huh


Can anyone plz help me to solve these problems?  Undecided

thanks in Advance.

..
KiraN Puranik

Tue, 2006-04-18 11:33
Joined: 2004-01-09
Forum posts: 188
Re: Application in background problem
Freezed !!! i thing something related to displaying of splash screen. Are you putting any delay or loop?

If that is the case then obviously it will freeze. Move your image loading code to some other thread ( or active object ).

BR
Chetan

----
Chetan Kulshrestha

  • Login to reply to this topic.