get all row from mysql database to android

57 viewsandroid database php
0
Lim Cho | 12 xp

am trying to get all product from MySQL database to android , there is a tut here https://www.androidhive.info/2012/05/how-to-connect-android-with-php-mysql/ but it use

which NameValuePair is part the package org.apache which was deprecated with Android 22 and removed with Android M see here https://developer.android.com/about/versions/marshmallow/android-6.0-changes.html#behavior-apache-http-client

now how i can get all row in my Database table the correct way ,