Next we need parser JSON. So create a new one in your library. JSONParser.java and fill it with the following code. http://www.androidhive.info/2012/01/android-login-and-registration-with-php-mysql-and-sqlite/ from this example

  • So what's the problem then? Take the code, create a file, shove the code inside, save. - Yuriy SPb
  • This is a small problem, how to create this file? The site says to create a class, but I don’t know how - Adaus
  • @Adaus, If you are given an exhaustive answer, mark it as correct (click on the check mark next to the selected answer). - Yuriy SPb

1 answer 1

According to this link , Google’s outstanding query

create class android studio

It is necessary in the project in the src folder to create the main folder and in it, using the right button

new-> folder-> java folder

After that, in the java folder that appears, you can right-click to create Java Class files.