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
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
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.
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..
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..
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
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.
Forum posts: 53
Forum posts: 278
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
Forum posts: 53
#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
Forum posts: 278
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
Forum posts: 148
Forum posts: 278
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
Forum posts: 91
http://www.forum.nokia.com/info/sw.nokia.com/id/193d37d8-e5b3-48f6-b7b7-7abea5318362/Fep_Example_v1_0.zip.html
---
Kevin Dixon
Symsource Ltd.
www.symsource.com
Forum posts: 53
Forum posts: 278
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
Forum posts: 53
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
Forum posts: 278
i did add the line but still the application name is being displayed at the top...
Forum posts: 53
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;
}
Forum posts: 148
Forum posts: 278
thanks its working..now my status pane is not being displayed at all..thanks to r55
Hi filio,
i have already created the mdl file... with the help of that only i am starting my server during boot time..
Thanks both,
max_i
Forum posts: 1233
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)