Menu

Ecommerce Store

* * * * (8 ratings)
Ecommerce Store | App Code for Sale | Hero

Screenshots

Overview

About: This is a native app template for an e-commerce website that sells computer components. It covers how to build simple API using PHP and MySQL. From it you can login if you have already an account, register if you don't have one, search a product, sort products after price ascending or descending, buy products with Paypal. The app it is communicating with a server through php/json from where:

it loads only 10 rows at a time that contains the products information stored on MySql database, so as we scroll at the bottom of the list will loads another 10 rows until the end of the query. All the data is loaded into a list and store it on your Android phone on a SQLite database for the moment we don't have internet. This is almost like a pagination process. it is adding new information for a new user or a new sale on MySql database. it checks if a user exists. The password it is encrypted in sha256.

You can share it by sending an sms or an e-mail to your friends . The Package Contains:

The source code for Eclipse. Documentation. The PHP scripts that connects our phone to server database. The MySql database as a SQL script that can be easily imported on PhpMyAdmin. PayPal library and some useful files for Paypal integration. 9 Patch PNG files.

Designed for:

Android 2.3 Android 3.0 Android 4.0

Tested On:

Phone: Samsung Galaxy S1(OS 2.3.6) Phone: Samsung Galaxy S2(OS 4.0.3) Tablet: Motorola Xoom(OS 4.0.4)

Version 1.0 Future Version 1.1 Add notification in status bar which will notify if a new product or a promotional product is available. Add barcode scanner to search products in our database. Contact

If you want to talk about the weather or about this app you can contact me via the comment area

23 Comments Leave a comment

Please login in order to leave a comment.

Newest first
  • Hello I recently purchased this app.

    i am getting a error,when trying to log in to app,I get a error message "Unfortunately, Ecommerce has stopped".,the database has been set up on localhost,i ran a test script to make sure the mysql connection was sucessful and it is.but not getting any product feed from the database to the app or any fuctionality,I ran the script login.php and its returning errors Notice: Undefined index: username in C:\Program Files (x86)\XAMPP\htdocs\android\register.php on line 3

    Notice: Undefined index: password in C:\Program Files (x86)\XAMPP\htdocs\android\register.php on line 4

    Notice: Undefined index: email in C:\Program Files (x86)\XAMPP\htdocs\android\register.php on line 5

    Notice: Undefined index: phone in C:\Program Files (x86)\XAMPP\htdocs\android\register.php on line 6

    Notice: Undefined index: city in C:\Program Files (x86)\XAMPP\htdocs\android\register.php on line 7

    Notice: Undefined index: country in C:\Program Files (x86)\XAMPP\htdocs\android\register.php on line 8

    Notice: Undefined index: address in C:\Program Files (x86)\XAMPP\htdocs\android\register.php on line 9

    Do you have any advice?

    • dj,charon Author 2014-03-30 08:14:33

      This was intended to work with remote database. I never used it locally.

    • john.tyrrell.9843 Buyer 2014-03-30 16:45:59

      Yeah i managed to fix it thanks.

    • john.tyrrell.9843 Buyer 2014-03-30 20:50:51

      I got everything else working and configured,my only problem is it is not parsing the images to my app,it works on server but not on app,i tried changing http://www.hostname.com/images to http://www.hostname.com/android/images both in ftp and utils file still not working? Do you have any advice please?

    • john.tyrrell.9843 Buyer 2014-03-30 20:52:56

      also delete button does not work for deleting product in cart?Thanks

  • Trimollo Buyer 2014-02-27 18:30:11 Thread id 14121

    How can I update this to be used on the latest android OS. Thanks

  • kousuke 2014-01-25 17:44:12 Thread id 10393

    Is there anything to do in order to record the sale into the database because after some product is purchased customer's payment goes to the merchant but there's no record adding on the sales database.

  • kousuke 2014-01-25 12:30:46 Thread id 10385

    sir how can i make the ActivitySpecs.java be able to update product information when change in database web. Because it only base on the sqlitedatabase and do not auto update in instance. Thanks

  • e_Novator 2014-01-12 17:33:03 Thread id 9587

    any chance of releasing this for iOS?

  • viiishal2050 2013-10-29 16:49:32 Thread id 6482

    What if i wants the payment via Debit Card or Net Banking?

  • dj,charon Author 2013-05-31 14:44:27 Thread id 2663

    I don't quite understand ? curelea.stefan is my skype id.

  • Hi, if I go to product page. I can get access the database and get product list from my device emulator.

  • Hi, I am using my server's MySQL database and have changed String LINK_ROOT in utils.java to my server url e.g. http://www.abc.com.uk/apmcommerce/. If I access http://www.abc.com.uk/apmcommerce/android/register.php, I got value 2.

    • dj,charon Author 2013-05-31 14:42:47

      From what i am seeing "http://www.abc.com.uk/apmcommerce/android/register.php" is unavailable. Have you also updated my db. to your mysql server ??

  • After config the code properly according to the provided document and I tried to run under eclipse's virtual device. In the registration, after filled in every value properly and clicked the register button. I got error message "Unfortunately, Ecommerce has stopped". Do you have any advice ?

    • dj,charon Author 2013-05-30 08:59:35

      Hello nine. Have you added your own db. or you have used mine. Because right now my server is down.