Bazaar is a great solution for you to quickly build a mobile classifieds app with built-in chat, 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: https://play.google.com/store/apps/details?id=com.metago.astro&hl=en
and use it to install the APK. This may happen because of new Android Security options *
DescriptionBazaar is a full-working template (UI + Source Code) to post and browse Ads from any location in the world, and find cool stuff for sale.
People can like and share items on social networks, as well as chat with sellers to discuss price, shipping or simply get more info about the products.
The iOS, Android and PHP versions can share the same database!
The Admin should daily check the database for reported content/users, and take action for it.
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.
• Check out the Demo Database, login as:
• Keep an eye to the Change Log on the bottom of this page when an update gets released.
BackendThe 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 XServer.app 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 XServer.app, but please be aware that implementing a different backend to this template must be performed by you or your developers.
Extended LicenseAs 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 flippa.com or similar marketplaces.
FeaturesJava/XML language – Native Android Studio project – Edit the template as you wish with the power of Android Studio and Java code.
Android 6.0 and above, Universal – Run your app on about 80% of 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 XServer.app, as well as use the XServer REST API hosted on your VPS server.
Browse stuff from people you follow and don’t, and yours too – From the Home screen, you can search for ads from any place, use the built-in Map to select your location – you must allow it on your browser – or search for an address to fetch listings.
Chat with sellers – Ads owners can get private messages from interested users and reply in real time.
Change location on a custom Map – To either post ads or browse them, you can select a location by opening up the Map and move it to place the pin and search for products. You can also type a custom address or city name and select the distance range.
Email verification – After signing up, people will get an email with a validation link. Users with a verified address will be displayed in their profile pages.
Edit/Delete your own Ads – From the Listing Info page, people can choose to delete or edit their items with the 3-dot options button.
Report inappropriate listings or people – Users are able to flag offensive content/sellers, the Admin must daily check the database to see what has been reported and take action for it.
Like listings – Save favorite ads by liking them, you can find them in your Account screen -> Liked section. Search listings by keywords – Keywords search is essential, so you can perform it to find what you need around the selected location.
Notifications screen – Check likes and followers in this section, and get to users profiles.
See your Account’s info – The Account screen is where you can enter the settings and see what ads you have posted, sold or liked.
Settings page – Edit your profile, avatar picture and biography, or logout the website.
Google Sign in – People can quickly sign with their Google account from the Intro page.
Push Notifications – People get Push messages for likes, follow and chat messages.
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.
RequirementsThe 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 AS (download it here. 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’s OS 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 skilled or 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 XServer.app, 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.
June 1, 2021
- Updated to Android Studio 4.2.1
- Updated the 'onStart()' function in 'Home.java' by using the new 'FirebaseMessaging.getInstance().getToken()' function to get the device Token.
- Updated build.gradle's compile options as follows:
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 'ListItemInfo.java' and 'ChatScreen.java' files
- Edited the 'fireInterstitialAd()' function in the 'XServerSDK.java' file
March 22, 2021
- Edited the code inside the 'public static Uri getImageUri()' function, in the 'XServerSDK.java' file, which fixes an issue related to some Android 10 devices when it comes to get pictures with Camera or Gallery
- Edited the code inside the 'onStart()' function of the 'Listings.java' file
February 8, 2021
- Edited the 'queryItems()' function in the 'Listings.java' file - fixed the keywords search bug.
February 1, 2021
- Edited the 'XSCurrentUser()' and 'XSGetPointer()' functions in the 'XServerSDK.java' file
January 26, 2021
- Edited the 'citiesList' array in the 'XServerSDK.java' file by adding a first mandatory element:
"All US Cities"
- Edited the IF statements of the 'queryItems()' function in the 'Listings.java' file
- Edited the 'onCreate()' and 'itemLocationTxt.setOnClickListener()' functions in the 'ListItemInfo.java' file
In this way, users can search for items in all cities of the 'citiesList' array
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]
December 16, 2020
- Added some code into the 'deleteItemButton.setOnClickListener()' function in the 'ListItemInfo.java' file, in order to delete Messages and Chats related to the deleted Item
November 19, 2020
- Updated to Android Studio 4.1.1
September 25, 2020
- Updated to Android Studio 4.0.1
- Moved this line out if its IF statement in the 'ItemInfo.java' file:
September 11, 2020
- Edited the 'XSObject()' function in the 'XServerSDK.java', 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 16, 2020
** MAJOR UPDATE **
- Redesigned UI and code
- Changed backend from Parse Server to XServer
August 7, 2018
- First release, Android 6.0 and above - Native Android Studio project, Java language