No UI

Login to reply to this topic.
Tue, 2006-02-21 14:33
Joined: 2005-08-11
Forum posts: 278
Hi All,
can we create an application without no interface(i.e. UI) in the emulator(not an exe)..if yes and if anyone knows pls help me out..

thanks,
max_i

Wed, 2006-02-22 05:56
Joined: 2005-07-06
Forum posts: 53
Re: No UI
did u mean to say full screen mode?
Wed, 2006-02-22 06:55
Joined: 2005-08-11
Forum posts: 278
Re: No UI
Hi r55 thanks for your reply...
i meant ..it should be without any screen at all..it should be as if it is running in the background....when i click the application it should run but should not  display anything...not even the applicaion name on the top...any idea if it's possible??
Thanks,
max_i
Wed, 2006-02-22 07:30
Joined: 2005-07-06
Forum posts: 53
Re: No UI
switch to full screen mode

#include <eikenv.h>
#include <eikappui.h>
TRect screenRect = CEikonEnv::Static()->EikAppUi()->ApplicationRect();
SetRect(screenRect);
//SetRect(aRect);

dont draw any thing in Draw method

remove all menus if u need

so backround remains same

Wed, 2006-02-22 07:50
Joined: 2005-08-11
Forum posts: 278
Re: No UI
thanks aggain r55
it is working fine..but still the application name is being displayed....i just want it like a console application.. not application caption name at the top when i run it

thanks,
max_i
Wed, 2006-02-22 09:19
Joined: 2004-06-08
Forum posts: 148
Re: No UI
I am sure this is going to work, but I dont know if you will be willing to try it. I suggest you write a simple FEP. This way nothing will be displayed on screen, unless you draw it yourself. You will even be able to handle user input events. Unfortunately, you will need another app to start and close the FEP. But it is very simple to created. It should start, check if the fep is loade, if not, it will load it and exit. Next time you run the app, your FEP will be loaded, so you will unload it and close the app. I have done this myself so I know it is not hard to be acoomplished.
Wed, 2006-02-22 10:07
Joined: 2005-08-11
Forum posts: 278
Re: No UI
thanks filio...
and how do i write a FEP...any sample program..or any link regarding it??

Actually wat i want to do is to start a server at the start up of the emulater and run in the background...waiting for request from the client..this i have achieved...but the thing is i don't want my application to be displayed at the start up...when it starts it should be not visible at all...not even the name of the application..

thanks,
max_i
Wed, 2006-02-22 10:13
Joined: 2005-03-14
Forum posts: 91
Re: No UI
Wed, 2006-02-22 10:21
Joined: 2005-07-06
Forum posts: 53
Re: No UI
yeah fep is a good option.
Wed, 2006-02-22 10:25
Joined: 2005-08-11
Forum posts: 278
Re: No UI
but FEP is a DLL rite not an app file..

Actually wat i want to do is to start a server at the start up of the emulater and run in the background...waiting for request from the client..this i have achieved...but the thing is i don't want my application to be displayed at the start up...when it starts it should be not visible at all...not even the name of the application..

thanks,
max_i
Wed, 2006-02-22 11:27
Joined: 2005-07-06
Forum posts: 53
Re: No UI
check lines

SetRect(screenRect);
//SetRect(aRect);

anyway  listening socket implementations will work only in emulator.
currently phone is configured to private IP. u can't make any peer to peer
connections. otherwise it may need a NAT traversal.
class B GPRS will not handle both telephone and gprs, at a time
one will work. if ur gprs is active u will not receive incomming call's
Wed, 2006-02-22 12:07
Joined: 2005-08-11
Forum posts: 278
Re: No UI
thanks again r55,
i did add the line but still the application name is being displayed at the top... Huh
Wed, 2006-02-22 14:26
Joined: 2005-07-06
Forum posts: 53
Re: No UI
to remove the status pane

RESOURCE EIK_APP_INFO
   {
   status_pane = r_status_pane_empty;
   }

RESOURCE STATUS_PANE_APP_MODEL r_status_pane_empty
   {
   layout = R_AVKON_STATUS_PANE_LAYOUT_EMPTY;
   }
Wed, 2006-02-22 17:28
Joined: 2004-06-08
Forum posts: 148
Re: No UI
If you need a startup program, you have to write a .MDL. For some example code search for "Recognizer" in this forum or forum nokia. You can add the desired functionality in it.
Thu, 2006-02-23 06:24
Joined: 2005-08-11
Forum posts: 278
Re: No UI
Hi r55

thanks its working..now my status pane is not being displayed at all..thanks to r55 Grin


Hi filio,
i have already created the mdl file... with the help of that only i am starting my server during boot time.. Grin

Thanks both,
max_i
Thu, 2006-02-23 17:37
Joined: 2004-11-29
Forum posts: 1233
Re: No UI
I don't get why you don't just write an EXE, instead of trying to write a nonstandard app.

Seems a lot simpler, if you don't want any UI.

Now a lot of stuff will be started up and takeing memory for no use (the app framework)
  • Login to reply to this topic.