안녕하세요 선후입니다.^^
제가 원하는 Activity의 Context를 가져오고 싶은데요
CyberBatteryConfig2Cell cbcf2c = new CyberBatteryConfig2Cell(); ctx = cbcf2c.getApplicationContext();
라고 해도 ctx 는 비어있게 되는데 어떻게 해야하나요 ㅠㅠ?
여기서static CyberBatteryConfig2Cell con;con = this;이 부분은 Activity에 설정해놓고
CyberBatteryConfig2Cell cbcf2c;ctx = cbcf2c.con;은 현재 제가 개발중인 class에 넣으면 되는건가요?^^
로그인 유지
con = this;
CyberBatteryConfig2Cell cbcf2c;
ctx = cbcf2c.con;