Home
last modified time | relevance | path

Searched refs:startActivityForResult (Results 1 – 25 of 59) sorted by relevance

123

/frameworks/support/v4/jellybean/android/support/v4/app/
DActivityCompatJB.java29 …public static void startActivityForResult(Activity activity, Intent intent, int requestCode, Bundl… in startActivityForResult() method in ActivityCompatJB
30 activity.startActivityForResult(intent, requestCode, options); in startActivityForResult()
/frameworks/base/docs/html/training/basics/intents/
Dresult.jd28 receive a result back. To receive a result, call {@link android.app.Activity#startActivityForResult
29 startActivityForResult()} (instead of {@link android.app.Activity#startActivity
41 {@link android.app.Activity#startActivityForResult startActivityForResult()}. When starting one of
50 android.app.Activity#startActivityForResult startActivityForResult()} method.</p>
64 startActivityForResult(pickContactIntent, PICK_CONTACT_REQUEST);
77 android.app.Activity#startActivityForResult startActivityForResult()}.</li>
Dfilters.jd42 startActivity()} or {@link android.app.Activity#startActivityForResult startActivityForResult()},
148 android.app.Activity#startActivityForResult startActivityForResult()} treat all intents as if they
232 android.app.Activity#startActivityForResult startActivityForResult()}. Simply call {@link
235 android.app.Activity#startActivityForResult startActivityForResult()}, then the system delivers it
/frameworks/support/v4/java/android/support/v4/app/
DActivityCompat.java124 public static void startActivityForResult(Activity activity, Intent intent, int requestCode, in startActivityForResult() method in ActivityCompat
127 ActivityCompatJB.startActivityForResult(activity, intent, requestCode, options); in startActivityForResult()
129 activity.startActivityForResult(intent, requestCode); in startActivityForResult()
DFragmentActivity.java813 public void startActivityForResult(Intent intent, int requestCode) { in startActivityForResult() method in FragmentActivity
817 super.startActivityForResult(intent, requestCode); in startActivityForResult()
826 super.startActivityForResult(intent, -1); in startActivityFromFragment()
832 super.startActivityForResult(intent, ((fragment.mIndex+1)<<16) + (requestCode&0xffff)); in startActivityFromFragment()
/frameworks/base/docs/html/training/camera/
Dvideobasics.jd88 startActivityForResult(takeVideoIntent, REQUEST_VIDEO_CAPTURE);
93 <p>Notice that the {@link android.app.Activity#startActivityForResult
94 startActivityForResult()} method is protected by a condition that calls
97 is important because if you call {@link android.app.Activity#startActivityForResult
98 startActivityForResult()} using an intent that no app can handle,
Dphotobasics.jd94 startActivityForResult(takePictureIntent, REQUEST_IMAGE_CAPTURE);
99 <p>Notice that the {@link android.app.Activity#startActivityForResult
100 startActivityForResult()} method is protected by a condition that calls
103 is important because if you call {@link android.app.Activity#startActivityForResult
104 startActivityForResult()} using an intent that no app can handle,
230 startActivityForResult(takePictureIntent, REQUEST_TAKE_PHOTO);
/frameworks/base/core/java/android/preference/
DRingtonePreference.java145 owningFragment.startActivityForResult(intent, mRequestCode); in onClick()
147 getPreferenceManager().getActivity().startActivityForResult(intent, mRequestCode); in onClick()
/frameworks/support/tests/java/android/support/tests/
DGrantActivity.java35 startActivityForResult(intent, 12); in onCreate()
/frameworks/base/docs/html/guide/topics/manifest/
Dcategory-element.jd33 {@link android.app.Activity#startActivityForResult startActivityForResult()} treat all intents
Dactivity-alias-element.jd106 <code>{@link android.app.Activity#startActivityForResult startActivityForResult()}</code>
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
DAppWidgetHostActivity.java86 startActivityForResult(intent, requestCode); in discoverAppWidget()
96 startActivityForResult(intent, requestCode); in configureAppWidget()
/frameworks/base/docs/html/training/secure-file-sharing/
Drequest-file.jd45 {@link android.app.Activity#startActivityForResult startActivityForResult} with an
76 startActivityForResult(mRequestFileIntent, 0);
Dshare-file.jd54 {@link android.app.Activity} by calling {@link android.app.Activity#startActivityForResult
55 startActivityForResult()} with an {@link android.content.Intent} containing the action
57 {@link android.app.Activity#startActivityForResult startActivityForResult()}, your app can
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
DTestApp.java111 startActivityForResult(intent, FIND_DAE_MODEL); in loadModel()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DSimpleModel.java112 startActivityForResult(intent, FIND_A3D_MODEL); in loadModel()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DSubActivityScreen.java62 startActivityForResult(intent, 1); in onCreate()
DLaunchpadActivity.java237 startActivityForResult(intent, LAUNCHED_RESULT); in onResume()
242 startActivityForResult(intent, FORWARDED_RESULT); in onResume()
248 startActivityForResult(intent, LAUNCHED_RESULT); in onResume()
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
DIPControlsJB.java141 startActivityForResult(intent, 0); in launchDemo()
235 startActivityForResult(intent, 0); in btnRun()
/frameworks/base/docs/html/training/wearables/apps/
Dvoice.jd248 In your app, you call {@link android.app.Activity#startActivityForResult startActivityForResult()} …
261 startActivityForResult(intent, SPEECH_REQUEST_CODE);
/frameworks/base/docs/html/training/notepad/
Dnotepad-ex2.jd15 <li><em>Invoking another Activity asynchronously using <code>startActivityForResult()</code></em></…
147 Then fire the Intent using the <code>startActivityForResult()</code> method
151 startActivityForResult(i, ACTIVITY_CREATE);</pre>
155 … <p>The <code>startActivityForResult()</code> method fires the Intent in a way that causes a method
187 <code>startActivityForResult()</code> method call. Here's the code that
199 startActivityForResult(i, ACTIVITY_EDIT);</pre>
211 <code>NoteEdit</code> class by passing <code>startActivityForResult()</code>
229 …will only return a result if launched with <code>startActivityForResult</code>.) The parameters pr…
245 <p>The combination of <code>startActivityForResult()</code> and
/frameworks/base/docs/html/google/auth/
Dhttp-auth.jd127 {@link android.app.Activity#startActivityForResult startActivityForResult()} using an {@link
141 startActivityForResult(intent, REQUEST_CODE_PICK_ACCOUNT);
448 android.app.Activity#startActivityForResult startActivityForResult()} to give users the opportunity
458 android.app.Activity#startActivityForResult startActivityForResult()} will immediately send users
503 startActivityForResult(intent,
/frameworks/base/core/java/android/accounts/
DChooseTypeAndAccountActivity.java396 startActivityForResult(intent, REQUEST_ADD_ACCOUNT); in run()
443 startActivityForResult(intent, REQUEST_CHOOSE_TYPE); in startChooseAccountTypeActivity()
/frameworks/base/docs/html/guide/topics/appwidgets/
Dhost.jd108 {@link android.app.Activity#startActivityForResult(android.content.Intent,int) startActivityForResu…
128 startActivityForResult(pickIntent, REQUEST_PICK_APPWIDGET);
175 startActivityForResult(intent, REQUEST_CREATE_APPWIDGET);
218 startActivityForResult(intent, REQUEST_BIND_APPWIDGET);
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DOnePlayerActivity.java166 startActivityForResult(intent, READ_REQUEST_CODE);

123