On Sat, Feb 4, 2012 at 11:35 PM, Abhishek Singh <[email protected]>wrote:

>  now i want 1 of those activity to be started only when
> the text content starts with  '@@'    and other one for any general
> text/plain should launch it.
>  how can i do this.???
>

That's probably a little too specific for Intent Filters.
You could have you generic activity that response to anything that first
checks the data on getting the Intent. If it starts with "@@", it starts
the specific activity and closes itself, otherwise continues to process.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

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

Reply via email to