getDataString()


#1

I noted that the suggested code in L31.4 has:

 mUrl = getActivity().getIntent().getData().toString();

however, there is also the [quote]getDataString()[/quote] method, which simplifies this:

 mUrl = getActivity().getIntent().getDataString();

#2

Cool! I did not know about that one. The APIs always hold more surprises for me.