Code

Bazaar | Android Social Listings Shopping Application

Bazaar | Android Social Listings Shopping Application

(7) 5.00 stars
32 Sales

Bazaar | Android Social Listings Shopping Application - 1 Bazaar | Android Social Listings Shopping Application - 2 Bazaar | Android Social Listings Shopping Application - 3 Bazaar | Android Social Listings Shopping Application - 4

Bazaar | Android Social Listings Shopping Application - 5

Bazaar | Android Social Listings Shopping Application - 6

Bazaar | Android Social Listings Shopping Application - 7

Bazaar | Android Social Listings Shopping Application - 8


Bazaar | Android Social Listings Shopping Application - 9 Bazaar is a full-working Application for posting Ads and browsing listings within the app, find cool stuff, like and share posts to popular social networks, chat with users to discuss price, shipping or anything else.
It has a lot of features like editing profile, block users, built-in chat, and much more.
It’s backend is by Parse Server and it’s hosted on back4appNO MySQL database involved. Parse Server is flexible, reliable, open source, based on Node.js and well supported by a large community of developers, and back4app is a great BaaS hosting website where you can configure your database, Push Notifications and Facebook login features in just a few clicks.
This template includes an extensive HTML Documentation file that explains how to configure the app’s features and database.

Bazaar | Android Social Listings Shopping Application - 10 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 flippa.com or similar marketplaces.
IMPORTANT: You are NOT allowed to sell or share the original source code of this template anywhere due to copyright infringement

Bazaar | Android Social Listings Shopping Application - 11

  • Android Java/XML language – Native Android Studio project
  • Android 5.0 and above – Universal
  • Backend with Parse Server hosted on back4app.com
  • Browse stuff from people you follow and don’t, and yours too in the Home screen
  • Built-in chat with sellers
  • Change location with a custom Map screen
  • Email verification
  • Edit/Delete your own Ads from the Listing info screen
  • Share listings to popular social network apps, Mail or Message
  • Report inappropriate listings or people
  • Like listings
  • Search listings by keywords
  • Custom Map screen
  • Notifications screen (check likes and followers notifications)
  • See your Account’s data
  • Setting screen with options like Reset Password, Edit Profile’s info, Push Notifications on/off
  • Intro, Login and Sign Up custom screens
  • Terms of Use and Privacy Policy HTML file (GDPR compliant)
  • Facebook login
  • Push Notifications
  • AdMob Interstitial ads
  • Modern, clean UI design
  • Documentation included in the package
  • PSD icons included in the package


Bazaar | Android Social Listings Shopping Application - 12

  • The latest official version of Android Studio (NO Betas)
  • An Apple Mac or Windows computer, updated to its latest OS version
  • A Google Play Developer Account
  • Basic knowledge of Android Studio and Java language
  • An active AdMob account
  • A real device to test the app before submitting it to the Play Store – the Emulators may fail during test
  • A free account on back4app.com


Bazaar | Android Social Listings Shopping Application - 13

February 22, 2019
- Fixed a bug on Push notifications by editing the following files:
    build.gradle (Module:app)
    Manifest.xml
    Home.java -> 'onStart()' function.

- Updated the 'main.js' file, so you have to upload it again into your own Cloud Code Functions section on back4app and overwrite the existing one, then click the DEPLOY button.

** In order to update your app, compare the updated files mentioned above with your own ones and perform the changes accordingly **  
February 14, 2019
- Added an AlertDialog.Builder inside the 'markAsSoldButt.setOnClickListener()' function - into the 'SellEditStuff.java' file - in order for the app to dismiss the screen after marking an item as SOLD
February 8, 2019
- Updated to Android Studio 3.3.1
- Updated the 'build.gradle(Project:)' and 'build.gradle(Module:app)' files 
[compare the updated code with your old code and perform changes accordingly]
January 23, 2019
- Updated to Android Studio 3.3
- Edited the 'hideHUD()' function in 'Configurations.java' as it follows:
    if (hud != null) { hud.dismiss(); }

- Added 'hideHUD();' instances in 'Home.java' -> 'setDefaultLocation()' and 'setCitySate()' functions
- Edited the 'sellButt.setOnClickListener()' function in 'SellEditItem.java', in order to send a push notification to all those who follow the currentUser
January 18, 2019
- Removed 'boolean' from the 'isNegotiable = adObj' line of code from the 'showItemDetails()' function in the 'SellEditStuff.java' file, now it looks like this:
    // Negotiable
    isNegotiable = adObj.getBoolean(ADS_IS_NEGOTIABLE);

- Fixed a small bug on dismissing the Camera before taking the first picture by editing the SellEditStuff.java file -> 'onActivityResult()' function, I've added this else statement at the end of it:
    // Finish the Activity in case you haven't taken the 1st photo
    } else { if (isFirstPhoto) { finish(); } }

- Added a public function called 'isInternetConnectionAvailable()' into the 'Configurations.java' file, and wrapped the 'void queryAds()' function in 'Home.java' into an IF statement like this:
    // Check for Internet connection
    if (!isInternetConnectionAvailable(ctx)) {
        simpleAlert("Your Internet connection seems to be offline, please check it out and get connected to either WiFi or Mobile data.", ctx);
    } else {
       ...
    }

