android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
에러 내용 : android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want? 원인 : Activity 가 아닌곳에서 startActivity를 사용하려고 해서. 해결책:startActivity 할때 Intent 객체에 addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);를 추가한다.
Computer/Android&iOS
2014. 10. 23. 16:20
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- nodejs
- 앵커브리핑
- 깃헙
- Swift
- 손석희
- php
- Android
- 서버
- Phaser
- BBC 가쉽
- C언어
- 안드로이드
- xcode
- node.js
- Asterisk
- 스위프트
- 뉴스룸
- IOS
- C
- 배열
- mysql
- 리눅스
- GIT
- Kotlin
- CentOS
- Node
- git hub
- 노드
- 점유율
- linux
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
글 보관함