초짜 개발 견습생입니다.. 개발자라는 말은 꺼낼수가 없는 실력이고
이클립스 기반으로 어플 제작 연습하고 있는데
앱 사용중인 핸드폰인 노트3에 넣고 구동해보니
ACTION_CALL 구문을 이용해 통화기능 구현도중
앱이 중단되면서 종료되는데 자체적으로 해당 소스를 차단한건지 아니면 소스 구문에서 틀린점이 있는지
궁굼합니다.
관련 구문 첨부해서 질문합니다.
public void call(View v) {
int id = v.getId();
TextView tv = (TextView)v.findViewById(id);
String tel = (String)tv.getText();
Uri number;
Intent intent;
number = Uri.parse("tel:" + tel);
intent = new Intent(Intent.ACTION_CALL, number);
startActivity(intent);
}
}