How To Stop Multiple Instances For An Activity

Posted on August 25th, 2010 in Android | 7 Comments »

To make visible an activity that is already running or to create an activity that is not currently running, add android:launchMode=”singleTask” in activity element in AndroidManifest.xml.

For example an activity “SingleTaskActivity” for that we want to stop multiple instances, its entry in “AndroidManifest.xml” is as;


<manifest>

---------------------------------------------------------------------

<activity android:name=".SingleTaskActivity"
android:launchMode="singleTask"
android:label="@string/app_name">
</activity>

--------------------------------------------------------------------

</manifest>

Read the rest of this entry »

Knowledge And Skill For All

Posted on October 24th, 2009 in General | 4 Comments »

Knowledge is light. It is the most important weapon for development in life.The power of knowledge leads us to ultimate success.

Let’s enlighten it to remove the darkness of ignorance by share our knowledge,skill and talent.