Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

No response #20

Open
HireshPillay opened this issue Nov 18, 2019 · 4 comments
Open

No response #20

HireshPillay opened this issue Nov 18, 2019 · 4 comments

Comments

@HireshPillay
Copy link

I am not able to see any response on the soonami app

@harshbajpai27
Copy link

Yes, i am facing the same problem, no data is being displayed on screen
Capture

@Moustafaali2019
Copy link

same as you but i have this exception reported:
2019-12-06 13:59:21.755 3867-3930/com.example.android.soonami E/MainActivity: Problem retrieving the earthquake JSON results.
java.net.SocketException: socket failed: EPERM (Operation not permitted)

@LaszloLajosT
Copy link

LaszloLajosT commented Mar 24, 2020

I am not able to see any response on the soonami app

Hi,

Did you sync the Grandle files and added the internet permission into Manifest file?
This line of code needed to add:
<uses-permission android:name="android.permission.INTERNET" />

Plus, I needed to upgrade what Android studio said during my first application run.

Additional info:
I used this code inside MainActivity.java:

/** URL to query the USGS dataset for earthquake information */
    private static final String USGS_REQUEST_URL =
            "https://earthquake.usgs.gov/fdsnws/event/1/query?format=geojson&starttime=2014-01-01&endtime=2014-12-01&minmagnitude=7";
    

@Noman5237
Copy link

On my google pixel 3A api 29 uninstalling the app first before reinstalling again works

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

No branches or pull requests

5 participants