When I assign my application to start by right softkey (Nokia 6630 allows it), it starts
multiple instances every time.
But when my app is started by clicking its icon, existing instance is put to
foreground (if exists).
I don't know if my app is missing something, or there's bug in phone?!?
never noticed this, anyway was reading from some papers that in Series 60, the applications class should be derived from CAknApplication instead of CEikApplication, simply because CAknApplication implements functionality that should prevent multiple instances of the applications to be lauched (excluding embedding)
So check if deriving the applications class from CAknApplication would do any difference.
I tried before to inherit from CAknApplication.
1) it didn't help
2) HelloWorld example inherits CEikApplication
3) it happens only when assigning to shortcut key
4) no other app do this, only mine (including HelloWorld if I compile it)
I am sorry to bring back this post, but I have a similar problem using S60 3rd edition.
If I launch my application 'normally' and I go back to s60 menu then for instance try to open a file linked to my application by MIME types, then the framework creates another instance of my application.But if I reselect my application directly then the first instance is brought back.
In reference of the previous posts, I precise that my app class derives from CaknApplication and I am using CAknDocument class.