Title: IntentBuilder add Support to start from Fragments · Issue #695 · androidannotations/androidannotations · GitHub
Open Graph Title: IntentBuilder add Support to start from Fragments · Issue #695 · androidannotations/androidannotations
X Title: IntentBuilder add Support to start from Fragments · Issue #695 · androidannotations/androidannotations
Description: Hey, i just encountered a Problem with the IntentBuilder. When i try to start(ForResult) an activity from a fragment, i can't use the IntentBuilder as the intentbuilder requires a Context object. if i pass the activity the result is sent...
Open Graph Description: Hey, i just encountered a Problem with the IntentBuilder. When i try to start(ForResult) an activity from a fragment, i can't use the IntentBuilder as the intentbuilder requires a Context object. i...
X Description: Hey, i just encountered a Problem with the IntentBuilder. When i try to start(ForResult) an activity from a fragment, i can't use the IntentBuilder as the intentbuilder requires a Context objec...
Opengraph URL: https://github.com/androidannotations/androidannotations/issues/695
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IntentBuilder add Support to start from Fragments ","articleBody":"Hey,\n\ni just encountered a Problem with the IntentBuilder.\n\nWhen i try to start(ForResult) an activity from a fragment, i can't use the IntentBuilder as the intentbuilder requires a Context object.\n- if i pass the activity the result is sent to the FragmentActivity and not to the fragment\n- if i pass the aplication contex, i get the message that i need to add `Intent.FLAG_ACTIVITY_NEW_TASK` what i dont want.\n\ni have to use this code for a successfull start and getting the result in my fragment\n\n``` java\nIntent intent_ = new Intent(getSherlockActivity().getApplicationContext(), AlarmEditorActivity_.class);\nintent_.putExtra(\"alarmInfo\", info);\nstartActivityForResult(intent_, EDIT_ALARM);\n```\n\nthe relevant part is the startActivityForResult call that in the intentbuilder is the FragmentActivity and not the Fragment. :(\n","author":{"url":"https://github.com/dodgex","@type":"Person","name":"dodgex"},"datePublished":"2013-08-13T20:54:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/695/androidannotations/issues/695"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:36345e81-5c62-7433-decc-8b69491cfe91 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8158:1EA584:1164B70:173D492:6A612A8E |
| html-safe-nonce | 29b39041a4214f6a43d59802dda201502396ac721fda2fd88a4ffe548da82d1a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTU4OjFFQTU4NDoxMTY0QjcwOjE3M0Q0OTI6NkE2MTJBOEUiLCJ2aXNpdG9yX2lkIjoiNDEyNzU2ODYzMjQzNTc4MDIzOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7cc3fddaeaa6febaa04e67f94e747afb82aadc85ae37ed4844dd4d0a7a463aa3 |
| hovercard-subject-tag | issue:18020641 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/androidannotations/androidannotations/695/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4a60e8f66637b93e3c204fee0e08ded1bcf396594a61a538c15554d78858dfb1/androidannotations/androidannotations/issues/695 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4a60e8f66637b93e3c204fee0e08ded1bcf396594a61a538c15554d78858dfb1/androidannotations/androidannotations/issues/695 |
| og:image:alt | Hey, i just encountered a Problem with the IntentBuilder. When i try to start(ForResult) an activity from a fragment, i can't use the IntentBuilder as the intentbuilder requires a Context object. i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dodgex |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6896275b704df9b9258326d49c8695aecd98d736cd9eeda7bcbb1790ac97d3ad |
| turbo-cache-control | no-preview |
| go-import | github.com/androidannotations/androidannotations git https://github.com/androidannotations/androidannotations.git |
| octolytics-dimension-user_id | 1315313 |
| octolytics-dimension-user_login | androidannotations |
| octolytics-dimension-repository_id | 3116751 |
| octolytics-dimension-repository_nwo | androidannotations/androidannotations |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3116751 |
| octolytics-dimension-repository_network_root_nwo | androidannotations/androidannotations |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | af89f6cd55841b57fa09b6b0ed9e3f8f2e94b05d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width