Android - matching a url pattern?

I'd like one of my activities to pick up a particular url. The pattern is:

http://www.example.com/abc123/foo/xyz789

The path components "abc123" and "xyz789" can be any sequence of alpha-numerics, length > 1.

Doing this in my manifest:


  
    
    
    

    

but it seems that any pattern from my domain is getting matched, ie:

myexample.com
myexample.com/whatever

both get matched. I guess maybe the .* operator is not working as I expect here? Any help would be great,

Thanks

http://developer.android.com/guide/topics/manifest/data-element.html

19
задан Rahul Tiwari 15 August 2015 в 11:40
поделиться