Android - Sending HTTPS Get Request

后端 未结 6 1638
眼角桃花
眼角桃花 2020-12-05 03:36

I would like to send a HTTPS Get Request to the google shopping api however nothing is quite working for me, for example here is what I\'m trying at the moment:



        
6条回答
  •  北荒
    北荒 (楼主)
    2020-12-05 04:05

    It's hard to say for sure if you don't tell us what the error is.

    But if you are running this on the UI thread and the web server takes more than a few seconds to respond you will get an Application Not Responding warning from the system. Make sure that you do any network transfers on a separate thread.

提交回复
热议问题