- Placed the same IF statement into the following files/functions:
  • 'MapScreen.java' -> 'onCreate()' function
  • 'NotificationsScreen.java', -> 'queryNotifications()' function
  • 'Account.java' -> 'queryAds()' function
  • 'AdInfo.java' -> 'showAdInfo() function
  • 'Chats.java' -> 'queryChats()' function
  • 'FollowingAds.java' -> 'queryFollowingAds()' function
  • 'Messages.java' -> 'queryMessages()' function
  • 'SellEditStuff.java' -> 'sellButt.setOnClickListener()' function
  • 'Settings.java' -> 'showUserUserInfo()' function
  • 'SignUp.java' -> 'signUpButt.setOnClickListener()' function
  • 'Intro.java' -> 'facebookButt.setOnClickListener()' function
  • 'Login.java' -> 'loginButt.setOnClickListener()' function
  • 'UserProfile.java' -> 'queryAds()' function
January 17, 2019
- Fixed a crash - occurred after deleting an Ad and then entering the Chats screen - by editing the 'if (options[which] == "Delete Ad")' function into AdInfo.java, and the 'deleteItemButt.setOnClickListener()' function in SellEditStuff.java

•• Into the Configurations.java file:
- Added these lines:
    let MESSAGES_DELETED_BY = "deletedBy" 
    let CHATS_DELETED_BY = "deletedBy" 

•• Into the Messages.java file:
- Added this line into the 'sendMessage()' function:
    mObj.put(MESSAGES_DELETED_BY, new ArrayList<>());

- Added these lines into the 'queryMessages()' function:
    List<String>currentUserID = new ArrayList<>(); 
    currentUserID.add(currentUser.getObjectId());
    query.whereNotContainedIn(MESSAGES_DELETED_BY, currentUserID);

- Added this line into the 'saveLastMessageInChats()' function:
    chatsObj.put(CHATS_DELETED_BY, new ArrayList<>());

- Edited the 'case 2:' statement into the 'optionsButt.setOnClickListener()' function, in order to allow users to delete chat messages only for them, so the ones who they were talking to can still see all messages.

•• Into the Chats.java file:
- Added these lines into the 'queryChats()' function:
     List<String>currentUserID = new ArrayList<>();
     currentUserID.add(currentUser.getObjectId());
     query.whereNotContainedIn(CHATS_DELETED_BY, currentUserID);

**IMPORTANT**: IF THIS IS AN UPDATE FOR YOU, you must perform the following steps:
1. Compare your old files with the ones mentioned above, and perform code changes.
2. After you've performed the code changes, run the app and send at least a chat message to your test users by using the app.
3. Stop the app, enter your Parse Dashboard -> 'Messages' class, find the 'deletedBy' column and fill all its empty cells  by typing [ ] into each one, one by one (double-click into a cell -> type [ ] -> hit Enter)
4. Do the same thing into the 'Chats' class
January 6, 2019
- Replaced
    finish();
with
    startActivity(new Intent(ctx, Home.class));
into SignUp.java and Login.java, in order to fix a bug in case of logout from an account and login to a different one
December 28, 2018
- Fixed a small bug in the Messages.java file -> ' mObj.saveInBackground(new SaveCallback()' function by replacing 
    "someKey" 
with
    "userObjectID" 
In this way, the app will send push notifications for chat messages.

- Set the Facebook Android SDK to its stable '4.37.0' version in build.gradle:
    implementation 'com.facebook.android:facebook-android-sdk:4.37.0'
December 8, 2018
- Replaced 'finish()' with this ine of code into the 'dismissButt()' function in Intro.java:
      startActivity(new Intent(ctx, Home.class));
November 21, 2018
- Fixed a small bug in the account screen by editing 'showUserInfo()' function in Account.java, the emailVerified code
November 7, 2018
- Removed all instances of "Configurations." in all .java files, since I've imported them in the imports section on the top of the .java files
- Changed the Documentation design
October 19 2018
- Updated to Android Studio 3.2.1 - included build.gradle dependencies
- Added this piece of code into Manifest.xml:
   <!-- AdMob -->
   <meta-data
       android:name="com.google.android.gms.ads.APPLICATION_ID" 
       android:value="@string/ADMOB_APP_ID"/>

- Added this line into the 'showAdMobInterstital()' function in Configurations.java:
     MobileAds.initialize(ctx, ctx.getString(R.string.ADMOB_APP_ID));

- Added this line into strings.xml:
     <string name="ADMOB_APP_ID">ca-app-pub-7337790155065092~8384194898</string>

- Updated the Documentation
August 7, 2018
- First release, Android 5.0 and above
- Native Android Studio project, Java language


Bazaar | Android Social Listings Shopping Application - 14 For any support requests, please contact me through my Profile’s Contact Form

Bazaar | Android Social Listings Shopping Application - 15 Your support is always appreciated, from comments to product’s reviews, so please write us a review here

by
by
by
by
by
by