Hi,

I'm using an intent-filter on URLs for my activity:

<activity
  android:name=".ActivityTest"
  android:launchMode="singleTop"
  >
  <intent-filter><action android:name="android.intent.action.VIEW"></
action>
    <category android:name="android.intent.category.DEFAULT"></
category>
    <category android:name="android.intent.category.BROWSABLE"></
category>
    <data android:host="www.mysite.com" android:scheme="http"></data>
  </intent-filter>
</activity>

the launchMode attribute is set to "singleTop", but it looks like a
new activity is created every time I click a matching url. I thought
that if the activity is already alive somewhere, it would simply be
brought to the front of my activity stack?

I tried this on the emulator/device, same behavior, a new activity
instance is always created,

Thanks

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to