This won't work.
Android controls the creation of activities. Android provides
callbacks such as 'onCreate' (and 'onDestroy', etc.) that inform the
application developer of the lifetime management of his/her activity.
In anser to the original question from Noam:
go to
Noam,
Try to use the singleton pattern in your application. If you have already an
instance created and try to create another one, then you would not be able
to do this.
Sr. SW Engineer
Roman Baumgaertner
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those
Noam,
Try to use the singleton pattern in your application. If you have
already an instance created and try to create another one, then you
would not be able to do this because of the singleton pattern.
Sr. SW Engineer
Roman Baumgaertner
·T· · ·Mobile· stick together
The views, opinions and
I ran into this as well. Try adding this to the Activity tag ...
android:launchMode=singleTask
Jason Van Anden
http://www.smileproject.com
On Thu, Apr 9, 2009 at 6:29 PM, Dianne Hackborn hack...@android.com wrote:
It brings the currently running instance to the foreground.
On Thu, Apr 9,
It brings the currently running instance to the foreground.
On Thu, Apr 9, 2009 at 2:39 PM, Noam noam.ha...@gmail.com wrote:
Hello,
Is there a way to prevent the user of opening more than one instance
of my application?
For example:
User clicks on App and opens it.
The user clicks on the
5 matches
Mail list logo