Why is my service not being started in Fragments onActivityResult?
<p>In my fragment after a user signs in the onActivityResult callback is called.  I have logging in the onActivityResult and it is in fact being called but the service is not starting...  The service is registered in the Manifest and it gets executed in my onResume fine.  The getActivity is not returning NULL as well.  I do not know what the issue is... Can anyone give some advice.</p>

<pre><code>@Override
    public void onActivityResult(int requestCode, int resultCode, Intent data) {
        super.onActivityResult(requestCode, resultCode, data);
        switch (requestCode) {
        case REQUEST_1:
            if (resultCode == Activity.RESULT_OK) {
                Intent intent = new Intent(getActivity(), MyService.class);
                intent.setData(Uri.parse("http://www.google.com");
                getActivity().startService(intent);
            }
            break;
        default:

            super.onActivityResult(requestCode, resultCode, data);
            break;
        }
    }
</code></pre>
