Embeddability of applications
| Mon, 2005-04-04 10:50 | |
|
Hi,
Problem: whenever I close the Services Browser in the Symbian emulator after I execute my embedded application I get the ERROR: Program closed: Browser. This also happens, when I use the HelloWordPlus example application in embedded mode. Basic approach leading to the problem: - in the emulator I created a bookmark to a file that I want to open with my application - a recognizer has been implemented - the embeddability flag of my app is set to KAppEmbeddable I can click on the bookmark, and my application is opened with the file as expected. After I finish the application, I can again start it, and start it, and start it.... -- everything works fine. However, whenever I close the browser, it gives me the error message: Program closed: BROWSER. I really have no idea what the problem could be; I also made the HelloWorldPlus application embeddable so that this application is started instead of mine when I open a bookmark. However, as soon as I close the bowser there is still this error message. Does anyone have any idea what the problem is? Or can anyone point me to a WORKING embedded application source code? (all examples, by the way, that are shipped with the Symbian SDK are declared as KAppNotEmbeddable -- is it possible that embeddability is not really supported feature???) - Is it possible that I have to somehow free memory mystriricly allocated by the framework? - the OpenFileL(..) function, which is called, expects Symbian OS stream store files; however, I use normal files. Could that be the problem??? (but in the very simple case, this function is empty and I still get this error) - there is this iDoorObserver->NotifyExit() function that I have to call in the embedded application; as this feature was hard to find: is there maybe another for me unknown function that I need to overwrite? If anyone has any idea what the problem could be, I would be extremely happy for feedback. Thank you. Kind regards, Frank |
|






Forum posts: 173
http://sandy.t35.com
Forum posts: 34
It's a notification that your app has terminated OK. Since it is almost expected that the emulator is being used in development, the user may need to know that your app has closed and that there is no problem occured.
Notification should not show up on actual devices.
Forum posts: 723
The fact that this dialog appears after launching HelloWorldPlus application is just another argument besides badly-behaving Browser.
Tote
Gabor Torok
Software architect, Agil Eight (http://www.agileight.com/)
Blog: http://mobile-thoughts.blogspot.com/