Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2020-06-16 23:20:50.960 3025-3025/com.example.login W/System.err: org.json.JSONException: Value <br of type java.lang.String cannot be converted to JSONObject #2

Open
jeonjw25 opened this issue Jun 17, 2020 · 1 comment

Comments

@jeonjw25
Copy link
Collaborator

RentActivity.java 와 test.php 통신하는중에
php에서 RentActivity.java 로 response를 보내는 중에

2020-06-16 23:20:50.960 3025-3025/com.example.login W/System.err: org.json.JSONException: Value <br of type java.lang.String cannot be converted to JSONObject
라는 에러가 뜨며 진행이 안됨.
response 해주는 값은 success 변수이며 boolean값을 보내줘야함.

@jeonjw25
Copy link
Collaborator Author

/server/test.php 에서 라즈베리파이의 서보모터를 구동하고자합니다.
서보모터는 Boo.php에서 unlock 과 lock 으로 조종가능해서 test.php에서
url 라즈베리파이IP/Boo.php?unlock 을 호출만 하면될거같은데 호출이 안됩니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant