Here is the Summary! We will only be using one activity named MainActivity.java in this whole project. This activity will be doing the data fetching as well as displaying that JSON data. For this, we will be declaring the MainActivity.java in the AndroidManifest.xml file. Look at the AndroidManifest.xml file below. AndroidManifest.xml . <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.abhishekpanwar.receivedatajson"> <uses-permission android:name="android.permission.INTERNET"/> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme"> <activity android:name=".MainActivity">
Codebrink
An educational platform for techies!