├── .DS_Store ├── AndroidConnectingToPhpMySQL ├── .classpath ├── .project ├── .settings │ └── org.eclipse.jdt.core.prefs ├── AndroidManifest.xml ├── bin │ ├── AndroidConnectingToPhpMySQL.apk │ ├── AndroidManifest.xml │ ├── classes.dex │ ├── classes │ │ └── com │ │ │ └── example │ │ │ └── androidhive │ │ │ ├── AllProductsActivity$1.class │ │ │ ├── AllProductsActivity$LoadAllProducts$1.class │ │ │ ├── AllProductsActivity$LoadAllProducts.class │ │ │ ├── AllProductsActivity.class │ │ │ ├── BuildConfig.class │ │ │ ├── EditProductActivity$1.class │ │ │ ├── EditProductActivity$2.class │ │ │ ├── EditProductActivity$DeleteProduct.class │ │ │ ├── EditProductActivity$GetProductDetails$1.class │ │ │ ├── EditProductActivity$GetProductDetails.class │ │ │ ├── EditProductActivity$SaveProductDetails.class │ │ │ ├── EditProductActivity.class │ │ │ ├── JSONParser.class │ │ │ ├── MainScreenActivity$1.class │ │ │ ├── MainScreenActivity$2.class │ │ │ ├── MainScreenActivity.class │ │ │ ├── NewProductActivity$1.class │ │ │ ├── NewProductActivity$CreateNewProduct.class │ │ │ ├── NewProductActivity.class │ │ │ ├── R$attr.class │ │ │ ├── R$drawable.class │ │ │ ├── R$id.class │ │ │ ├── R$layout.class │ │ │ ├── R$string.class │ │ │ └── R.class │ ├── res │ │ └── crunch │ │ │ ├── drawable-hdpi │ │ │ └── ic_launcher.png │ │ │ ├── drawable-ldpi │ │ │ └── ic_launcher.png │ │ │ └── drawable-mdpi │ │ │ └── ic_launcher.png │ └── resources.ap_ ├── gen │ └── com │ │ └── example │ │ └── androidhive │ │ ├── BuildConfig.java │ │ └── R.java ├── lint.xml ├── proguard.cfg ├── project.properties ├── res │ ├── drawable-hdpi │ │ └── ic_launcher.png │ ├── drawable-ldpi │ │ └── ic_launcher.png │ ├── drawable-mdpi │ │ └── ic_launcher.png │ ├── layout │ │ ├── add_product.xml │ │ ├── all_products.xml │ │ ├── edit_product.xml │ │ ├── list_item.xml │ │ └── main_screen.xml │ └── values │ │ └── strings.xml └── src │ └── com │ └── example │ └── androidhive │ ├── AllProductsActivity.java │ ├── EditProductActivity.java │ ├── JSONParser.java │ ├── MainScreenActivity.java │ └── NewProductActivity.java └── android_connect ├── create_product.php ├── db_config.php ├── db_connect.php ├── delete_product.php ├── get_all_products.php ├── get_product_details.php └── update_product.php /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/.DS_Store -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | AndroidConnectingToPhpMySQL 4 | 5 | 6 | 7 | 8 | 9 | com.android.ide.eclipse.adt.ResourceManagerBuilder 10 | 11 | 12 | 13 | 14 | com.android.ide.eclipse.adt.PreCompilerBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javabuilder 20 | 21 | 22 | 23 | 24 | com.android.ide.eclipse.adt.ApkBuilder 25 | 26 | 27 | 28 | 29 | 30 | com.android.ide.eclipse.adt.AndroidNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 3 | org.eclipse.jdt.core.compiler.compliance=1.6 4 | org.eclipse.jdt.core.compiler.source=1.6 5 | -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 28 | 29 | 30 | 31 | 34 | 35 | 36 | 37 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/AndroidConnectingToPhpMySQL.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/bin/AndroidConnectingToPhpMySQL.apk -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 28 | 29 | 30 | 31 | 34 | 35 | 36 | 37 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/classes.dex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/bin/classes.dex -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/AllProductsActivity$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/AllProductsActivity$1.class -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/AllProductsActivity$LoadAllProducts$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/AllProductsActivity$LoadAllProducts$1.class -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/AllProductsActivity$LoadAllProducts.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/AllProductsActivity$LoadAllProducts.class -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/AllProductsActivity.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/AllProductsActivity.class -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/BuildConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/BuildConfig.class -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/EditProductActivity$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/EditProductActivity$1.class -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/EditProductActivity$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/EditProductActivity$2.class -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/EditProductActivity$DeleteProduct.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/EditProductActivity$DeleteProduct.class -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/EditProductActivity$GetProductDetails$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/EditProductActivity$GetProductDetails$1.class -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/EditProductActivity$GetProductDetails.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/EditProductActivity$GetProductDetails.class -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/EditProductActivity$SaveProductDetails.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/EditProductActivity$SaveProductDetails.class -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/EditProductActivity.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/EditProductActivity.class -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/JSONParser.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/JSONParser.class -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/MainScreenActivity$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/MainScreenActivity$1.class -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/MainScreenActivity$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/MainScreenActivity$2.class -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/MainScreenActivity.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/MainScreenActivity.class -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/NewProductActivity$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/NewProductActivity$1.class -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/NewProductActivity$CreateNewProduct.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/NewProductActivity$CreateNewProduct.class -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/NewProductActivity.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/NewProductActivity.class -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/R$attr.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/R$attr.class -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/R$drawable.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/R$drawable.class -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/R$id.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/R$id.class -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/R$layout.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/R$layout.class -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/R$string.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/R$string.class -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/R.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/bin/classes/com/example/androidhive/R.class -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/res/crunch/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/bin/res/crunch/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/res/crunch/drawable-ldpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/bin/res/crunch/drawable-ldpi/ic_launcher.png -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/res/crunch/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/bin/res/crunch/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/bin/resources.ap_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/bin/resources.ap_ -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/gen/com/example/androidhive/BuildConfig.java: -------------------------------------------------------------------------------- 1 | /** Automatically generated file. DO NOT MODIFY */ 2 | package com.example.androidhive; 3 | 4 | public final class BuildConfig { 5 | public final static boolean DEBUG = true; 6 | } -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/gen/com/example/androidhive/R.java: -------------------------------------------------------------------------------- 1 | /* AUTO-GENERATED FILE. DO NOT MODIFY. 2 | * 3 | * This class was automatically generated by the 4 | * aapt tool from the resource data it found. It 5 | * should not be modified by hand. 6 | */ 7 | 8 | package com.example.androidhive; 9 | 10 | public final class R { 11 | public static final class attr { 12 | } 13 | public static final class drawable { 14 | public static final int ic_launcher=0x7f020000; 15 | } 16 | public static final class id { 17 | public static final int btnCreateProduct=0x7f050003; 18 | public static final int btnDelete=0x7f050005; 19 | public static final int btnSave=0x7f050004; 20 | public static final int btnViewProducts=0x7f050009; 21 | public static final int inputDesc=0x7f050002; 22 | public static final int inputName=0x7f050000; 23 | public static final int inputPrice=0x7f050001; 24 | public static final int name=0x7f050007; 25 | public static final int pid=0x7f050006; 26 | public static final int price=0x7f050008; 27 | } 28 | public static final class layout { 29 | public static final int add_product=0x7f030000; 30 | public static final int all_products=0x7f030001; 31 | public static final int edit_product=0x7f030002; 32 | public static final int list_item=0x7f030003; 33 | public static final int main_screen=0x7f030004; 34 | } 35 | public static final class string { 36 | public static final int addproduct=0x7f040002; 37 | public static final int app_name=0x7f040001; 38 | public static final int createproduct=0x7f040009; 39 | public static final int delete=0x7f040004; 40 | public static final int desc=0x7f040006; 41 | public static final int hello=0x7f040000; 42 | public static final int price=0x7f040007; 43 | public static final int productname=0x7f040008; 44 | public static final int savechanges=0x7f040005; 45 | public static final int viewproduct=0x7f040003; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/lint.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/proguard.cfg: -------------------------------------------------------------------------------- 1 | -optimizationpasses 5 2 | -dontusemixedcaseclassnames 3 | -dontskipnonpubliclibraryclasses 4 | -dontpreverify 5 | -verbose 6 | -optimizations !code/simplification/arithmetic,!field/*,!class/merging/* 7 | 8 | -keep public class * extends android.app.Activity 9 | -keep public class * extends android.app.Application 10 | -keep public class * extends android.app.Service 11 | -keep public class * extends android.content.BroadcastReceiver 12 | -keep public class * extends android.content.ContentProvider 13 | -keep public class * extends android.app.backup.BackupAgentHelper 14 | -keep public class * extends android.preference.Preference 15 | -keep public class com.android.vending.licensing.ILicensingService 16 | 17 | -keepclasseswithmembernames class * { 18 | native ; 19 | } 20 | 21 | -keepclasseswithmembers class * { 22 | public (android.content.Context, android.util.AttributeSet); 23 | } 24 | 25 | -keepclasseswithmembers class * { 26 | public (android.content.Context, android.util.AttributeSet, int); 27 | } 28 | 29 | -keepclassmembers class * extends android.app.Activity { 30 | public void *(android.view.View); 31 | } 32 | 33 | -keepclassmembers enum * { 34 | public static **[] values(); 35 | public static ** valueOf(java.lang.String); 36 | } 37 | 38 | -keep class * implements android.os.Parcelable { 39 | public static final android.os.Parcelable$Creator *; 40 | } 41 | -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system use, 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | 10 | # Project target. 11 | target=android-19 12 | -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/res/drawable-ldpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/res/drawable-ldpi/ic_launcher.png -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lopezchin/android_connect_with_phpMysql/37784a974e1b5052362b8f60a1d4b024bf3edfde/AndroidConnectingToPhpMySQL/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /AndroidConnectingToPhpMySQL/res/layout/add_product.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 15 | 16 | 17 | 24 | 25 | 26 | 33 | 34 | 35 | 42 | 43 | 44 | 51 | 52 | 53 | 61 | 62 | 63 |