Grocery | Android Single Food Delivery Store Application [XServer]

Grocery | Android Single Food Delivery Store Application [XServer]

Cart 6 sales

Grocery is a great solution for those who want to quickly build an app to sell food from your Market and delivery it to buyers, even if you don’t know how to code

* In case your device will show a Toast message saying “Can’t open file”, just download the Astro File Manager app here:
and use it to install the APK. This may happen because of new Android Security options *


Grocery is a full-working template (UI + Source Code) where a grocery owner can sell his food and deliver it to buyers’ home place, or have them pick it up from his market’s location.
Users can create an account and log in with their own favorite credentials, save favorite products, and buy them with Credit Card or Cash on Delivery/Pick up.
They can also anytime edit their profiles, as well as reset their password and check the Terms Of Service page.

The design is clean, code is commented and project folders and files are well organized in the package.

• Check out the Features section below to see what this app does.
• Read the online Documentation to learn how to configure the template’s features and the database (Parse Dashboard).
• Check out the demo Database, login as:
Username: demo
Password: demo
• Keep an eye on the Change Log on the bottom of this page when an update gets released.


The backend of this template is XServer, so you can either buy the XServer REST API an install it on your own VPS server, or create an account on and a Database for this app.
After performing the configurations mentioned below, you will run the app and see no content, so Sign Up with a test user in order to create a test account and start testing the app.
NOTE: in case you want to implement your own backend to this template, you do not need to buy the XServer API, nor create an account on, but please be aware that implementing a different backend to this template must be performed by you or your developers.

Extended License

As per Envato Marketplace Terms, the Extended License applies to all applications that charge money to their users. In case your users will not be charged of money through your own version of this app, you can still buy it under a Regular license.
Therefore, you must buy this template under and Extended License if your plans are either one or more of the following:
  • Add In-App Purchase or any other Payment Gateway in the source code and publish the app for free on the App/Play Store – NOTE: If you want to publish your own version of this application for FREE only, then you can still buy it under a Regular License.
  • Publish this application as a PAID app on the App Store.
  • Transfer the live app of your own verison of this app on the App/Play Store to another owner by selling your ownership on or similar marketplaces.
IMPORTANT: You are NOT allowed to sell or share the original source code of this template anywhere due to copyright infringement


Android Java language – Native Android Studio project – Edit the template as you wish with the power of Android Studio and Java.

Android 6.0 and above, Universal – Run your app on all Android devices

Backend with XServer – Built on a great and reliable BaaS that offers many features with just a few clicks, it’s super easy to create and set up a database on, as well as use the XServer REST API hosted on your VPS server.

Browse products in the Home screen – Buyers can find the items they want to buy, search them by Category or keywords, view their info, and add them in your Bag (the Cart).

Stripe SDK integrated – Buyers can checkout their Bag and choose to pay Cash on delivery/pick up, or pay with Credit Card (the Admin will need a verified Stripe account).

Like Products – Once you like a product, it goes to the Liked products screen, so you can quickly access them and add them to your Bag for future purchases.

Account screen with Orders list – The account screen shows your profile photo, full name and a list of the Orders you’ve made.

Admin -> Manage Orders on the device – Besides managing buyers orders on the Database with a PC, you can access Orders on the app by logging in as ‘admin’. You, as the Admin of the app, will then be able to set Orders status, view buyers’ location on a Map, and contact them. This is useful in case the delivery guy needs to update orders on the way.

Terms of Use and Privacy Policy HTML file (GDPR compliant) – This template contains a ‘tou.html’ file the Admin can edit to display his Terms of Service to the app’s folks.

AdMob Interstitial ads – Get some revenue from full-screen advertisement banners.

Modern, clean design – The UI has been carefully crafted to offer the best user experience to your clients.

Online Documentation – Read the extensive guide of this template to be able to configure it properly.

PSD icons included in the package – App and buttons icons are stored into a PSD folder, for easy image replacement.


The latest official version of Android Studio – Beta versions of an IDE usually never work 100% properly, and the code of this app has been written using the latest Official version of Android Studio. You must use it and avoid Betas.

An Apple Mac or Windows computer, updated to its latest OS version – It’s always good to keep your computer up to date, technology keeps growing and I follow its changes, as well as updating my templates every time a new OS gets released.

A Google Play Developer Account – This is needed for you to publish apps on the Play Store. You can still edit and test this template on Android Studio without that account though.

Basic knowledge of Android Studio and Java/XML language – You don’t need to be a super-skilled professional developer, anyway it’s recommended to have at least the basic knowledge of what you’re dealing with, in order to be able to customize this template and publish your applications on the Play Store.

XServer API – You can either create an account and a Database on, or buy the XServer REST API and host it into your own VPS server.

An active AdMob account – Unless you want to remove ads in this app, you need to sign up for an AdMob account to display them.

A real device to test the app before submitting it to the Play Store – Emulators may fail during tests, they are not reliable as a real device is, so I strongly recommend you to always run this application on a real phone/tablet. This is also suggested by Google’s official Guidelines.

A verified Stripe account – Create an account on , verify it and get money from purchases in the app

Change log

June 1, 2021

- Updated to Android Studio 4.2.1

- Updated the 'onStart()' function in '' by using the new 'FirebaseMessaging.getInstance().getToken()' function to get the device Token.

- Updated build.gradle's compile options as follows:
    compileOptions {
        sourceCompatibility = JavaVersion.VERSION_1_8
        targetCompatibility = JavaVersion.VERSION_1_8

- Updated the necessary dependencies in build.gradle

April 15, 2021

- Updated to Android Studio 4.1.3
- Updated dependencies in build.gradle
- Edited the 'openCamera()' function in the '' file
- Edited the 'fireInterstitialAd()' function in the '' file

February 1, 2021

- Edited the 'XSCurrentUser()' and 'XSGetPointer()' functions in the '' file

January 22, 2021

- Updated to Android Studio 4.1.2
- Set 'minifyEnabled' into 'true' in 'build.gradle(:app)' [in this way the code gets obfuscated as recently requested by Play Store]

November 19, 2020

- Updated to Android Studio 4.1.1

- In the '' file, replaced this line:
    params.put(ORDERS_TOTAL_AMOUNT, totalAmountTxt.getText().toString());
with this:
    params.put(ORDERS_TOTAL_AMOUNT, totalAmount);

September 25, 2020

- Updated to Android Studio 4.0.1
- Edited the '' file by adding some code to fire interstitial ads after 3 screen's views

September 11, 2020

- Edited the 'XSObject()' function in the '', now it can retrieve the saved data as a JSON object, so it can be used within the saving function
- Edited all the calls of the 'XSObject()'' function in the java files where such call is present

July 7, 2020

- Added lintOptions{} into build.gradle(app), so you can now generate a Signed APK on Android Studio 4.x

July 3, 2020

- First release, Android 6.0 and above
- Native Android Studio project, Java language
- Compatible with all Android devices


For any support requests, please contact me through my Profile’s Contact Form

Rate my Work

Your support is always greatly appreciated, from comments to product’s reviews, so please click here to rate your purchases!