Lines Matching refs:Activity
8 import android.app.Activity;
39 // Error code returned when an Intent fails to start an Activity.
113 Log.d(TAG, "Can't show intent as context is not an Activity: " + intent);
127 Log.d(TAG, "Can't show intent as context is not an Activity: " + intent);
136 Log.d(TAG, "Can't cancel intent as context is not an Activity: " + requestCode);
187 * @return A reference to owning Activity. The returned WeakReference will never be null, but
188 * the contained Activity can be null (either if it has been garbage collected or if
189 * this is in the context of a WebView that was not created using an Activity).
191 public WeakReference<Activity> getActivity() {
192 return new WeakReference<Activity>(null);