안드로이드 개발 질문/답변
(글 수 45,052)
대부분 인텐트를 구성할때
Intent intent = new Intent(tmp.this, Target.class);
이런식으로 하는데요.
저 Target.class를 담는 변수가 있나요? 아니면 Activity를 변수형태로 담아서
Intent intent = new Intent(tmp.this, activity.class)
이렇게 가능한가요?변수가 있다면 함수형태로 만들수가 있을것 같은데 말이죠..
조언부탁드립니다.
Intent intent = new Intent(tmp.this, Target.class);
이런식으로 하는데요.
저 Target.class를 담는 변수가 있나요? 아니면 Activity를 변수형태로 담아서
Intent intent = new Intent(tmp.this, activity.class)
이렇게 가능한가요?변수가 있다면 함수형태로 만들수가 있을것 같은데 말이죠..
조언부탁드립니다.
2014.05.22 00:07:22
오래전 글인데, 혹시 해결 하셨는지 모르겠네요.
저랑 비슷한 경우인 것 같은데.
여기 참고 하시면 될 것 같습니다.
http://blog.naver.com/PostView.nhn?blogId=pctu1213&logNo=128658239




리플렉션을 찾아보세요...