Hi,
Im a new bee to symbian, Can anyone tell me how to run over application in back ground i have no idea about it and how to do it can anyone explain me how to do this??????
Thanks for any replies...![]()
Hi,
Im a new bee to symbian, Can anyone tell me how to run over application in back ground i have no idea about it and how to do it can anyone explain me how to do this??????
Thanks for any replies...![]()
Just see this discussion how to create the back ground application in using Symbian.
http://discussion.forum.nokia.com/fo...lication/page2
Cheers,
Refer to this link -- for moving your application from foreground to background -- http://www.newlc.com/en/Moving-an-application-to.html
Thanks,
Ekta
hello kathir.s
As you yourself told you are very new to symbian c++, i will advice you to make a habit of searching first at the forum nokia wiki , which really contains some good resources.
For this time check out this link http://wiki.forum.nokia.com/index.ph..._to_background
Regards,
Gargi Das- http://gargidas.blogsot.com
Forum Nokia Python Wiki
Learn Python at http://mobapps.org/PyS60
Hi kathir.s,
as other said you can put the GUI application immediately during its startup (or anytime later) to background. You can make also EXE daemon (usually the daemon do not have own GUI), which will run silently in the background - see "Client-Server Framework". You can also hide the application from being visible to any user in e.g. list of installed applications, but this is allowed only in very special cases and will need so called TCB capability.
BR
STeN
Hi everyone thanks for ur replies, actually i go throughed the llinks given before but i couldn't make it,
ill explain my application,
i want to read the sms in the mobile using my application. and convert it to the xml format ., and i want send this xml to the server . and when a new sms arrives or in particular interval the sms should be updated to the server. all these operations should be run in the background, IF SMS needs to be sent read the SMS from the server and send SMS from the application.
need to run this application in background can u give me a clear brief explanation about this....
...............Thanks for any replies........
Create Basic console application(EXE) from Carbide.c++ new project wizard or implement client-server architecture.
Nokia Developer Wiki Moderation team
You very clear about your requirements. Just search with those strings in wiki and you will get all the required code snippets. You might have to just put them all together.
Hi kathir.s,
"Client-Server framework" is the right choice for you. If you have never done it, then you fill find it difficult at the beginning, but using it you will get all you need for your solution. I recommend you looking on symbian.org, where this topic is very well documented and I also recommend you book from Jo Stichbury named Explaining Symbain OS.
Link: http://developer.symbian.org/wiki/in...ian_C%2B%2B%29
Good Luck
STeN
Hi Sten,
Actually i got the followin code from wiki,
void CMyAppUi::BringToForeground()
{
// Construct en empty TApaTask object
// giving it a reference to the Window Server session
TApaTask task(iEikonEnv->WsSession( ));
// Initialise the object with the window group id of
// our application (so that it represent our app)
task.SetWgId(CEikonEnv::Static()->RootWin().Identifier());
// Request window server to bring our application
// to foreground
task.BringToForeground();
}
// Bring the application "theApp" to background
TApaTaskList tasklist(iCoeEnv->WsSession());
TApaTask task(tasklist.FindApp(_L("theApp")));
task.SendToBackground(); // or BringToForeground()
should we use this method directly in our class file, if so from where should i call this method...
can u help me... how to use this method??
.............Thanks for any replies...............
Call it as a last line in your ConstructL of CMyAppUi.
Nokia Developer Wiki Moderation team
This is not what stenlik suggested to read client-server architecture. You must need to understand many things before implementing your requirement.
1)Client-Server framework to communicate with exe.
2)How to read SMS.
3)How to send file (xml )using HTTP.
Search wiki to know more about all these topics.
Hi savaj acctually i have done all u said, now my application should run in background...this is wat my problem...i need to know how to do it ...
Thanks,
kathir
You can make use of TApaTask SendToBackground() function to put your GUI application in to the background and run it. Also please go through the wiki once again, if you had read it properly you would not have come up with this questions.