Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Dagger2란
- Intent String 변환
- MediaDataSource
- ArrayMap
- BlockingQueue Capacity
- print callstack
- 오픈소스라이선스
- corePoolSize
- 음량표준화
- Service 팁
- gitignore
- APK로딩
- enum performance
- so파일 동적로딩
- callstack 출력
- APK 동적로딩
- RxJava 스터디
- convert Intent to string
- RxJava Programming
- 네트워크 디버깅
- Service관리
- convert string to intent
- mitmproxy
- gitignore작성법
- lufs
- android enum
- HashMap vs ArrayMap
- Replaygain
- android network
- java callstack
Archives
- Today
- Total
목록convert string to intent (1)
일상&개발 로그
Intent를 String으로 변환하기
안드로이드 Intent를 String으로 저장하는 방법 로직이 자주 변경되고, 대부분의 동작이 Intent로 이루어지는 앱의 경우 서버에서 String으로 변환된 Intent를 내려주는 방법이 유용하다. 물론 내려받은 IntentString은 Intent로 다시 변환이 가능하다. 방법은 아래와 같다. private void convertIntentAndString() { try { Intent intent = new Intent(); intent.setAction(Intent.ACTION_MAIN); intent.addCategory(Intent.CATEGORY_LAUNCHER); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); intent.setPackage("co..
개발/안드로이드 개발
2017. 4. 19. 09:55