Getting a JSONException: end of input at character 0

后端 未结 6 1806
名媛妹妹
名媛妹妹 2020-11-30 12:41

I have an API in php, that sends data in JSON format. I made the following code, that works fine when I am on wifi. But when I want to download the data from the API when

6条回答
  •  独厮守ぢ
    2020-11-30 13:07

    Check if you are asking for permissions to use the Internet.

    
    
    

    in the Android Manifest

    Check out others at Permissions overview @ https://developer.android.com.

提交回复
热议问题