안드로이드 개발 질문/답변
(글 수 45,052)
EditText etHello = (EditText) findViewById(R.id.EditText01);
String sayHello = etHello.getText().toString();
이렇게 edittext에 파일 이름을 입력하여 sd카드에 그 파일명으로 이미지가 저장되게 하고 싶습니다.
그런데
FileOutputStream out = new FileOutputStream("/sdcard/sayHello");
이렇게 하면 왜 sayHello로만 저장이 될까요 ㅠㅠ?
String sayHello = etHello.getText().toString(); 이렇게 하면 EditText에 입력한 값이 나와야 하는거 아닌가요..ㅠㅠ?
String sayHello = etHello.getText().toString();
이렇게 edittext에 파일 이름을 입력하여 sd카드에 그 파일명으로 이미지가 저장되게 하고 싶습니다.
그런데
FileOutputStream out = new FileOutputStream("/sdcard/sayHello");
이렇게 하면 왜 sayHello로만 저장이 될까요 ㅠㅠ?
String sayHello = etHello.getText().toString(); 이렇게 하면 EditText에 입력한 값이 나와야 하는거 아닌가요..ㅠㅠ?