make attaching of remote resources more robust in Sharing feature
make attaching of remote resources more robust in Sharing feature

	(1) In case the url contains elements that has encoded path
      separators , the filename extracted from url may contain
      embedded fileseparator charactor. A safer approach is to
      decode the input urlString and then determine the last
      element in the path for using as filename.

benlau/androidnative.pri,benlau/androidnative.pri,benlau/androidnative.pri