마스터Q&A 안드로이드는 안드로이드 개발자들의 질문과 답변을 위한 지식 커뮤니티 사이트입니다. 안드로이드펍에서 운영하고 있습니다. [사용법, 운영진]

Android php 파일업로드중 문제가 발생합니다

0 추천

안드로이드 php 를 통한 서버에 파일 업로드 하는 소스 입니다.

안드로이드에서 에러 메세지가 뜨지 않고

이미지로 올려둔 터미널상에 에러메세지가 전부입니다.

php 업로드 소스 또한 잘 작동하는걸 따로 확인하였는데

뭐가 문젤까요...?

그나마 예상 되는건

fileStr.substring(fileStr.lastIndexOf(".")+1,fileStr.length())

부분에서 fileStr.length() 에

Call to 'fileStr.length()' is redundant less... (Ctrl+F1) 
Inspection info: Reports a variety of redundant String-related operations like calling String.toString() or String.substring(0). Also, reports usage of redundant String constructors like new String() (equivalent to "") or new String(anotherString) (equivalent to anotherString). Such code, when fixed, may change the program semantics if String referential equality is important (which is commonly considered as a bad practice). In this case, consider suppressing the warning.

메세지가 뜹니다.

flcat (700 포인트) 님이 2019년 5월 14일 질문

답변 달기

· 글에 소스 코드 보기 좋게 넣는 법
· 질문에 대해 추가적인 질문이나 의견이 있으면 답변이 아니라 댓글로 달아주시기 바랍니다.
표시할 이름 (옵션):
개인정보: 당신의 이메일은 이 알림을 보내는데만 사용됩니다.
스팸 차단 검사:
스팸 검사를 다시 받지 않으려면 로그인하거나 혹은 가입 하세요.
...