diff --git a/OnDemandDelivery-customer/.gitignore b/OnDemandDelivery-customer/.gitignore
new file mode 100644
index 0000000..39fb081
--- /dev/null
+++ b/OnDemandDelivery-customer/.gitignore
@@ -0,0 +1,9 @@
+*.iml
+.gradle
+/local.properties
+/.idea/workspace.xml
+/.idea/libraries
+.DS_Store
+/build
+/captures
+.externalNativeBuild
diff --git a/OnDemandDelivery-customer/.idea/compiler.xml b/OnDemandDelivery-customer/.idea/compiler.xml
new file mode 100644
index 0000000..96cc43e
--- /dev/null
+++ b/OnDemandDelivery-customer/.idea/compiler.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/OnDemandDelivery-customer/.idea/copyright/profiles_settings.xml b/OnDemandDelivery-customer/.idea/copyright/profiles_settings.xml
new file mode 100644
index 0000000..e7bedf3
--- /dev/null
+++ b/OnDemandDelivery-customer/.idea/copyright/profiles_settings.xml
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/OnDemandDelivery-customer/.idea/dictionaries/selva.xml b/OnDemandDelivery-customer/.idea/dictionaries/selva.xml
new file mode 100644
index 0000000..1e233e1
--- /dev/null
+++ b/OnDemandDelivery-customer/.idea/dictionaries/selva.xml
@@ -0,0 +1,7 @@
+
+
+
+ teliver
+
+
+
\ No newline at end of file
diff --git a/OnDemandDelivery-customer/.idea/gradle.xml b/OnDemandDelivery-customer/.idea/gradle.xml
new file mode 100644
index 0000000..7ac24c7
--- /dev/null
+++ b/OnDemandDelivery-customer/.idea/gradle.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/OnDemandDelivery-customer/.idea/inspectionProfiles/Project_Default.xml b/OnDemandDelivery-customer/.idea/inspectionProfiles/Project_Default.xml
new file mode 100644
index 0000000..a5308d8
--- /dev/null
+++ b/OnDemandDelivery-customer/.idea/inspectionProfiles/Project_Default.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/OnDemandDelivery-customer/.idea/inspectionProfiles/profiles_settings.xml b/OnDemandDelivery-customer/.idea/inspectionProfiles/profiles_settings.xml
new file mode 100644
index 0000000..3b31283
--- /dev/null
+++ b/OnDemandDelivery-customer/.idea/inspectionProfiles/profiles_settings.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/OnDemandDelivery-customer/.idea/misc.xml b/OnDemandDelivery-customer/.idea/misc.xml
new file mode 100644
index 0000000..092f11f
--- /dev/null
+++ b/OnDemandDelivery-customer/.idea/misc.xml
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/OnDemandDelivery-customer/.idea/modules.xml b/OnDemandDelivery-customer/.idea/modules.xml
new file mode 100644
index 0000000..c664ef0
--- /dev/null
+++ b/OnDemandDelivery-customer/.idea/modules.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/OnDemandDelivery-customer/.idea/runConfigurations.xml b/OnDemandDelivery-customer/.idea/runConfigurations.xml
new file mode 100644
index 0000000..7f68460
--- /dev/null
+++ b/OnDemandDelivery-customer/.idea/runConfigurations.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/OnDemandDelivery-customer/app/.gitignore b/OnDemandDelivery-customer/app/.gitignore
new file mode 100644
index 0000000..796b96d
--- /dev/null
+++ b/OnDemandDelivery-customer/app/.gitignore
@@ -0,0 +1 @@
+/build
diff --git a/OnDemandDelivery-customer/app/build.gradle b/OnDemandDelivery-customer/app/build.gradle
new file mode 100644
index 0000000..f5edbbf
--- /dev/null
+++ b/OnDemandDelivery-customer/app/build.gradle
@@ -0,0 +1,35 @@
+apply plugin: 'com.android.application'
+
+android {
+ compileSdkVersion 25
+ buildToolsVersion "25.0.3"
+ defaultConfig {
+ applicationId "com.customer"
+ minSdkVersion 14
+ targetSdkVersion 25
+ versionCode 1
+ versionName "1.0"
+ multiDexEnabled true
+ testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
+ }
+ buildTypes {
+ release {
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
+ }
+ }
+
+}
+
+dependencies {
+ compile fileTree(dir: 'libs', include: ['*.jar'])
+ compile 'com.android.support:appcompat-v7:25.3.1'
+ compile 'com.android.support.constraint:constraint-layout:1.0.2'
+ compile 'com.android.support:design:25.3.1'
+ compile 'com.android.support:support-v4:25.3.1'
+ compile 'com.android.support:multidex:1.0.1'
+ compile 'com.android.support:cardview-v7:25.3.1'
+ compile 'com.github.bumptech.glide:glide:3.7.0'
+ compile 'com.teliver.sdk:TeliverSdk:1.0.7'
+}
+apply plugin: 'com.google.gms.google-services'
diff --git a/OnDemandDelivery-customer/app/proguard-rules.pro b/OnDemandDelivery-customer/app/proguard-rules.pro
new file mode 100644
index 0000000..06b93bf
--- /dev/null
+++ b/OnDemandDelivery-customer/app/proguard-rules.pro
@@ -0,0 +1,25 @@
+# Add project specific ProGuard rules here.
+# By default, the flags in this file are appended to flags specified
+# in /home/selva/Android/Sdk/tools/proguard/proguard-android.txt
+# You can edit the include path and order by changing the proguardFiles
+# directive in build.gradle.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# Add any project specific keep options here:
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}
+
+# Uncomment this to preserve the line number information for
+# debugging stack traces.
+#-keepattributes SourceFile,LineNumberTable
+
+# If you keep the line number information, uncomment this to
+# hide the original source file name.
+#-renamesourcefileattribute SourceFile
diff --git a/OnDemandDelivery-customer/app/src/main/AndroidManifest.xml b/OnDemandDelivery-customer/app/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..4b066dd
--- /dev/null
+++ b/OnDemandDelivery-customer/app/src/main/AndroidManifest.xml
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/OnDemandDelivery-customer/app/src/main/assets/fonts/font_rg.ttf b/OnDemandDelivery-customer/app/src/main/assets/fonts/font_rg.ttf
new file mode 100755
index 0000000..adbfc46
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/assets/fonts/font_rg.ttf differ
diff --git a/OnDemandDelivery-customer/app/src/main/assets/fonts/roboto_bold.ttf b/OnDemandDelivery-customer/app/src/main/assets/fonts/roboto_bold.ttf
new file mode 100755
index 0000000..aaf374d
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/assets/fonts/roboto_bold.ttf differ
diff --git a/OnDemandDelivery-customer/app/src/main/assets/fonts/roboto_light.ttf b/OnDemandDelivery-customer/app/src/main/assets/fonts/roboto_light.ttf
new file mode 100755
index 0000000..664e1b2
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/assets/fonts/roboto_light.ttf differ
diff --git a/OnDemandDelivery-customer/app/src/main/assets/fonts/roboto_medium.ttf b/OnDemandDelivery-customer/app/src/main/assets/fonts/roboto_medium.ttf
new file mode 100755
index 0000000..aa00de0
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/assets/fonts/roboto_medium.ttf differ
diff --git a/OnDemandDelivery-customer/app/src/main/java/com/customer/AdapterCartItems.java b/OnDemandDelivery-customer/app/src/main/java/com/customer/AdapterCartItems.java
new file mode 100644
index 0000000..ca6db3a
--- /dev/null
+++ b/OnDemandDelivery-customer/app/src/main/java/com/customer/AdapterCartItems.java
@@ -0,0 +1,60 @@
+package com.customer;
+
+import android.support.v7.widget.RecyclerView;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.ImageView;
+import android.widget.TextView;
+
+import java.util.ArrayList;
+
+
+public class AdapterCartItems extends RecyclerView.Adapter {
+
+ private ArrayList list = new ArrayList<>();
+
+
+ @Override
+ public AdapterCartItems.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
+ View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.layout_cart_items, parent, false);
+ return new ViewHolder(view);
+ }
+
+ @Override
+ public void onBindViewHolder(final AdapterCartItems.ViewHolder holder, final int position) {
+ Model model = list.get(position);
+ holder.txtName.setText(model.getName());
+ holder.txtItemPrice.setText(model.getItemPrice());
+ holder.txtFinalPrice.setText("₹" + model.getFinalPrice());
+ holder.img.setImageResource(model.getIcon());
+ holder.txtQuantity.setText(model.getQuantity());
+ }
+
+ @Override
+ public int getItemCount() {
+ return list.size();
+ }
+
+ public void setData(ArrayList listCartItems) {
+ this.list = listCartItems;
+
+ }
+
+
+ class ViewHolder extends RecyclerView.ViewHolder {
+
+ private TextView txtName, txtFinalPrice, txtItemPrice, txtQuantity;
+
+ private ImageView img;
+
+ private ViewHolder(View itemView) {
+ super(itemView);
+ txtName = (TextView) itemView.findViewById(R.id.txtName);
+ txtItemPrice = (TextView) itemView.findViewById(R.id.txtItemPrice);
+ txtFinalPrice = (TextView) itemView.findViewById(R.id.txtFinalPrice);
+ img = (ImageView) itemView.findViewById(R.id.imgFirstItem);
+ txtQuantity = (TextView) itemView.findViewById(R.id.txtQuantity);
+ }
+ }
+}
\ No newline at end of file
diff --git a/OnDemandDelivery-customer/app/src/main/java/com/customer/Application.java b/OnDemandDelivery-customer/app/src/main/java/com/customer/Application.java
new file mode 100644
index 0000000..ce5a2ec
--- /dev/null
+++ b/OnDemandDelivery-customer/app/src/main/java/com/customer/Application.java
@@ -0,0 +1,46 @@
+package com.customer;
+
+import android.content.SharedPreferences;
+import android.support.multidex.MultiDexApplication;
+
+import com.teliver.sdk.core.Teliver;
+
+public class Application extends MultiDexApplication {
+
+
+ private SharedPreferences sharedPreferences;
+
+ private SharedPreferences.Editor editor;
+
+ @Override
+ public void onCreate() {
+ super.onCreate();
+ Teliver.init(this,"your_teliver_key");
+ sharedPreferences = getSharedPreferences(getString(R.string.app_name), MODE_PRIVATE);
+ editor = sharedPreferences.edit();
+ editor.apply();
+ }
+
+ public void storeStringInPref(String key, String value) {
+ editor.putString(key, value);
+ editor.commit();
+ }
+
+ public void storeBooleanInPref(String key, boolean value) {
+ editor.putBoolean(key, value);
+ editor.commit();
+ }
+
+ public String getStringInPref(String key) {
+ return sharedPreferences.getString(key, null);
+ }
+
+ public boolean getBooleanInPef(String key) {
+ return sharedPreferences.getBoolean(key, false);
+ }
+
+ public void deletePreference() {
+ editor.clear();
+ editor.commit();
+ }
+}
diff --git a/OnDemandDelivery-customer/app/src/main/java/com/customer/Constants.java b/OnDemandDelivery-customer/app/src/main/java/com/customer/Constants.java
new file mode 100644
index 0000000..0545a26
--- /dev/null
+++ b/OnDemandDelivery-customer/app/src/main/java/com/customer/Constants.java
@@ -0,0 +1,13 @@
+package com.customer;
+
+
+public class Constants {
+
+ public static final String STEP_ONE = "step_one",STEP_TWO = "step_two",STEP_THREE="step_three",
+ STEP_FOUR="step_four",STEP_FIVE="step_five",FIRST_TIME="first_time",TRACKING_ID = "tracking_id";
+
+ public static final int COARSE_LOCATION_PERMISSION = 4,SHOW_GPS_DIALOG = 2;
+
+ public static final String STEP_ONE_RUNNING = "step_one_running",STEP_TWO_RUNNING = "step_two_running",
+ STEP_THREE_RUNNING= "step_three_running",STEP_FOUR_RUNNING = "step_three_running";
+}
diff --git a/OnDemandDelivery-customer/app/src/main/java/com/customer/FirebaseMessaging.java b/OnDemandDelivery-customer/app/src/main/java/com/customer/FirebaseMessaging.java
new file mode 100644
index 0000000..16955dc
--- /dev/null
+++ b/OnDemandDelivery-customer/app/src/main/java/com/customer/FirebaseMessaging.java
@@ -0,0 +1,81 @@
+package com.customer;
+
+import android.app.Notification;
+import android.app.NotificationManager;
+import android.app.PendingIntent;
+import android.content.Context;
+import android.content.Intent;
+import android.support.v4.content.LocalBroadcastManager;
+import android.support.v7.app.NotificationCompat;
+import android.util.Log;
+
+import com.customer.activities.ActivityHome;
+import com.google.firebase.messaging.FirebaseMessagingService;
+import com.google.firebase.messaging.RemoteMessage;
+import com.google.gson.GsonBuilder;
+import com.teliver.sdk.core.Teliver;
+import com.teliver.sdk.models.NotificationData;
+
+import java.util.Map;
+
+
+public class FirebaseMessaging extends FirebaseMessagingService {
+
+ private Application application;
+
+ @Override
+ public void onMessageReceived(RemoteMessage remoteMessage) {
+ super.onMessageReceived(remoteMessage);
+
+ Log.d("TELIVER::", "onMessageReceived: PUSH TRy == " +remoteMessage.toString());
+ try {
+ if (Teliver.isTeliverPush(remoteMessage)) {
+ Map pushData = remoteMessage.getData();
+ final NotificationData data = new GsonBuilder().create().fromJson(pushData.get("description"), NotificationData.class);
+ Log.d("TELIVER::", "onMessageReceived: " + "tracking id ==" + data.getTrackingID()
+ + "commnad ==" + data.getCommand() + "message == " + data.getMessage());
+ application = (Application) getApplicationContext();
+ application.storeStringInPref(Constants.TRACKING_ID, data.getTrackingID());
+ Intent intent = new Intent(this, ActivityHome.class);
+ intent.putExtra("msg", data.getMessage());
+ intent.setAction("message");
+ LocalBroadcastManager.getInstance(this).sendBroadcast(intent);
+ if (data.getMessage().equalsIgnoreCase("2"))
+ sendPushNotification(data, getString(R.string.txtOutToDelivery));
+ else if (data.getMessage().equalsIgnoreCase("1"))
+ sendPushNotification(data, getString(R.string.txtNearDoorPush));
+ else if (data.getMessage().equalsIgnoreCase("3"))
+ sendPushNotification(data, getString(R.string.txtDeliveredPush));
+ else sendPushNotification(data,data.getMessage());
+ }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+ private void sendPushNotification(NotificationData data, String pushMessage) {
+ NotificationCompat.Builder notification = new NotificationCompat.Builder(this);
+ notification.setContentTitle("Teliver");
+ notification.setContentText(pushMessage);
+ notification.setSmallIcon(R.drawable.ic_scooter);
+ notification.setLargeIcon(Utils.getBitmapIcon(this));
+
+ notification.setStyle(new NotificationCompat.BigTextStyle().bigText(pushMessage).setBigContentTitle("Teliver"));
+ Intent intent = new Intent(this, ActivityHome.class);
+ intent.putExtra("msg", data.getMessage());
+ intent.putExtra("tracking_id", data.getTrackingID());
+ intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_NEW_TASK);
+
+ PendingIntent pendingIntent = PendingIntent.getActivity(this, 1, intent, PendingIntent.FLAG_UPDATE_CURRENT);
+
+ notification.setContentIntent(pendingIntent);
+ notification.setAutoCancel(true);
+ notification.setPriority(Notification.PRIORITY_MAX);
+ notification.setDefaults(Notification.DEFAULT_ALL);
+
+ NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
+ notificationManager.notify(1, notification.build());
+ }
+}
+
+
diff --git a/OnDemandDelivery-customer/app/src/main/java/com/customer/Model.java b/OnDemandDelivery-customer/app/src/main/java/com/customer/Model.java
new file mode 100644
index 0000000..b65300b
--- /dev/null
+++ b/OnDemandDelivery-customer/app/src/main/java/com/customer/Model.java
@@ -0,0 +1,42 @@
+package com.customer;
+
+
+public class Model {
+
+ private String name, itemPrice, finalPrice,quantity;
+
+ private int icon;
+
+ int getIcon() {
+ return icon;
+ }
+
+ String getQuantity() {
+ return quantity;
+ }
+
+ public Model(String name, String quantity, String itemPrice, String finalPrice, int icon) {
+ this.name = name;
+ this.itemPrice = itemPrice;
+ this.finalPrice = finalPrice;
+ this.icon = icon;
+
+ this.quantity = quantity;
+
+ }
+
+ public String getName() {
+ return name;
+ }
+
+
+ String getItemPrice() {
+ return itemPrice;
+ }
+
+
+ String getFinalPrice() {
+ return finalPrice;
+ }
+
+}
diff --git a/OnDemandDelivery-customer/app/src/main/java/com/customer/Utils.java b/OnDemandDelivery-customer/app/src/main/java/com/customer/Utils.java
new file mode 100644
index 0000000..e76929b
--- /dev/null
+++ b/OnDemandDelivery-customer/app/src/main/java/com/customer/Utils.java
@@ -0,0 +1,71 @@
+package com.customer;
+
+import android.app.Activity;
+import android.content.Context;
+import android.content.pm.PackageManager;
+import android.content.res.TypedArray;
+import android.graphics.Bitmap;
+import android.graphics.Typeface;
+import android.os.Build;
+import android.support.v4.app.ActivityCompat;
+import android.support.v4.content.ContextCompat;
+import android.util.AttributeSet;
+import android.widget.TextView;
+
+import com.bumptech.glide.Glide;
+
+public class Utils {
+ public void init(TextView txtView, Context context, AttributeSet attrs) {
+ try {
+ Typeface typeface = getCustomFont(context, attrs);
+ if (typeface != null)
+ txtView.setTypeface(typeface);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+ private Typeface getCustomFont(Context context, AttributeSet attrs) {
+ Typeface typeface = null;
+ try {
+ TypedArray typedArray = context.obtainStyledAttributes(attrs,
+ R.styleable.CustomWidget);
+ for (int i = 0, count = typedArray.getIndexCount(); i < count; i++) {
+ int attribute = typedArray.getIndex(i);
+ if (attribute == R.styleable.CustomWidget_font_name) {
+ typeface = Typeface.createFromAsset(context.getResources()
+ .getAssets(), typedArray.getString(attribute));
+ }
+ }
+ typedArray.recycle();
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ return typeface;
+ }
+
+
+ public static boolean checkPermission(Activity context) {
+ if (Build.VERSION.SDK_INT >= 23) {
+ if (ContextCompat.checkSelfPermission(context, android.Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED
+ && ContextCompat.checkSelfPermission(context, android.Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) {
+ if (ActivityCompat.shouldShowRequestPermissionRationale(context, android.Manifest.permission.ACCESS_COARSE_LOCATION))
+ ActivityCompat.requestPermissions(context, new String[]{android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION},
+ 4);
+ else {
+ ActivityCompat.requestPermissions(context, new String[]{android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION}, 5);
+ }
+ } else return true;
+ } else return true;
+ return false;
+ }
+
+ public static Bitmap getBitmapIcon(Context context) {
+ try {
+ return Glide.with(context).load(R.drawable.ic_notification_icon).
+ asBitmap().into(144, 144).get();
+ } catch (Exception e) {
+ return null;
+ }
+}
+}
diff --git a/OnDemandDelivery-customer/app/src/main/java/com/customer/activities/ActivityHome.java b/OnDemandDelivery-customer/app/src/main/java/com/customer/activities/ActivityHome.java
new file mode 100644
index 0000000..34a1816
--- /dev/null
+++ b/OnDemandDelivery-customer/app/src/main/java/com/customer/activities/ActivityHome.java
@@ -0,0 +1,385 @@
+package com.customer.activities;
+
+import android.Manifest;
+import android.content.BroadcastReceiver;
+import android.content.Context;
+import android.content.DialogInterface;
+import android.content.Intent;
+import android.content.IntentFilter;
+import android.content.pm.PackageManager;
+import android.location.Location;
+import android.os.Build;
+import android.os.Bundle;
+import android.support.annotation.Nullable;
+import android.support.annotation.RequiresApi;
+import android.support.v4.app.ActivityCompat;
+import android.support.v4.content.ContextCompat;
+import android.support.v4.content.LocalBroadcastManager;
+import android.support.v7.app.AlertDialog;
+import android.support.v7.app.AppCompatActivity;
+import android.support.v7.widget.Toolbar;
+import android.util.Log;
+import android.view.Gravity;
+import android.view.KeyEvent;
+import android.view.View;
+import android.view.Window;
+import android.view.WindowManager;
+import android.widget.ImageView;
+import android.widget.LinearLayout;
+import android.widget.RelativeLayout;
+import android.widget.TextView;
+
+import com.customer.Application;
+import com.customer.Constants;
+import com.customer.R;
+import com.google.android.gms.common.api.GoogleApiClient;
+import com.google.android.gms.location.LocationServices;
+import com.google.android.gms.maps.CameraUpdateFactory;
+import com.google.android.gms.maps.GoogleMap;
+import com.google.android.gms.maps.OnMapReadyCallback;
+import com.google.android.gms.maps.SupportMapFragment;
+import com.google.android.gms.maps.model.BitmapDescriptorFactory;
+import com.google.android.gms.maps.model.LatLng;
+import com.google.android.gms.maps.model.MarkerOptions;
+import com.teliver.sdk.core.Teliver;
+import com.teliver.sdk.core.TrackingListener;
+import com.teliver.sdk.models.MarkerOption;
+import com.teliver.sdk.models.TLocation;
+import com.teliver.sdk.models.TrackingBuilder;
+
+
+public class ActivityHome extends AppCompatActivity implements View.OnClickListener, OnMapReadyCallback, GoogleApiClient.ConnectionCallbacks {
+
+
+ private Application application;
+
+ private TextView txtPayment, txtInKitchen, txtOnRoute, txtDeliverHint, txtDelivered;
+
+ private ImageView imgOne, imgTwo, imgThree, imgFour, imgViewOne, imgViewtwo, imgViewThree;
+
+ private GoogleMap googleMap;
+
+ private GoogleApiClient googleApiClient;
+
+ private LinearLayout layoutDelivered;
+
+ private RelativeLayout layoutTracking;
+
+ private AlertDialog dialog;
+
+ @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_home);
+ LocalBroadcastManager.getInstance(this).registerReceiver(receiver, new IntentFilter("message"));
+ }
+
+ @Override
+ protected void onPostCreate(@Nullable Bundle savedInstanceState) {
+ super.onPostCreate(savedInstanceState);
+ Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
+ setSupportActionBar(toolbar);
+ getSupportActionBar().setDisplayShowHomeEnabled(true);
+ getSupportActionBar().setDisplayHomeAsUpEnabled(true);
+
+ toolbar.setNavigationOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View v) {
+ onBackPressed();
+ }
+ });
+
+ SupportMapFragment supportMapFragment = (SupportMapFragment) getSupportFragmentManager().findFragmentById(R.id.mapView);
+ supportMapFragment.getMapAsync(this);
+ AlertDialog.Builder alert = new AlertDialog.Builder(this);
+ View view = getLayoutInflater().inflate(R.layout.layout_tracking_steps, null);
+ view.setPadding(8, 0, 8, 0);
+
+ txtPayment = (TextView) view.findViewById(R.id.txtpayment);
+ txtInKitchen = (TextView) view.findViewById(R.id.txtInKitchen);
+ txtOnRoute = (TextView) view.findViewById(R.id.initTeliver);
+ txtOnRoute.setOnClickListener(this);
+ txtDeliverHint = (TextView) view.findViewById(R.id.txtDeliveryHint);
+ txtDelivered = (TextView) view.findViewById(R.id.txtDelivered);
+ imgOne = (ImageView) view.findViewById(R.id.imgOne);
+ imgTwo = (ImageView) view.findViewById(R.id.imgTwo);
+ imgThree = (ImageView) view.findViewById(R.id.imgThree);
+ imgFour = (ImageView) view.findViewById(R.id.imgFour);
+ imgViewOne = (ImageView) view.findViewById(R.id.viewOne);
+ imgViewtwo = (ImageView) view.findViewById(R.id.viewTwo);
+ imgViewThree = (ImageView) view.findViewById(R.id.viewThree);
+ layoutDelivered = (LinearLayout) view.findViewById(R.id.layoutdelivered);
+ layoutTracking = (RelativeLayout) view.findViewById(R.id.layoutTracker);
+
+ alert.setView(view);
+
+ application = (Application) getApplicationContext();
+ alert.setCancelable(false);
+ dialog = alert.create();
+ dialog.setOnKeyListener(new DialogInterface.OnKeyListener() {
+ @Override
+ public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event) {
+ if (keyCode == KeyEvent.KEYCODE_BACK && event.getAction() == KeyEvent.ACTION_UP)
+ finish();
+ return false;
+ }
+ });
+
+ Window window = dialog.getWindow();
+ WindowManager.LayoutParams params = window.getAttributes();
+
+ params.gravity = Gravity.BOTTOM;
+ params.flags &= ~WindowManager.LayoutParams.FLAG_DIM_BEHIND;
+ window.setAttributes(params);
+
+
+ dialog.show();
+
+ Intent intent = getIntent();
+
+ if (intent != null) {
+ String msg = getIntent().getStringExtra("msg");
+ setStates(msg);
+ }
+ txtOnRoute.setEnabled(false);
+ }
+
+ private void maintainState() {
+ if (application.getBooleanInPef(Constants.STEP_ONE)) {
+ txtPayment.setTextColor(ContextCompat.getColor(this, R.color.colorGreen));
+ setCompletedIcon(imgOne, imgViewOne);
+ }
+ if (application.getBooleanInPef(Constants.STEP_TWO)) {
+ setCompletedText(txtPayment, txtInKitchen, imgTwo, imgViewtwo);
+ setCompletedText(txtPayment, txtDeliverHint, imgTwo, imgViewtwo);
+ setCompletedIcon(imgTwo, imgViewtwo);
+ txtOnRoute.setEnabled(true);
+ }
+ if (application.getBooleanInPef(Constants.STEP_THREE)) {
+ setCompletedText(txtInKitchen, txtOnRoute, imgThree, imgViewThree);
+ setCompletedText(txtDeliverHint, txtOnRoute, imgThree, imgViewThree);
+ setCompletedIcon(imgThree, imgViewThree);
+ }
+ if (application.getBooleanInPef(Constants.STEP_FOUR)) {
+ storeStepCompletion(Constants.STEP_FOUR);
+ layoutTracking.setVisibility(View.GONE);
+ layoutDelivered.setVisibility(View.VISIBLE);
+ Window window = dialog.getWindow();
+ WindowManager.LayoutParams params = window.getAttributes();
+ params.gravity = Gravity.CENTER;
+ window.setAttributes(params);
+ }
+ if (application.getBooleanInPef(Constants.STEP_ONE_RUNNING)) {
+ txtPayment.setTextColor(ContextCompat.getColor(this, R.color.colorOrange));
+ changeTintMode(imgOne, imgViewOne);
+ }
+ if (application.getBooleanInPef(Constants.STEP_TWO_RUNNING)) {
+ txtInKitchen.setTextColor(ContextCompat.getColor(this, R.color.colorOrange));
+ txtDeliverHint.setTextColor(ContextCompat.getColor(this, R.color.colorOrange));
+ changeTintMode(imgTwo, imgViewtwo);
+ }
+ if (application.getBooleanInPef(Constants.STEP_THREE_RUNNING)) {
+ changeTintMode(imgThree, imgViewThree);
+ txtOnRoute.setTextColor(ContextCompat.getColor(this, R.color.colorOrange));
+ }
+ }
+
+ private void setCompletedText(TextView txtNow, TextView txtNext, ImageView img, ImageView imgViewLine) {
+ txtNow.setTextColor(ContextCompat.getColor(this, R.color.colorGreen));
+ txtNext.setTextColor(ContextCompat.getColor(this, R.color.colorGreen));
+ img.setColorFilter(ContextCompat.getColor(this, R.color.colorGreen));
+ imgViewLine.setColorFilter(ContextCompat.getColor(this, R.color.colorGreen));
+ }
+
+ private void setCompletedIcon(ImageView img, ImageView imgViewLine) {
+ img.setColorFilter(ContextCompat.getColor(this, R.color.colorGreen));
+ imgViewLine.setColorFilter(ContextCompat.getColor(this, R.color.colorGreen));
+ }
+
+ private void changeTintMode(ImageView imgStatus, ImageView imgView) {
+ imgStatus.setColorFilter(ContextCompat.getColor(this, R.color.colorOrange));
+ imgView.setColorFilter(ContextCompat.getColor(this, R.color.colorOrange));
+ }
+
+ public void setStates(String message) {
+ if (message != null) {
+ switch (message) {
+ case "1":
+ txtPayment.setTextColor(ContextCompat.getColor(this, R.color.colorGreen));
+ setCompletedIcon(imgOne, imgViewOne);
+ application.storeBooleanInPref(Constants.STEP_ONE_RUNNING, false);
+ changeColors(txtPayment, txtInKitchen, imgTwo, imgViewtwo);
+ changeColors(txtPayment, txtDeliverHint, imgTwo, imgViewtwo);
+ changeTintMode(imgTwo, imgViewtwo);
+ storeStepCompletion(Constants.STEP_ONE);
+ storeStepCompletion(Constants.STEP_TWO_RUNNING);
+ setCompletedIcon(imgOne, imgViewOne);
+ break;
+ case "2":
+ txtOnRoute.setEnabled(true);
+ changeColors(txtInKitchen, txtOnRoute, imgThree, imgViewThree);
+ changeColors(txtDeliverHint, txtOnRoute, imgThree, imgViewThree);
+ changeTintMode(imgThree, imgViewThree);
+ storeStepCompletion(Constants.STEP_TWO);
+ storeStepCompletion(Constants.STEP_THREE_RUNNING);
+ application.storeBooleanInPref(Constants.STEP_TWO_RUNNING, false);
+ setCompletedIcon(imgTwo, imgViewtwo);
+ break;
+ case "3":
+ setCompletedIcon(imgThree, imgViewThree);
+ storeStepCompletion(Constants.STEP_THREE);
+ application.storeBooleanInPref(Constants.STEP_THREE_RUNNING, false);
+ storeStepCompletion(Constants.STEP_FOUR);
+ layoutTracking.setVisibility(View.GONE);
+ layoutDelivered.setVisibility(View.VISIBLE);
+ Window window = dialog.getWindow();
+ WindowManager.LayoutParams params = window.getAttributes();
+ params.gravity = Gravity.CENTER;
+ window.setAttributes(params);
+ break;
+ default:
+ break;
+ }
+ }
+ }
+
+
+ private void changeColors(TextView txtView, TextView txtNext, ImageView img, ImageView imgView) {
+ txtView.setTextColor(ContextCompat.getColor(this, R.color.colorGreen));
+ txtNext.setTextColor(ContextCompat.getColor(this, R.color.colorOrange));
+ img.setColorFilter(ContextCompat.getColor(this, R.color.colorOrange));
+ imgView.setColorFilter(ContextCompat.getColor(this, R.color.colorOrange));
+
+ }
+
+ private void storeStepCompletion(String step) {
+ application.storeBooleanInPref(step, true);
+ }
+
+ public void startTracking(String trackingID) {
+
+ TrackingBuilder builder = new TrackingBuilder(new MarkerOption(trackingID)).withListener(new TrackingListener() {
+ @Override
+ public void onTrackingStarted(String trackingId) {
+ Log.d("TELIVER::", "onTrackingStarted: " + trackingId);
+ }
+
+ @Override
+ public void onLocationUpdate(String trackingId, TLocation location) {
+ Log.d("TELIVER::", "onLocationUpdate: " + location.getLatitude() + location.getLongitude());
+ }
+
+ @Override
+ public void onTrackingEnded(String trackingId) {
+ Log.d("TELIVER::", "onTrackingEnded: " + trackingId);
+ }
+
+ @Override
+ public void onTrackingError(String reason) {
+ Log.d("TELIVER::", "onTrackingError: " + reason);
+ }
+ });
+ Teliver.startTracking(builder.build());
+ }
+
+ @Override
+ public void onClick(View v) {
+ switch (v.getId()) {
+ case R.id.initTeliver:
+ String trackingId = application.getStringInPref(Constants.TRACKING_ID);
+ startTracking(trackingId);
+ break;
+ }
+ }
+
+ @Override
+ public void onMapReady(GoogleMap googleMap) {
+ this.googleMap = googleMap;
+ if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {
+ return;
+ }
+ buildGoogleApiClient();
+ }
+
+ private void buildGoogleApiClient() {
+ googleApiClient = new GoogleApiClient.Builder(this)
+ .addApi(LocationServices.API)
+ .addConnectionCallbacks(this)
+ .build();
+ googleApiClient.connect();
+ }
+
+ @Override
+ public void onConnected(@Nullable Bundle bundle) {
+ if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {
+ return;
+ }
+ Location location = LocationServices.FusedLocationApi.getLastLocation(googleApiClient);
+ if (location != null) {
+ LatLng latLng = new LatLng(location.getLatitude(), location.getLongitude());
+ googleMap.addMarker(new MarkerOptions().icon(BitmapDescriptorFactory.defaultMarker(BitmapDescriptorFactory.HUE_RED)).position(latLng));
+ googleMap.moveCamera(CameraUpdateFactory.newLatLngZoom(latLng, 14));
+ }
+ }
+
+ @Override
+ public void onConnectionSuspended(int i) {
+
+ }
+
+
+ @Override
+ public void onBackPressed() {
+ super.onBackPressed();
+
+ }
+
+ @Override
+ protected void onResume() {
+ maintainState();
+ if (application.getBooleanInPef(Constants.STEP_FOUR))
+ application.deletePreference();
+ if (dialog != null)
+ dialog.show();
+ super.onResume();
+ }
+
+ private BroadcastReceiver receiver = new BroadcastReceiver() {
+ @Override
+ public void onReceive(Context context, Intent intent) {
+ setStates(intent.getStringExtra("msg"));
+ }
+ };
+
+ @Override
+ protected void onPause() {
+ if (dialog != null)
+ dialog.dismiss();
+ super.onPause();
+ }
+
+ @Override
+ protected void onDestroy() {
+ if (dialog != null)
+ dialog.dismiss();
+ super.onDestroy();
+ }
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/OnDemandDelivery-customer/app/src/main/java/com/customer/activities/ActivityTracking.java b/OnDemandDelivery-customer/app/src/main/java/com/customer/activities/ActivityTracking.java
new file mode 100644
index 0000000..f2bdd8e
--- /dev/null
+++ b/OnDemandDelivery-customer/app/src/main/java/com/customer/activities/ActivityTracking.java
@@ -0,0 +1,151 @@
+package com.customer.activities;
+
+import android.content.Intent;
+import android.content.pm.PackageManager;
+import android.graphics.PorterDuff;
+import android.graphics.drawable.Drawable;
+import android.os.Bundle;
+import android.support.annotation.NonNull;
+import android.support.annotation.Nullable;
+import android.support.v4.content.ContextCompat;
+import android.support.v7.app.AppCompatActivity;
+import android.support.v7.widget.LinearLayoutManager;
+import android.support.v7.widget.RecyclerView;
+import android.support.v7.widget.Toolbar;
+import android.view.View;
+import android.widget.Toast;
+
+import com.customer.AdapterCartItems;
+import com.customer.Application;
+import com.customer.Constants;
+import com.customer.Model;
+import com.customer.R;
+import com.customer.Utils;
+import com.google.android.gms.common.api.GoogleApiClient;
+import com.google.android.gms.common.api.PendingResult;
+import com.google.android.gms.common.api.ResultCallback;
+import com.google.android.gms.common.api.Status;
+import com.google.android.gms.location.LocationRequest;
+import com.google.android.gms.location.LocationServices;
+import com.google.android.gms.location.LocationSettingsRequest;
+import com.google.android.gms.location.LocationSettingsResult;
+import com.google.android.gms.location.LocationSettingsStatusCodes;
+import com.teliver.sdk.core.TLog;
+import com.teliver.sdk.core.Teliver;
+import com.teliver.sdk.models.UserBuilder;
+
+import java.util.ArrayList;
+
+public class ActivityTracking extends AppCompatActivity {
+
+ private String username = "shivakumar",driverName = "driver_4";
+
+ private Application application;
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_tracking);
+ TLog.setVisible(true);
+ }
+
+
+ @Override
+ protected void onPostCreate(@Nullable Bundle savedInstanceState) {
+ super.onPostCreate(savedInstanceState);
+ application = (Application) getApplication();
+ Toolbar toolbar = (Toolbar) findViewById(R.id.toolbarCart);
+ setSupportActionBar(toolbar);
+ getSupportActionBar().setDisplayHomeAsUpEnabled(true);
+ getSupportActionBar().setDisplayShowHomeEnabled(true);
+ toolbar.setNavigationOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View v) {
+ onBackPressed();
+ }
+ });
+ Drawable drawable = toolbar.getNavigationIcon();
+ drawable.setColorFilter(ContextCompat.getColor(this, R.color.colorWhite), PorterDuff.Mode.SRC_ATOP);
+
+ RecyclerView recyclerView = (RecyclerView) findViewById(R.id.recyclerView);
+ recyclerView.setLayoutManager(new LinearLayoutManager(this));
+ ArrayList listCartItems = new ArrayList<>();
+ AdapterCartItems adapterCartItems = new AdapterCartItems();
+
+ listCartItems.add(new Model("Veg hot garlic Sauce Momo", "1", "149.00", "149.00", R.drawable.ic_veg));
+ listCartItems.add(new Model("Veg Spicy Mayo Tossed Momo", "2", "170.00", "340.00", R.drawable.ic_veg));
+ listCartItems.add(new Model("Veg Tossed Momo", "2", "170.00", "340.00", R.drawable.ic_veg));
+
+ adapterCartItems.setData(listCartItems);
+ recyclerView.setAdapter(adapterCartItems);
+ adapterCartItems.notifyDataSetChanged();
+
+ findViewById(R.id.btnTracker).setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View v) {
+ startActivity(new Intent(ActivityTracking.this, ActivityHome.class));
+ }
+ });
+
+ if (Utils.checkPermission(this)) {
+ checkGps();
+ }
+ Teliver.identifyUser(new UserBuilder(username).
+ setUserType(UserBuilder.USER_TYPE.CONSUMER).registerPush().build());
+ }
+
+ @Override
+ protected void onResume() {
+ super.onResume();
+ }
+
+
+ private void checkGps() {
+ GoogleApiClient googleApiClient = new GoogleApiClient.Builder(this)
+ .addApi(LocationServices.API)
+ .build();
+ googleApiClient.connect();
+
+ LocationRequest locationRequest = LocationRequest.create();
+ locationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);
+
+ LocationSettingsRequest.Builder builder = new LocationSettingsRequest.Builder()
+ .addLocationRequest(locationRequest);
+ builder.setAlwaysShow(true);
+
+ PendingResult result = LocationServices.SettingsApi.checkLocationSettings(googleApiClient, builder.build());
+ result.setResultCallback(new ResultCallback() {
+ @Override
+ public void onResult(@NonNull LocationSettingsResult locationSettingsResult) {
+ Status status = locationSettingsResult.getStatus();
+ if (status.getStatusCode() == LocationSettingsStatusCodes.RESOLUTION_REQUIRED) {
+ try {
+ status.startResolutionForResult(ActivityTracking.this, Constants.SHOW_GPS_DIALOG);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+ }
+ });
+ }
+
+ @Override
+ protected void onActivityResult(int requestCode, int resultCode, Intent data) {
+ super.onActivityResult(requestCode, resultCode, data);
+ if (requestCode == Constants.SHOW_GPS_DIALOG && resultCode == RESULT_OK)
+ Toast.makeText(ActivityTracking.this, "Gps is turned on", Toast.LENGTH_SHORT).show();
+ else if (requestCode == Constants.SHOW_GPS_DIALOG && resultCode == RESULT_CANCELED)
+ finish();
+ }
+
+ @Override
+ public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) {
+ super.onRequestPermissionsResult(requestCode, permissions, grantResults);
+ switch (requestCode) {
+ case Constants.COARSE_LOCATION_PERMISSION:
+ if (grantResults[0] != PackageManager.PERMISSION_GRANTED)
+ finish();
+ else checkGps();
+ }
+ }
+}
diff --git a/OnDemandDelivery-customer/app/src/main/java/com/customer/views/CustomEditText.java b/OnDemandDelivery-customer/app/src/main/java/com/customer/views/CustomEditText.java
new file mode 100755
index 0000000..561c807
--- /dev/null
+++ b/OnDemandDelivery-customer/app/src/main/java/com/customer/views/CustomEditText.java
@@ -0,0 +1,60 @@
+
+package com.customer.views;
+
+import android.content.Context;
+import android.support.v7.widget.AppCompatEditText;
+import android.util.AttributeSet;
+import android.widget.EditText;
+
+import com.customer.Utils;
+
+
+/**
+ * The Class CustomEditTextView.
+ */
+public class CustomEditText extends AppCompatEditText {
+
+ /** The m utils. */
+ private Utils mUtils;
+
+ /**
+ * Instantiates a new custom edit text view.
+ *
+ * @param context
+ * the context
+ */
+ public CustomEditText(Context context) {
+ super(context);
+ }
+
+ /**
+ * Instantiates a new custom edit text view.
+ *
+ * @param context
+ * the context
+ * @param attrs
+ * the attrs
+ */
+ public CustomEditText(Context context, AttributeSet attrs) {
+ super(context, attrs);
+ mUtils = new Utils();
+ mUtils.init(this, context, attrs);
+ }
+
+ /**
+ * Instantiates a new custom edit text view.
+ *
+ * @param context
+ * the context
+ * @param attrs
+ * the attrs
+ * @param defStyle
+ * the def style
+ */
+ public CustomEditText(Context context, AttributeSet attrs, int defStyle) {
+ super(context, attrs, defStyle);
+ mUtils = new Utils();
+ mUtils.init(this, context, attrs);
+ }
+
+}
diff --git a/OnDemandDelivery-customer/app/src/main/java/com/customer/views/CustomTextView.java b/OnDemandDelivery-customer/app/src/main/java/com/customer/views/CustomTextView.java
new file mode 100755
index 0000000..9cfb64d
--- /dev/null
+++ b/OnDemandDelivery-customer/app/src/main/java/com/customer/views/CustomTextView.java
@@ -0,0 +1,59 @@
+
+package com.customer.views;
+
+import android.content.Context;
+import android.support.v7.widget.AppCompatTextView;
+import android.util.AttributeSet;
+
+import com.customer.Utils;
+
+
+/**
+ * The Class CustomTextView.
+ */
+public class CustomTextView extends AppCompatTextView {
+
+ /** The m utils. */
+ private Utils mUtils;
+
+ /**
+ * Instantiates a new custom text view.
+ *
+ * @param context
+ * the context
+ */
+ public CustomTextView(Context context) {
+ super(context);
+ }
+
+ /**
+ * Instantiates a new custom text view.
+ *
+ * @param context
+ * the context
+ * @param attrs
+ * the attrs
+ */
+ public CustomTextView(Context context, AttributeSet attrs) {
+ super(context, attrs);
+ mUtils = new Utils();
+ mUtils.init(this, context, attrs);
+ }
+
+ /**
+ * Instantiates a new custom text view.
+ *
+ * @param context
+ * the context
+ * @param attrs
+ * the attrs
+ * @param defStyle
+ * the def style
+ */
+ public CustomTextView(Context context, AttributeSet attrs, int defStyle) {
+ super(context, attrs, defStyle);
+ mUtils = new Utils();
+ mUtils.init(this, context, attrs);
+ }
+
+}
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_add.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_add.png
new file mode 100644
index 0000000..9eee4cf
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_add.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_bagi.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_bagi.png
new file mode 100644
index 0000000..aa54a39
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_bagi.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_boy.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_boy.png
new file mode 100644
index 0000000..ba74c32
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_boy.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_checked_bag.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_checked_bag.png
new file mode 100644
index 0000000..6b5b6bf
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_checked_bag.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_checked_food.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_checked_food.png
new file mode 100644
index 0000000..9e191a4
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_checked_food.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_checked_ok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_checked_ok.png
new file mode 100644
index 0000000..9eb8096
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_checked_ok.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_checked_plate.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_checked_plate.png
new file mode 100644
index 0000000..6ad6292
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_checked_plate.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_hint_line.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_hint_line.png
new file mode 100644
index 0000000..301264b
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_hint_line.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_multiply.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_multiply.png
new file mode 100644
index 0000000..d0aa8b3
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_multiply.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_non_veg.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_non_veg.png
new file mode 100644
index 0000000..c99d511
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_non_veg.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_notification.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_notification.png
new file mode 100644
index 0000000..ed66640
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_notification.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_notification_icon.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_notification_icon.png
new file mode 100644
index 0000000..7add1ad
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_notification_icon.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_ok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_ok.png
new file mode 100644
index 0000000..0e0aa7f
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_ok.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_orange_line.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_orange_line.png
new file mode 100644
index 0000000..3f63898
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_orange_line.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_platiie_orange.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_platiie_orange.png
new file mode 100644
index 0000000..30cab4d
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_platiie_orange.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_re_bag.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_re_bag.png
new file mode 100644
index 0000000..1a76607
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_re_bag.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_re_ok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_re_ok.png
new file mode 100644
index 0000000..a65dcd1
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_re_ok.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_re_plate.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_re_plate.png
new file mode 100644
index 0000000..52b1a6f
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_re_plate.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_rec_food.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_rec_food.png
new file mode 100644
index 0000000..dbab692
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_rec_food.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_right_arrow.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_right_arrow.png
new file mode 100644
index 0000000..ad5d4ba
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_right_arrow.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_sub.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_sub.png
new file mode 100644
index 0000000..c7b0486
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_sub.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_telivered.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_telivered.png
new file mode 100644
index 0000000..d3351b5
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_telivered.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_test_line.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_test_line.png
new file mode 100644
index 0000000..8062d48
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_test_line.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_veg.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_veg.png
new file mode 100644
index 0000000..5703077
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/ic_veg.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/iccircle.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/iccircle.png
new file mode 100644
index 0000000..3921252
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/iccircle.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/icok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/icok.png
new file mode 100644
index 0000000..5da694f
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-hdpi/icok.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_add.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_add.png
new file mode 100644
index 0000000..0fb9b30
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_add.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_bagi.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_bagi.png
new file mode 100644
index 0000000..1959e5c
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_bagi.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_boy.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_boy.png
new file mode 100644
index 0000000..e878232
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_boy.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_checked_bag.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_checked_bag.png
new file mode 100644
index 0000000..7b71e93
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_checked_bag.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_checked_food.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_checked_food.png
new file mode 100644
index 0000000..c27abc4
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_checked_food.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_checked_ok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_checked_ok.png
new file mode 100644
index 0000000..af8a165
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_checked_ok.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_checked_plate.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_checked_plate.png
new file mode 100644
index 0000000..9fa4b25
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_checked_plate.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_hint_line.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_hint_line.png
new file mode 100644
index 0000000..0dbbfc3
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_hint_line.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_multiply.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_multiply.png
new file mode 100644
index 0000000..fb08824
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_multiply.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_non_veg.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_non_veg.png
new file mode 100644
index 0000000..804511c
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_non_veg.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_notification.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_notification.png
new file mode 100644
index 0000000..ecab4fa
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_notification.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_notification_icon.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_notification_icon.png
new file mode 100644
index 0000000..a9aeb76
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_notification_icon.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_ok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_ok.png
new file mode 100644
index 0000000..e2f1fb1
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_ok.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_orange_line.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_orange_line.png
new file mode 100644
index 0000000..3fa1282
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_orange_line.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_platiie_orange.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_platiie_orange.png
new file mode 100644
index 0000000..64f18b7
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_platiie_orange.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_re_bag.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_re_bag.png
new file mode 100644
index 0000000..4d9a7c1
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_re_bag.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_re_ok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_re_ok.png
new file mode 100644
index 0000000..772c2b1
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_re_ok.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_re_plate.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_re_plate.png
new file mode 100644
index 0000000..a7b8c8a
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_re_plate.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_rec_food.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_rec_food.png
new file mode 100644
index 0000000..382004d
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_rec_food.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_right_arrow.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_right_arrow.png
new file mode 100644
index 0000000..8b3ef97
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_right_arrow.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_sub.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_sub.png
new file mode 100644
index 0000000..3a020f2
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_sub.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_telivered.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_telivered.png
new file mode 100644
index 0000000..9022c10
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_telivered.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_test_line.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_test_line.png
new file mode 100644
index 0000000..79c9fca
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_test_line.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_veg.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_veg.png
new file mode 100644
index 0000000..8dd27a3
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/ic_veg.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/iccircle.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/iccircle.png
new file mode 100644
index 0000000..19a8067
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/iccircle.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/icok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/icok.png
new file mode 100644
index 0000000..0151ba4
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-mdpi/icok.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_add.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_add.png
new file mode 100644
index 0000000..de15c0a
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_add.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_bagi.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_bagi.png
new file mode 100644
index 0000000..02bfdd9
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_bagi.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_boy.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_boy.png
new file mode 100644
index 0000000..d1930cb
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_boy.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_checked_bag.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_checked_bag.png
new file mode 100644
index 0000000..6066348
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_checked_bag.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_checked_food.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_checked_food.png
new file mode 100644
index 0000000..a745561
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_checked_food.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_checked_ok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_checked_ok.png
new file mode 100644
index 0000000..1cd1cb6
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_checked_ok.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_checked_plate.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_checked_plate.png
new file mode 100644
index 0000000..8323f03
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_checked_plate.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_hint_line.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_hint_line.png
new file mode 100644
index 0000000..0191aed
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_hint_line.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_multiply.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_multiply.png
new file mode 100644
index 0000000..0d9576a
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_multiply.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_non_veg.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_non_veg.png
new file mode 100644
index 0000000..c99d511
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_non_veg.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_notification.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_notification.png
new file mode 100644
index 0000000..84826b3
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_notification.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_notification_icon.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_notification_icon.png
new file mode 100644
index 0000000..1a6a855
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_notification_icon.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_ok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_ok.png
new file mode 100644
index 0000000..85c84f5
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_ok.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_orange_line.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_orange_line.png
new file mode 100644
index 0000000..4548c61
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_orange_line.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_platiie_orange.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_platiie_orange.png
new file mode 100644
index 0000000..d3b8703
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_platiie_orange.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_re_bag.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_re_bag.png
new file mode 100644
index 0000000..a666100
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_re_bag.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_re_ok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_re_ok.png
new file mode 100644
index 0000000..a239da3
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_re_ok.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_re_plate.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_re_plate.png
new file mode 100644
index 0000000..4461f94
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_re_plate.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_rec_food.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_rec_food.png
new file mode 100644
index 0000000..b9e59ba
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_rec_food.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_right_arrow.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_right_arrow.png
new file mode 100644
index 0000000..546a69c
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_right_arrow.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_sub.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_sub.png
new file mode 100644
index 0000000..8192e95
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_sub.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_telivered.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_telivered.png
new file mode 100644
index 0000000..cf8f43f
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_telivered.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_test_line.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_test_line.png
new file mode 100644
index 0000000..4dc4e55
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_test_line.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_veg.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_veg.png
new file mode 100644
index 0000000..f63bc5f
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/ic_veg.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/iccircle.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/iccircle.png
new file mode 100644
index 0000000..a3d7afd
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/iccircle.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/icok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/icok.png
new file mode 100644
index 0000000..755dff4
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xhdpi/icok.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_add.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_add.png
new file mode 100644
index 0000000..e19d5d3
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_add.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_bagi.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_bagi.png
new file mode 100644
index 0000000..0054b3a
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_bagi.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_boy.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_boy.png
new file mode 100644
index 0000000..41eebe4
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_boy.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_checked_bag.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_checked_bag.png
new file mode 100644
index 0000000..6fe0df7
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_checked_bag.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_checked_food.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_checked_food.png
new file mode 100644
index 0000000..8c77078
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_checked_food.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_checked_ok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_checked_ok.png
new file mode 100644
index 0000000..06b61ab
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_checked_ok.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_checked_plate.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_checked_plate.png
new file mode 100644
index 0000000..08ee2c9
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_checked_plate.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_hint_line.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_hint_line.png
new file mode 100644
index 0000000..b90926e
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_hint_line.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_multiply.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_multiply.png
new file mode 100644
index 0000000..d6450f2
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_multiply.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_non_veg.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_non_veg.png
new file mode 100644
index 0000000..c99d511
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_non_veg.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_notification.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_notification.png
new file mode 100644
index 0000000..32ea4ef
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_notification.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_notification_icon.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_notification_icon.png
new file mode 100644
index 0000000..ce2085e
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_notification_icon.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_ok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_ok.png
new file mode 100644
index 0000000..96a1015
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_ok.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_orange_line.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_orange_line.png
new file mode 100644
index 0000000..c2d2366
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_orange_line.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_platiie_orange.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_platiie_orange.png
new file mode 100644
index 0000000..935055b
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_platiie_orange.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_re_bag.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_re_bag.png
new file mode 100644
index 0000000..720db2c
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_re_bag.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_re_ok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_re_ok.png
new file mode 100644
index 0000000..80e5df5
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_re_ok.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_re_plate.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_re_plate.png
new file mode 100644
index 0000000..f4e0911
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_re_plate.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_rec_food.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_rec_food.png
new file mode 100644
index 0000000..1804cb2
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_rec_food.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_right_arrow.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_right_arrow.png
new file mode 100644
index 0000000..c899d21
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_right_arrow.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_sub.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_sub.png
new file mode 100644
index 0000000..54c521b
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_sub.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_telivered.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_telivered.png
new file mode 100644
index 0000000..ec6fa73
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_telivered.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_test_line.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_test_line.png
new file mode 100644
index 0000000..377304c
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_test_line.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_veg.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_veg.png
new file mode 100644
index 0000000..053bfb8
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/ic_veg.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/iccircle.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/iccircle.png
new file mode 100644
index 0000000..f1f2069
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/iccircle.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/icok.png b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/icok.png
new file mode 100644
index 0000000..03f15f2
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable-xxhdpi/icok.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_add.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_add.png
new file mode 100644
index 0000000..4855ac4
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_add.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_bagi.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_bagi.png
new file mode 100644
index 0000000..449226d
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_bagi.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_boy.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_boy.png
new file mode 100644
index 0000000..7a016be
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_boy.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_car.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_car.png
new file mode 100644
index 0000000..0d4609c
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_car.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_checked_bag.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_checked_bag.png
new file mode 100644
index 0000000..6fe0df7
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_checked_bag.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_checked_food.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_checked_food.png
new file mode 100644
index 0000000..8c77078
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_checked_food.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_checked_ok.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_checked_ok.png
new file mode 100644
index 0000000..06b61ab
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_checked_ok.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_checked_plate.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_checked_plate.png
new file mode 100644
index 0000000..08ee2c9
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_checked_plate.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_hint_line.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_hint_line.png
new file mode 100644
index 0000000..41cc032
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_hint_line.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_launcher.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_launcher.png
new file mode 100644
index 0000000..5a41476
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_launcher.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_multiply.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_multiply.png
new file mode 100644
index 0000000..448f816
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_multiply.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_non_veg.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_non_veg.png
new file mode 100644
index 0000000..c99d511
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_non_veg.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_notification.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_notification.png
new file mode 100644
index 0000000..87123a2
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_notification.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_notification_icon.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_notification_icon.png
new file mode 100644
index 0000000..c61c2b3
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_notification_icon.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_ok.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_ok.png
new file mode 100644
index 0000000..3c0f189
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_ok.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_orange_line.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_orange_line.png
new file mode 100644
index 0000000..1f44564
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_orange_line.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_platiie_orange.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_platiie_orange.png
new file mode 100644
index 0000000..495182d
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_platiie_orange.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_re_bag.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_re_bag.png
new file mode 100644
index 0000000..720db2c
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_re_bag.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_re_ok.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_re_ok.png
new file mode 100644
index 0000000..80e5df5
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_re_ok.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_re_plate.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_re_plate.png
new file mode 100644
index 0000000..f4e0911
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_re_plate.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_rec_food.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_rec_food.png
new file mode 100644
index 0000000..1804cb2
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_rec_food.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_right_arrow.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_right_arrow.png
new file mode 100644
index 0000000..e6a735f
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_right_arrow.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_scooter.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_scooter.png
new file mode 100644
index 0000000..e439ce0
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_scooter.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_sub.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_sub.png
new file mode 100644
index 0000000..9a4d9c8
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_sub.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_telivered.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_telivered.png
new file mode 100644
index 0000000..3972b19
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_telivered.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_test_line.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_test_line.png
new file mode 100644
index 0000000..5f981b9
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_test_line.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/ic_veg.png b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_veg.png
new file mode 100644
index 0000000..ce14bca
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/ic_veg.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/iccircle.png b/OnDemandDelivery-customer/app/src/main/res/drawable/iccircle.png
new file mode 100644
index 0000000..8609c46
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/iccircle.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/drawable/icok.png b/OnDemandDelivery-customer/app/src/main/res/drawable/icok.png
new file mode 100644
index 0000000..7793728
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/drawable/icok.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/layout/activity_home.xml b/OnDemandDelivery-customer/app/src/main/res/layout/activity_home.xml
new file mode 100644
index 0000000..155971f
--- /dev/null
+++ b/OnDemandDelivery-customer/app/src/main/res/layout/activity_home.xml
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/OnDemandDelivery-customer/app/src/main/res/layout/activity_tracking.xml b/OnDemandDelivery-customer/app/src/main/res/layout/activity_tracking.xml
new file mode 100644
index 0000000..362675f
--- /dev/null
+++ b/OnDemandDelivery-customer/app/src/main/res/layout/activity_tracking.xml
@@ -0,0 +1,230 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/OnDemandDelivery-customer/app/src/main/res/layout/layout_cart_items.xml b/OnDemandDelivery-customer/app/src/main/res/layout/layout_cart_items.xml
new file mode 100644
index 0000000..dac4544
--- /dev/null
+++ b/OnDemandDelivery-customer/app/src/main/res/layout/layout_cart_items.xml
@@ -0,0 +1,112 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/OnDemandDelivery-customer/app/src/main/res/layout/layout_completed.xml b/OnDemandDelivery-customer/app/src/main/res/layout/layout_completed.xml
new file mode 100644
index 0000000..cf0aea3
--- /dev/null
+++ b/OnDemandDelivery-customer/app/src/main/res/layout/layout_completed.xml
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/OnDemandDelivery-customer/app/src/main/res/layout/layout_tracking_steps.xml b/OnDemandDelivery-customer/app/src/main/res/layout/layout_tracking_steps.xml
new file mode 100644
index 0000000..3f3ef4f
--- /dev/null
+++ b/OnDemandDelivery-customer/app/src/main/res/layout/layout_tracking_steps.xml
@@ -0,0 +1,155 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/OnDemandDelivery-customer/app/src/main/res/mipmap-hdpi/ic_launcher.png b/OnDemandDelivery-customer/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 0000000..8e8bac1
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/OnDemandDelivery-customer/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
new file mode 100644
index 0000000..9a078e3
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/mipmap-mdpi/ic_launcher.png b/OnDemandDelivery-customer/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 0000000..dc3cda9
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/OnDemandDelivery-customer/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
new file mode 100644
index 0000000..efc028a
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/OnDemandDelivery-customer/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 0000000..22a4dab
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/OnDemandDelivery-customer/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
new file mode 100644
index 0000000..3af2608
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/OnDemandDelivery-customer/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 0000000..5a41476
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/OnDemandDelivery-customer/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
new file mode 100644
index 0000000..9bec2e6
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/OnDemandDelivery-customer/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 0000000..aee44e1
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/OnDemandDelivery-customer/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
new file mode 100644
index 0000000..34947cd
Binary files /dev/null and b/OnDemandDelivery-customer/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ
diff --git a/OnDemandDelivery-customer/app/src/main/res/values/attrs.xml b/OnDemandDelivery-customer/app/src/main/res/values/attrs.xml
new file mode 100644
index 0000000..0224669
--- /dev/null
+++ b/OnDemandDelivery-customer/app/src/main/res/values/attrs.xml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/OnDemandDelivery-customer/app/src/main/res/values/colors.xml b/OnDemandDelivery-customer/app/src/main/res/values/colors.xml
new file mode 100644
index 0000000..fb85f11
--- /dev/null
+++ b/OnDemandDelivery-customer/app/src/main/res/values/colors.xml
@@ -0,0 +1,18 @@
+
+
+ #3F51B5
+ #303F9F
+ #FF4081
+ #000000
+ #e91906
+ #07af36
+ #FF6D00
+ #e2e2e2
+ #b1b1b1
+ #ffffff
+ #d8f2efa7
+ #666060
+ #817e7e
+ #057324
+
+
diff --git a/OnDemandDelivery-customer/app/src/main/res/values/strings.xml b/OnDemandDelivery-customer/app/src/main/res/values/strings.xml
new file mode 100644
index 0000000..40b068f
--- /dev/null
+++ b/OnDemandDelivery-customer/app/src/main/res/values/strings.xml
@@ -0,0 +1,48 @@
+
+
+
+ fonts/roboto_bold.ttf
+ fonts/font_rg.ttf
+ fonts/roboto_light.ttf
+ fonts/roboto_medium.ttf
+
+
+ OnDemand-Customer
+ Track
+ YOUR ORDER IS PLACED
+ YOUR PACKAGE IS DISPATCHED
+ Order Picked Up \n\nTrack With Teliver
+ Order T \'elivered
+ Order Confirmed
+ YOUR DELIVERY DETAILS
+ Name
+ Cart
+ Order
+ Delivery Address
+ Mobile Number
+ YOUR ORDER ITEMS
+ Start Tracking
+ Order Received
+ ORDER CONFIRMED
+ The tracking id you received from Teliver, enter it to track your order
+ Near your Delivery Address (View in Maps)
+ Hot and Tasty food will be on the way soon
+ Order Processing
+ Your order is now out for delivery.Track your Order
+ Your order has been confirmed by Restaurant. Soon it will be out for delivery.
+ Your order has been delivered successfully.
+ Order has been confirmed by Restaurant. Waiting for Delivery Agent
+ Track your order
+ Subtotal
+ Coupon Code
+ GST (18%)
+ You Paid
+ ₹
+ Order Id
+ 164752266
+ PAYMENT MODE
+ CARD PAYMENT
+ Packaging Charge
+ Delivery Charge
+
+
diff --git a/OnDemandDelivery-customer/app/src/main/res/values/styles.xml b/OnDemandDelivery-customer/app/src/main/res/values/styles.xml
new file mode 100644
index 0000000..23eb571
--- /dev/null
+++ b/OnDemandDelivery-customer/app/src/main/res/values/styles.xml
@@ -0,0 +1,98 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/OnDemandDelivery-customer/build.gradle b/OnDemandDelivery-customer/build.gradle
new file mode 100644
index 0000000..faf1d38
--- /dev/null
+++ b/OnDemandDelivery-customer/build.gradle
@@ -0,0 +1,24 @@
+// Top-level build file where you can add configuration options common to all sub-projects/modules.
+
+buildscript {
+ repositories {
+ jcenter()
+ }
+ dependencies {
+ classpath 'com.android.tools.build:gradle:2.3.3'
+ classpath 'com.google.gms:google-services:3.0.0'
+
+ // NOTE: Do not place your application dependencies here; they belong
+ // in the individual module build.gradle files
+ }
+}
+
+allprojects {
+ repositories {
+ jcenter()
+ }
+}
+
+task clean(type: Delete) {
+ delete rootProject.buildDir
+}
diff --git a/OnDemandDelivery-customer/gradle.properties b/OnDemandDelivery-customer/gradle.properties
new file mode 100644
index 0000000..aac7c9b
--- /dev/null
+++ b/OnDemandDelivery-customer/gradle.properties
@@ -0,0 +1,17 @@
+# Project-wide Gradle settings.
+
+# IDE (e.g. Android Studio) users:
+# Gradle settings configured through the IDE *will override*
+# any settings specified in this file.
+
+# For more details on how to configure your build environment visit
+# http://www.gradle.org/docs/current/userguide/build_environment.html
+
+# Specifies the JVM arguments used for the daemon process.
+# The setting is particularly useful for tweaking memory settings.
+org.gradle.jvmargs=-Xmx1536m
+
+# When configured, Gradle will run in incubating parallel mode.
+# This option should only be used with decoupled projects. More details, visit
+# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
+# org.gradle.parallel=true
diff --git a/OnDemandDelivery-customer/gradle/wrapper/gradle-wrapper.jar b/OnDemandDelivery-customer/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..13372ae
Binary files /dev/null and b/OnDemandDelivery-customer/gradle/wrapper/gradle-wrapper.jar differ
diff --git a/OnDemandDelivery-customer/gradle/wrapper/gradle-wrapper.properties b/OnDemandDelivery-customer/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..db57d26
--- /dev/null
+++ b/OnDemandDelivery-customer/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Tue Jun 13 17:59:56 IST 2017
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
diff --git a/OnDemandDelivery-customer/gradlew b/OnDemandDelivery-customer/gradlew
new file mode 100755
index 0000000..9d82f78
--- /dev/null
+++ b/OnDemandDelivery-customer/gradlew
@@ -0,0 +1,160 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >/dev/null
+APP_HOME="`pwd -P`"
+cd "$SAVED" >/dev/null
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+ JAVACMD=`cygpath --unix "$JAVACMD"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/OnDemandDelivery-customer/gradlew.bat b/OnDemandDelivery-customer/gradlew.bat
new file mode 100644
index 0000000..aec9973
--- /dev/null
+++ b/OnDemandDelivery-customer/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/OnDemandDelivery-customer/settings.gradle b/OnDemandDelivery-customer/settings.gradle
new file mode 100644
index 0000000..e7b4def
--- /dev/null
+++ b/OnDemandDelivery-customer/settings.gradle
@@ -0,0 +1 @@
+include ':app'
diff --git a/OnDemandDelivery-driver/.gitignore b/OnDemandDelivery-driver/.gitignore
new file mode 100644
index 0000000..39fb081
--- /dev/null
+++ b/OnDemandDelivery-driver/.gitignore
@@ -0,0 +1,9 @@
+*.iml
+.gradle
+/local.properties
+/.idea/workspace.xml
+/.idea/libraries
+.DS_Store
+/build
+/captures
+.externalNativeBuild
diff --git a/OnDemandDelivery-driver/.idea/compiler.xml b/OnDemandDelivery-driver/.idea/compiler.xml
new file mode 100644
index 0000000..96cc43e
--- /dev/null
+++ b/OnDemandDelivery-driver/.idea/compiler.xml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/OnDemandDelivery-driver/.idea/copyright/profiles_settings.xml b/OnDemandDelivery-driver/.idea/copyright/profiles_settings.xml
new file mode 100644
index 0000000..e7bedf3
--- /dev/null
+++ b/OnDemandDelivery-driver/.idea/copyright/profiles_settings.xml
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/OnDemandDelivery-driver/.idea/gradle.xml b/OnDemandDelivery-driver/.idea/gradle.xml
new file mode 100644
index 0000000..7ac24c7
--- /dev/null
+++ b/OnDemandDelivery-driver/.idea/gradle.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/OnDemandDelivery-driver/.idea/inspectionProfiles/Project_Default.xml b/OnDemandDelivery-driver/.idea/inspectionProfiles/Project_Default.xml
new file mode 100644
index 0000000..343d21c
--- /dev/null
+++ b/OnDemandDelivery-driver/.idea/inspectionProfiles/Project_Default.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/OnDemandDelivery-driver/.idea/inspectionProfiles/profiles_settings.xml b/OnDemandDelivery-driver/.idea/inspectionProfiles/profiles_settings.xml
new file mode 100644
index 0000000..3b31283
--- /dev/null
+++ b/OnDemandDelivery-driver/.idea/inspectionProfiles/profiles_settings.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/OnDemandDelivery-driver/.idea/misc.xml b/OnDemandDelivery-driver/.idea/misc.xml
new file mode 100644
index 0000000..092f11f
--- /dev/null
+++ b/OnDemandDelivery-driver/.idea/misc.xml
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/OnDemandDelivery-driver/.idea/modules.xml b/OnDemandDelivery-driver/.idea/modules.xml
new file mode 100644
index 0000000..251ab48
--- /dev/null
+++ b/OnDemandDelivery-driver/.idea/modules.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/OnDemandDelivery-driver/.idea/runConfigurations.xml b/OnDemandDelivery-driver/.idea/runConfigurations.xml
new file mode 100644
index 0000000..7f68460
--- /dev/null
+++ b/OnDemandDelivery-driver/.idea/runConfigurations.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/OnDemandDelivery-driver/app/.gitignore b/OnDemandDelivery-driver/app/.gitignore
new file mode 100644
index 0000000..796b96d
--- /dev/null
+++ b/OnDemandDelivery-driver/app/.gitignore
@@ -0,0 +1 @@
+/build
diff --git a/OnDemandDelivery-driver/app/build.gradle b/OnDemandDelivery-driver/app/build.gradle
new file mode 100644
index 0000000..f50b881
--- /dev/null
+++ b/OnDemandDelivery-driver/app/build.gradle
@@ -0,0 +1,34 @@
+apply plugin: 'com.android.application'
+
+android {
+ compileSdkVersion 25
+ buildToolsVersion "25.0.3"
+ defaultConfig {
+ applicationId "com.driverapp"
+ minSdkVersion 14
+ targetSdkVersion 25
+ versionCode 1
+ versionName "1.0"
+ multiDexEnabled true
+ testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
+ }
+ buildTypes {
+ release {
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
+ }
+ }
+}
+
+dependencies {
+ compile fileTree(dir: 'libs', include: ['*.jar'])
+ compile 'com.android.support:appcompat-v7:25.3.1'
+ compile 'com.android.support.constraint:constraint-layout:1.0.2'
+ compile 'com.android.support:design:25.3.1'
+ compile 'com.android.support:support-v4:25.3.1'
+ compile 'com.android.support:multidex:1.0.1'
+ compile 'com.android.support:cardview-v7:25.3.1'
+ compile 'com.github.bumptech.glide:glide:3.7.0'
+ compile 'com.teliver.sdk:TeliverSdk:1.0.7'
+}
+apply plugin: 'com.google.gms.google-services'
diff --git a/OnDemandDelivery-driver/app/proguard-rules.pro b/OnDemandDelivery-driver/app/proguard-rules.pro
new file mode 100644
index 0000000..06b93bf
--- /dev/null
+++ b/OnDemandDelivery-driver/app/proguard-rules.pro
@@ -0,0 +1,25 @@
+# Add project specific ProGuard rules here.
+# By default, the flags in this file are appended to flags specified
+# in /home/selva/Android/Sdk/tools/proguard/proguard-android.txt
+# You can edit the include path and order by changing the proguardFiles
+# directive in build.gradle.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# Add any project specific keep options here:
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}
+
+# Uncomment this to preserve the line number information for
+# debugging stack traces.
+#-keepattributes SourceFile,LineNumberTable
+
+# If you keep the line number information, uncomment this to
+# hide the original source file name.
+#-renamesourcefileattribute SourceFile
diff --git a/OnDemandDelivery-driver/app/src/main/AndroidManifest.xml b/OnDemandDelivery-driver/app/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..0906cc6
--- /dev/null
+++ b/OnDemandDelivery-driver/app/src/main/AndroidManifest.xml
@@ -0,0 +1,33 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/OnDemandDelivery-driver/app/src/main/assets/fonts/font_rg.ttf b/OnDemandDelivery-driver/app/src/main/assets/fonts/font_rg.ttf
new file mode 100755
index 0000000..adbfc46
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/assets/fonts/font_rg.ttf differ
diff --git a/OnDemandDelivery-driver/app/src/main/assets/fonts/roboto_bold.ttf b/OnDemandDelivery-driver/app/src/main/assets/fonts/roboto_bold.ttf
new file mode 100755
index 0000000..aaf374d
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/assets/fonts/roboto_bold.ttf differ
diff --git a/OnDemandDelivery-driver/app/src/main/assets/fonts/roboto_light.ttf b/OnDemandDelivery-driver/app/src/main/assets/fonts/roboto_light.ttf
new file mode 100755
index 0000000..664e1b2
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/assets/fonts/roboto_light.ttf differ
diff --git a/OnDemandDelivery-driver/app/src/main/assets/fonts/roboto_medium.ttf b/OnDemandDelivery-driver/app/src/main/assets/fonts/roboto_medium.ttf
new file mode 100755
index 0000000..aa00de0
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/assets/fonts/roboto_medium.ttf differ
diff --git a/OnDemandDelivery-driver/app/src/main/java/com/driverapp/AdapterCartItems.java b/OnDemandDelivery-driver/app/src/main/java/com/driverapp/AdapterCartItems.java
new file mode 100644
index 0000000..2e55eaf
--- /dev/null
+++ b/OnDemandDelivery-driver/app/src/main/java/com/driverapp/AdapterCartItems.java
@@ -0,0 +1,62 @@
+package com.driverapp;
+
+import android.support.v7.widget.RecyclerView;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.ImageView;
+import android.widget.TextView;
+
+import com.driverapp.views.CartItems;
+
+import java.util.ArrayList;
+
+
+public class AdapterCartItems extends RecyclerView.Adapter {
+
+ private ArrayList list = new ArrayList<>();
+
+
+ @Override
+ public AdapterCartItems.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
+ View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.layout_cart_items, parent, false);
+ return new ViewHolder(view);
+ }
+
+ @Override
+ public void onBindViewHolder(final AdapterCartItems.ViewHolder holder, final int position) {
+ CartItems cartItems = list.get(position);
+ holder.txtName.setText(cartItems.getName());
+ holder.txtItemPrice.setText(cartItems.getItemPrice());
+ holder.txtFinalPrice.setText("₹" + cartItems.getFinalPrice());
+ holder.img.setImageResource(cartItems.getIcon());
+ holder.txtQuantity.setText(cartItems.getQuantity());
+ }
+
+ @Override
+ public int getItemCount() {
+ return list.size();
+ }
+
+ public void setData(ArrayList listCartItems) {
+ this.list = listCartItems;
+
+ }
+
+
+ class ViewHolder extends RecyclerView.ViewHolder {
+
+ private TextView txtName, txtFinalPrice, txtItemPrice, txtQuantity;
+
+ private ImageView img;
+
+ private ViewHolder(View itemView) {
+ super(itemView);
+ txtName = (TextView) itemView.findViewById(R.id.txtName);
+ txtItemPrice = (TextView) itemView.findViewById(R.id.txtItemPrice);
+ txtFinalPrice = (TextView) itemView.findViewById(R.id.txtFinalPrice);
+ img = (ImageView) itemView.findViewById(R.id.imgFirstItem);
+ txtQuantity = (TextView) itemView.findViewById(R.id.txtQuantity);
+ }
+ }
+}
\ No newline at end of file
diff --git a/OnDemandDelivery-driver/app/src/main/java/com/driverapp/Application.java b/OnDemandDelivery-driver/app/src/main/java/com/driverapp/Application.java
new file mode 100644
index 0000000..b1f0a07
--- /dev/null
+++ b/OnDemandDelivery-driver/app/src/main/java/com/driverapp/Application.java
@@ -0,0 +1,48 @@
+package com.driverapp;
+
+import android.content.SharedPreferences;
+import android.support.multidex.MultiDexApplication;
+
+import com.teliver.sdk.core.TLog;
+import com.teliver.sdk.core.Teliver;
+
+
+public class Application extends MultiDexApplication {
+
+ private SharedPreferences sharedPreferences;
+
+ private SharedPreferences.Editor editor;
+
+ @Override
+ public void onCreate() {
+ super.onCreate();
+ Teliver.init(this, "your_teliver_key");
+ TLog.setVisible(true);
+ sharedPreferences = getSharedPreferences(getString(R.string.app_name), MODE_PRIVATE);
+ editor = sharedPreferences.edit();
+ editor.apply();
+ }
+
+ public void storeStringInPref(String key, String value) {
+ editor.putString(key, value);
+ editor.commit();
+ }
+
+ public void storeBooleanInPref(String key, boolean value) {
+ editor.putBoolean(key, value);
+ editor.commit();
+ }
+
+ public String getStringInPref(String key) {
+ return sharedPreferences.getString(key, null);
+ }
+
+ public boolean getBooleanInPef(String key) {
+ return sharedPreferences.getBoolean(key, false);
+ }
+
+ public void deletePreference() {
+ editor.clear();
+ editor.commit();
+ }
+}
diff --git a/OnDemandDelivery-driver/app/src/main/java/com/driverapp/Constants.java b/OnDemandDelivery-driver/app/src/main/java/com/driverapp/Constants.java
new file mode 100644
index 0000000..94831fd
--- /dev/null
+++ b/OnDemandDelivery-driver/app/src/main/java/com/driverapp/Constants.java
@@ -0,0 +1,12 @@
+package com.driverapp;
+
+
+
+public class Constants {
+
+ public static final String USER_ID_AVAILED = "user_id_received",TRACKING_ID_CREATED = "tracking_id_created",
+ STEP_ONE="step_one",STEP_TWO="step_two",STEP_THREE="step_three",STEP_FOUR="step_four",TRACKING_ID = "tracking_id";
+
+
+ public static final int COARSE_LOCATION_PERMISSION = 4,SHOW_GPS_DIALOG = 2;
+}
diff --git a/OnDemandDelivery-driver/app/src/main/java/com/driverapp/FirebaseMessaging.java b/OnDemandDelivery-driver/app/src/main/java/com/driverapp/FirebaseMessaging.java
new file mode 100644
index 0000000..ac97284
--- /dev/null
+++ b/OnDemandDelivery-driver/app/src/main/java/com/driverapp/FirebaseMessaging.java
@@ -0,0 +1,58 @@
+package com.driverapp;
+
+import android.app.Notification;
+import android.app.NotificationManager;
+import android.content.Context;
+import android.support.v7.app.NotificationCompat;
+import android.util.Log;
+
+import com.google.firebase.messaging.FirebaseMessagingService;
+import com.google.firebase.messaging.RemoteMessage;
+import com.google.gson.GsonBuilder;
+import com.teliver.sdk.core.Teliver;
+import com.teliver.sdk.models.NotificationData;
+
+import java.util.Map;
+
+
+public class FirebaseMessaging extends FirebaseMessagingService {
+
+ private Application application;
+
+ @Override
+ public void onMessageReceived(RemoteMessage remoteMessage) {
+ super.onMessageReceived(remoteMessage);
+ Log.d("TELIVER::", "onMessageReceived: PUSH TRY == "+remoteMessage.toString());
+ try {
+ if (Teliver.isTeliverPush(remoteMessage)) {
+ Map pushData = remoteMessage.getData();
+ final NotificationData data = new GsonBuilder().create().fromJson(pushData.get("description"), NotificationData.class);
+ Log.d("TELIVER::", "onMessageReceived: " + "tracking id ==" + data.getTrackingID()
+ + "commnad ==" + data.getCommand() + "message == " + data.getMessage());
+ sendPushNotification(data);
+ }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+ private void sendPushNotification(NotificationData data) {
+ NotificationCompat.Builder notification = new NotificationCompat.Builder(this);
+ notification.setContentTitle("Teliver");
+ notification.setContentText(data.getMessage());
+ notification.setSmallIcon(R.drawable.ic_scooter);
+ notification.setLargeIcon(Utils.getBitmapIcon(this));
+
+ notification.setStyle(new NotificationCompat.BigTextStyle().bigText(data.getMessage()).setBigContentTitle("Teliver"));
+ notification.setAutoCancel(true);
+ notification.setPriority(Notification.PRIORITY_MAX);
+ notification.setDefaults(Notification.DEFAULT_ALL);
+
+ NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
+ notificationManager.notify(1, notification.build());
+ }
+
+
+}
+
+
diff --git a/OnDemandDelivery-driver/app/src/main/java/com/driverapp/Model.java b/OnDemandDelivery-driver/app/src/main/java/com/driverapp/Model.java
new file mode 100644
index 0000000..1bb2f32
--- /dev/null
+++ b/OnDemandDelivery-driver/app/src/main/java/com/driverapp/Model.java
@@ -0,0 +1,33 @@
+package com.driverapp;
+
+/**
+ * Created by selva on 29/6/17.
+ */
+
+public class Model {
+
+ private String name, mobile, address, orderId;
+
+ public Model(String name, String mobile, String address, String orderId) {
+ this.name = name;
+ this.mobile = mobile;
+ this.address = address;
+ this.orderId = orderId;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public String getMobile() {
+ return mobile;
+ }
+
+ public String getAddress() {
+ return address;
+ }
+
+ public String getOrderId() {
+ return orderId;
+ }
+}
diff --git a/OnDemandDelivery-driver/app/src/main/java/com/driverapp/Utils.java b/OnDemandDelivery-driver/app/src/main/java/com/driverapp/Utils.java
new file mode 100644
index 0000000..e95686d
--- /dev/null
+++ b/OnDemandDelivery-driver/app/src/main/java/com/driverapp/Utils.java
@@ -0,0 +1,75 @@
+package com.driverapp;
+
+import android.app.Activity;
+import android.content.Context;
+import android.content.pm.PackageManager;
+import android.content.res.TypedArray;
+import android.graphics.Bitmap;
+import android.graphics.Typeface;
+import android.os.Build;
+import android.support.v4.app.ActivityCompat;
+import android.support.v4.content.ContextCompat;
+import android.util.AttributeSet;
+import android.widget.TextView;
+
+import com.bumptech.glide.Glide;
+
+
+public class Utils {
+
+ public void init(TextView txtView, Context context, AttributeSet attrs) {
+ try {
+ Typeface typeface = getCustomFont(context, attrs);
+ if (typeface != null)
+ txtView.setTypeface(typeface);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+ private Typeface getCustomFont(Context context, AttributeSet attrs) {
+ Typeface typeface = null;
+ try {
+ TypedArray typedArray = context.obtainStyledAttributes(attrs,
+ R.styleable.CustomWidget);
+ for (int i = 0, count = typedArray.getIndexCount(); i < count; i++) {
+ int attribute = typedArray.getIndex(i);
+ if (attribute == R.styleable.CustomWidget_font_name) {
+ typeface = Typeface.createFromAsset(context.getResources()
+ .getAssets(), typedArray.getString(attribute));
+ }
+ }
+ typedArray.recycle();
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ return typeface;
+ }
+
+
+ public static boolean checkPermission(Activity context) {
+ if (Build.VERSION.SDK_INT >= 23) {
+ if (ContextCompat.checkSelfPermission(context, android.Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED
+ && ContextCompat.checkSelfPermission(context, android.Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) {
+ if (ActivityCompat.shouldShowRequestPermissionRationale(context, android.Manifest.permission.ACCESS_COARSE_LOCATION))
+ ActivityCompat.requestPermissions(context, new String[]{android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION},
+ Constants.COARSE_LOCATION_PERMISSION);
+ else {
+ ActivityCompat.requestPermissions(context, new String[]{android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.ACCESS_FINE_LOCATION},
+ Constants.COARSE_LOCATION_PERMISSION);
+ }
+ } else return true;
+ } else return true;
+ return false;
+ }
+
+ public static Bitmap getBitmapIcon(Context context) {
+ try {
+ return Glide.with(context).load(R.mipmap.ic_launcher).
+ asBitmap().into(144, 144).get();
+ } catch (Exception e) {
+ return null;
+ }
+ }
+
+}
diff --git a/OnDemandDelivery-driver/app/src/main/java/com/driverapp/activities/MainActivity.java b/OnDemandDelivery-driver/app/src/main/java/com/driverapp/activities/MainActivity.java
new file mode 100644
index 0000000..97c267d
--- /dev/null
+++ b/OnDemandDelivery-driver/app/src/main/java/com/driverapp/activities/MainActivity.java
@@ -0,0 +1,311 @@
+package com.driverapp.activities;
+
+import android.content.Intent;
+import android.content.pm.PackageManager;
+import android.graphics.PorterDuff;
+import android.graphics.drawable.Drawable;
+import android.location.Location;
+import android.os.Bundle;
+import android.support.annotation.NonNull;
+import android.support.annotation.Nullable;
+import android.support.v4.content.ContextCompat;
+import android.support.v7.app.AppCompatActivity;
+import android.support.v7.widget.LinearLayoutManager;
+import android.support.v7.widget.RecyclerView;
+import android.support.v7.widget.Toolbar;
+import android.view.View;
+import android.widget.ImageView;
+import android.widget.TextView;
+import android.widget.Toast;
+
+import com.driverapp.AdapterCartItems;
+import com.driverapp.Constants;
+import com.driverapp.R;
+import com.driverapp.Utils;
+import com.driverapp.views.CartItems;
+import com.google.android.gms.common.api.GoogleApiClient;
+import com.google.android.gms.common.api.PendingResult;
+import com.google.android.gms.common.api.ResultCallback;
+import com.google.android.gms.common.api.Status;
+import com.google.android.gms.location.LocationRequest;
+import com.google.android.gms.location.LocationServices;
+import com.google.android.gms.location.LocationSettingsRequest;
+import com.google.android.gms.location.LocationSettingsResult;
+import com.google.android.gms.location.LocationSettingsStatusCodes;
+import com.teliver.sdk.core.TLog;
+import com.teliver.sdk.core.Teliver;
+import com.teliver.sdk.core.TripListener;
+import com.teliver.sdk.models.PushData;
+import com.teliver.sdk.models.Trip;
+import com.teliver.sdk.models.TripBuilder;
+import com.teliver.sdk.models.UserBuilder;
+
+import org.json.JSONObject;
+
+import java.util.ArrayList;
+import java.util.Random;
+
+
+public class MainActivity extends AppCompatActivity implements View.OnClickListener {
+
+
+ private String trackingId = "TELIVERTRK_", username = "driver_4";
+
+ private com.driverapp.Application application;
+
+ private TextView txtOrderStatus, txtProcessing, txtPickedUp, txtDelivered;
+
+ private ImageView imgProcessing, imgPickedUp, imgDelivered;
+
+ private ImageView imgViewProcessing, imgViewPickedUp;
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_main);
+ application = (com.driverapp.Application) getApplicationContext();
+ TLog.setVisible(true);
+ trackingId = trackingId + new Random().nextInt(1000);
+ if (!application.getBooleanInPef("created"))
+ application.storeStringInPref(Constants.TRACKING_ID, trackingId);
+ application.storeBooleanInPref("created", true);
+ }
+
+
+ @Override
+ protected void onPostCreate(@Nullable Bundle savedInstanceState) {
+ super.onPostCreate(savedInstanceState);
+ Toolbar toolbar = (Toolbar) findViewById(R.id.toolbarCart);
+ setSupportActionBar(toolbar);
+ getSupportActionBar().setDisplayShowHomeEnabled(true);
+ getSupportActionBar().setDisplayHomeAsUpEnabled(true);
+ Drawable drawable = toolbar.getNavigationIcon();
+ drawable.setColorFilter(ContextCompat.getColor(this, R.color.colorWhite), PorterDuff.Mode.SRC_ATOP);
+ toolbar.setNavigationOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View v) {
+ onBackPressed();
+ }
+ });
+ txtOrderStatus = (TextView) findViewById(R.id.txtOrderStatus);
+ imgViewProcessing = (ImageView) findViewById(R.id.imgTwo);
+ imgViewPickedUp = (ImageView) findViewById(R.id.imgThree);
+ txtProcessing = (TextView) findViewById(R.id.txtProcessing);
+ txtPickedUp = (TextView) findViewById(R.id.txtPickedUp);
+ txtDelivered = (TextView) findViewById(R.id.txtDelivered);
+ imgProcessing = (ImageView) findViewById(R.id.imgProcessing);
+ imgPickedUp = (ImageView) findViewById(R.id.imgPickedUp);
+ imgDelivered = (ImageView) findViewById(R.id.imgDelivered);
+
+ RecyclerView recyclerView = (RecyclerView) findViewById(R.id.recyclerView);
+ recyclerView.setLayoutManager(new LinearLayoutManager(this));
+ ArrayList listCartItems = new ArrayList<>();
+ AdapterCartItems adapterCartItems = new AdapterCartItems();
+
+ listCartItems.add(new CartItems("Veg hot garlic Sauce Momo", "1", "149.00", "149.00", R.drawable.ic_veg));
+ listCartItems.add(new CartItems("Veg Spicy Mayo Tossed Momo", "2", "170.00", "340.00", R.drawable.ic_veg));
+ listCartItems.add(new CartItems("Veg Tossed Momo", "2", "170.00", "340.00", R.drawable.ic_veg));
+ adapterCartItems.setData(listCartItems);
+ recyclerView.setAdapter(adapterCartItems);
+ adapterCartItems.notifyDataSetChanged();
+ setTexts(txtProcessing, txtPickedUp, txtDelivered);
+ setImages(imgProcessing, imgPickedUp, imgDelivered);
+ Teliver.identifyUser(new UserBuilder(username).setUserType(UserBuilder.USER_TYPE.OPERATOR).registerPush().build());
+ if (Utils.checkPermission(this))
+ checkGps();
+ txtProcessing.setEnabled(true);
+ imgProcessing.setEnabled(true);
+ }
+
+ private void setImages(ImageView... img) {
+ for (ImageView imgView : img) {
+ imgView.setEnabled(false);
+ imgView.setOnClickListener(this);
+ }
+ }
+
+ private void setTexts(TextView... txt) {
+ for (TextView txtView : txt) {
+ txtView.setEnabled(false);
+ txtView.setOnClickListener(this);
+ }
+
+
+ }
+
+
+ @Override
+ public void onClick(View v) {
+ switch (v.getId()) {
+ case R.id.imgProcessing:
+ case R.id.txtProcessing:
+ startTrip();
+ changeColors(txtProcessing, imgViewProcessing, imgProcessing);
+ txtOrderStatus.setText(getString(R.string.txtOrderProcessing));
+ application.storeBooleanInPref(Constants.STEP_TWO, true);
+ txtPickedUp.setEnabled(true);
+ imgPickedUp.setEnabled(true);
+ txtProcessing.setEnabled(false);
+ imgProcessing.setEnabled(false);
+ break;
+ case R.id.imgPickedUp:
+ case R.id.txtPickedUp:
+ sendEventPush("2", "order out to delivery,track your order");
+ changeColors(txtPickedUp, imgViewPickedUp, imgPickedUp);
+ txtOrderStatus.setText(getString(R.string.txtPickedUp));
+ application.storeBooleanInPref(Constants.STEP_THREE, true);
+ txtDelivered.setEnabled(true);
+ imgDelivered.setEnabled(true);
+ txtPickedUp.setEnabled(false);
+ imgPickedUp.setEnabled(false);
+ break;
+ case R.id.imgDelivered:
+ case R.id.txtDelivered:
+ sendEventPush("3", "your order is delivered");
+ txtOrderStatus.setText(getString(R.string.txtOrderDelivered));
+ changeColors(txtDelivered, imgViewPickedUp, imgDelivered);
+ application.storeBooleanInPref(Constants.STEP_FOUR, true);
+ txtDelivered.setEnabled(false);
+ imgDelivered.setEnabled(false);
+ Teliver.stopTrip(application.getStringInPref(Constants.TRACKING_ID));
+ application.deletePreference();
+ break;
+ }
+ }
+
+ private void sendEventPush(final String pushMessage, String tag) {
+ PushData pushData = new PushData("selva");
+ pushData.setMessage(pushMessage);
+ try {
+ JSONObject jsonObject = new JSONObject();
+ jsonObject.put("consumer", "selvakumar");
+ jsonObject.put("operator", "driver_1");
+ pushData.setPayload(jsonObject.toString());
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ Teliver.sendEventPush(application.getStringInPref(Constants.TRACKING_ID), pushData, tag);
+ }
+
+ private void startTrip() {
+ TripBuilder tripBuilder = new TripBuilder(application.getStringInPref(Constants.TRACKING_ID));
+ tripBuilder.withInterval(1000);
+ tripBuilder.withDistance(5);
+ Teliver.startTrip(tripBuilder.build());
+ Teliver.setTripListener(new TripListener() {
+ @Override
+ public void onTripStarted(Trip tripDetails) {
+
+ }
+
+ @Override
+ public void onLocationUpdate(Location location) {
+
+ }
+
+ @Override
+ public void onTripEnded(String trackingID) {
+
+ }
+
+ @Override
+ public void onTripError(String reason) {
+
+ }
+ });
+
+ }
+
+ @Override
+ protected void onResume() {
+ if (application.getBooleanInPef(Constants.STEP_FOUR))
+ application.deletePreference();
+ maintainState();
+ super.onResume();
+ }
+
+
+ private void maintainState() {
+ if (application.getBooleanInPef(Constants.STEP_TWO)) {
+ changeColors(txtProcessing, imgViewProcessing, imgProcessing);
+ txtOrderStatus.setText(getString(R.string.txtOrderProcessing));
+ txtPickedUp.setEnabled(true);
+ imgPickedUp.setEnabled(true);
+ txtProcessing.setEnabled(false);
+ imgProcessing.setEnabled(false);
+ }
+ if (application.getBooleanInPef(Constants.STEP_THREE)) {
+ changeColors(txtPickedUp, imgViewPickedUp, imgPickedUp);
+ txtOrderStatus.setText(getString(R.string.txtOrderPicked));
+ txtDelivered.setEnabled(true);
+ imgDelivered.setEnabled(true);
+ txtPickedUp.setEnabled(false);
+ imgPickedUp.setEnabled(false);
+ }
+ if (application.getBooleanInPef(Constants.STEP_FOUR)) {
+ changeColors(txtDelivered, imgViewPickedUp, imgDelivered);
+ txtOrderStatus.setText(getString(R.string.txtTelivered));
+ txtDelivered.setEnabled(false);
+ imgDelivered.setEnabled(false);
+ }
+ }
+
+ private void checkGps() {
+ GoogleApiClient googleApiClient = new GoogleApiClient.Builder(this)
+ .addApi(LocationServices.API)
+ .build();
+ googleApiClient.connect();
+
+ LocationRequest locationRequest = LocationRequest.create();
+ locationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);
+
+ LocationSettingsRequest.Builder builder = new LocationSettingsRequest.Builder()
+ .addLocationRequest(locationRequest);
+ builder.setAlwaysShow(true);
+
+ PendingResult result = LocationServices.SettingsApi.checkLocationSettings(googleApiClient, builder.build());
+ result.setResultCallback(new ResultCallback() {
+ @Override
+ public void onResult(@NonNull LocationSettingsResult locationSettingsResult) {
+ Status status = locationSettingsResult.getStatus();
+ if (status.getStatusCode() == LocationSettingsStatusCodes.SUCCESS) {
+
+ } else if (status.getStatusCode() == LocationSettingsStatusCodes.RESOLUTION_REQUIRED) {
+ try {
+ status.startResolutionForResult(MainActivity.this, Constants.SHOW_GPS_DIALOG);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+ }
+ });
+ }
+
+ @Override
+ protected void onActivityResult(int requestCode, int resultCode, Intent data) {
+ super.onActivityResult(requestCode, resultCode, data);
+ if (requestCode == Constants.SHOW_GPS_DIALOG && resultCode == RESULT_OK)
+ Toast.makeText(MainActivity.this, "Gps is turned on", Toast.LENGTH_SHORT).show();
+ else if (requestCode == Constants.SHOW_GPS_DIALOG && resultCode == RESULT_CANCELED)
+ finish();
+ }
+
+ @Override
+ public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) {
+ super.onRequestPermissionsResult(requestCode, permissions, grantResults);
+ switch (requestCode) {
+ case Constants.COARSE_LOCATION_PERMISSION:
+ if (grantResults[0] != PackageManager.PERMISSION_GRANTED)
+ finish();
+ else checkGps();
+ break;
+ }
+ }
+
+ private void changeColors(TextView txtView, ImageView imgLine, ImageView img) {
+ txtView.setTextColor(ContextCompat.getColor(this, R.color.colorGreen));
+ imgLine.setColorFilter(ContextCompat.getColor(this, R.color.colorGreen));
+ img.setColorFilter(ContextCompat.getColor(this, R.color.colorGreen));
+
+ }
+}
\ No newline at end of file
diff --git a/OnDemandDelivery-driver/app/src/main/java/com/driverapp/views/CartItems.java b/OnDemandDelivery-driver/app/src/main/java/com/driverapp/views/CartItems.java
new file mode 100644
index 0000000..918beda
--- /dev/null
+++ b/OnDemandDelivery-driver/app/src/main/java/com/driverapp/views/CartItems.java
@@ -0,0 +1,44 @@
+package com.driverapp.views;
+
+/**
+ * Created by selva on 6/7/17.
+ */
+
+public class CartItems {
+
+ private String name, itemPrice, finalPrice,quantity;
+
+ private int icon;
+
+ public int getIcon() {
+ return icon;
+ }
+
+ public String getQuantity() {
+ return quantity;
+ }
+
+ public CartItems(String name, String quantity, String itemPrice, String finalPrice, int icon) {
+ this.name = name;
+ this.itemPrice = itemPrice;
+ this.finalPrice = finalPrice;
+ this.icon = icon;
+
+ this.quantity = quantity;
+
+ }
+
+ public String getName() {
+ return name;
+ }
+
+
+ public String getItemPrice() {
+ return itemPrice;
+ }
+
+
+ public String getFinalPrice() {
+ return finalPrice;
+ }
+}
diff --git a/OnDemandDelivery-driver/app/src/main/java/com/driverapp/views/CustomEditText.java b/OnDemandDelivery-driver/app/src/main/java/com/driverapp/views/CustomEditText.java
new file mode 100755
index 0000000..c5fb50c
--- /dev/null
+++ b/OnDemandDelivery-driver/app/src/main/java/com/driverapp/views/CustomEditText.java
@@ -0,0 +1,66 @@
+/**
+ * @category Ask An Expert
+ * @package com.contus.views
+ * @version 1.0
+ *
+ * @copyright Copyright (C) 2015 . All rights reserved.
+ * @license http://www.apache.org/licenses/LICENSE-2.0
+ */
+package com.driverapp.views;
+
+import android.content.Context;
+import android.util.AttributeSet;
+import android.widget.EditText;
+
+import com.driverapp.Utils;
+
+
+/**
+ * The Class CustomEditTextView.
+ */
+public class CustomEditText extends EditText {
+
+ /** The m utils. */
+ private Utils mUtils;
+
+ /**
+ * Instantiates a new custom edit text view.
+ *
+ * @param context
+ * the context
+ */
+ public CustomEditText(Context context) {
+ super(context);
+ }
+
+ /**
+ * Instantiates a new custom edit text view.
+ *
+ * @param context
+ * the context
+ * @param attrs
+ * the attrs
+ */
+ public CustomEditText(Context context, AttributeSet attrs) {
+ super(context, attrs);
+ mUtils = new Utils();
+ mUtils.init(this, context, attrs);
+ }
+
+ /**
+ * Instantiates a new custom edit text view.
+ *
+ * @param context
+ * the context
+ * @param attrs
+ * the attrs
+ * @param defStyle
+ * the def style
+ */
+ public CustomEditText(Context context, AttributeSet attrs, int defStyle) {
+ super(context, attrs, defStyle);
+ mUtils = new Utils();
+ mUtils.init(this, context, attrs);
+ }
+
+}
diff --git a/OnDemandDelivery-driver/app/src/main/java/com/driverapp/views/CustomTextView.java b/OnDemandDelivery-driver/app/src/main/java/com/driverapp/views/CustomTextView.java
new file mode 100755
index 0000000..957fcdf
--- /dev/null
+++ b/OnDemandDelivery-driver/app/src/main/java/com/driverapp/views/CustomTextView.java
@@ -0,0 +1,66 @@
+/**
+ * @category Ask An Expert
+ * @package com.contus.views
+ * @version 1.0
+ *
+ * @copyright Copyright (C) 2015 . All rights reserved.
+ * @license http://www.apache.org/licenses/LICENSE-2.0
+ */
+package com.driverapp.views;
+
+import android.content.Context;
+import android.util.AttributeSet;
+import android.widget.TextView;
+
+import com.driverapp.Utils;
+
+
+/**
+ * The Class CustomTextView.
+ */
+public class CustomTextView extends TextView {
+
+ /** The m utils. */
+ private Utils mUtils;
+
+ /**
+ * Instantiates a new custom text view.
+ *
+ * @param context
+ * the context
+ */
+ public CustomTextView(Context context) {
+ super(context);
+ }
+
+ /**
+ * Instantiates a new custom text view.
+ *
+ * @param context
+ * the context
+ * @param attrs
+ * the attrs
+ */
+ public CustomTextView(Context context, AttributeSet attrs) {
+ super(context, attrs);
+ mUtils = new Utils();
+ mUtils.init(this, context, attrs);
+ }
+
+ /**
+ * Instantiates a new custom text view.
+ *
+ * @param context
+ * the context
+ * @param attrs
+ * the attrs
+ * @param defStyle
+ * the def style
+ */
+ public CustomTextView(Context context, AttributeSet attrs, int defStyle) {
+ super(context, attrs, defStyle);
+ mUtils = new Utils();
+ mUtils.init(this, context, attrs);
+ }
+
+}
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_checked_bag.png b/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_checked_bag.png
new file mode 100644
index 0000000..6b5b6bf
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_checked_bag.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_checked_food.png b/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_checked_food.png
new file mode 100644
index 0000000..9e191a4
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_checked_food.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_checked_ok.png b/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_checked_ok.png
new file mode 100644
index 0000000..9eb8096
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_checked_ok.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_checked_plate.png b/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_checked_plate.png
new file mode 100644
index 0000000..6ad6292
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_checked_plate.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_float_line.png b/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_float_line.png
new file mode 100644
index 0000000..bdaf77b
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_float_line.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_hint_line.png b/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_hint_line.png
new file mode 100644
index 0000000..fe6c18c
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_hint_line.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_nv.png b/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_nv.png
new file mode 100644
index 0000000..c99d511
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_nv.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_re_bag.png b/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_re_bag.png
new file mode 100644
index 0000000..1a76607
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_re_bag.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_re_ok.png b/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_re_ok.png
new file mode 100644
index 0000000..a65dcd1
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_re_ok.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_re_plate.png b/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_re_plate.png
new file mode 100644
index 0000000..52b1a6f
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_re_plate.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_rec_food.png b/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_rec_food.png
new file mode 100644
index 0000000..dbab692
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_rec_food.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_telivered.png b/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_telivered.png
new file mode 100644
index 0000000..d3351b5
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_telivered.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_veg.png b/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_veg.png
new file mode 100644
index 0000000..5703077
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-hdpi/ic_veg.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_checked_bag.png b/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_checked_bag.png
new file mode 100644
index 0000000..7b71e93
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_checked_bag.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_checked_food.png b/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_checked_food.png
new file mode 100644
index 0000000..c27abc4
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_checked_food.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_checked_ok.png b/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_checked_ok.png
new file mode 100644
index 0000000..af8a165
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_checked_ok.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_checked_plate.png b/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_checked_plate.png
new file mode 100644
index 0000000..9fa4b25
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_checked_plate.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_float_line.png b/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_float_line.png
new file mode 100644
index 0000000..660c769
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_float_line.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_hint_line.png b/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_hint_line.png
new file mode 100644
index 0000000..9d7c9fe
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_hint_line.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_nv.png b/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_nv.png
new file mode 100644
index 0000000..804511c
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_nv.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_re_bag.png b/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_re_bag.png
new file mode 100644
index 0000000..4d9a7c1
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_re_bag.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_re_ok.png b/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_re_ok.png
new file mode 100644
index 0000000..772c2b1
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_re_ok.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_re_plate.png b/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_re_plate.png
new file mode 100644
index 0000000..a7b8c8a
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_re_plate.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_rec_food.png b/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_rec_food.png
new file mode 100644
index 0000000..382004d
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_rec_food.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_telivered.png b/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_telivered.png
new file mode 100644
index 0000000..9022c10
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_telivered.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_veg.png b/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_veg.png
new file mode 100644
index 0000000..8dd27a3
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-mdpi/ic_veg.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_checked_bag.png b/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_checked_bag.png
new file mode 100644
index 0000000..6066348
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_checked_bag.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_checked_food.png b/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_checked_food.png
new file mode 100644
index 0000000..a745561
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_checked_food.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_checked_ok.png b/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_checked_ok.png
new file mode 100644
index 0000000..1cd1cb6
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_checked_ok.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_checked_plate.png b/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_checked_plate.png
new file mode 100644
index 0000000..8323f03
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_checked_plate.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_float_line.png b/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_float_line.png
new file mode 100644
index 0000000..7d7b7c1
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_float_line.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_hint_line.png b/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_hint_line.png
new file mode 100644
index 0000000..24312a3
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_hint_line.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_nv.png b/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_nv.png
new file mode 100644
index 0000000..c99d511
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_nv.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_re_bag.png b/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_re_bag.png
new file mode 100644
index 0000000..a666100
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_re_bag.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_re_ok.png b/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_re_ok.png
new file mode 100644
index 0000000..a239da3
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_re_ok.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_re_plate.png b/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_re_plate.png
new file mode 100644
index 0000000..4461f94
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_re_plate.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_rec_food.png b/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_rec_food.png
new file mode 100644
index 0000000..b9e59ba
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_rec_food.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_telivered.png b/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_telivered.png
new file mode 100644
index 0000000..cf8f43f
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_telivered.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_veg.png b/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_veg.png
new file mode 100644
index 0000000..f63bc5f
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-xhdpi/ic_veg.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_checked_bag.png b/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_checked_bag.png
new file mode 100644
index 0000000..6fe0df7
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_checked_bag.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_checked_food.png b/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_checked_food.png
new file mode 100644
index 0000000..8c77078
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_checked_food.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_checked_ok.png b/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_checked_ok.png
new file mode 100644
index 0000000..06b61ab
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_checked_ok.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_checked_plate.png b/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_checked_plate.png
new file mode 100644
index 0000000..08ee2c9
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_checked_plate.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_float_line.png b/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_float_line.png
new file mode 100644
index 0000000..60cfd75
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_float_line.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_hint_line.png b/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_hint_line.png
new file mode 100644
index 0000000..15c3ed0
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_hint_line.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_nv.png b/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_nv.png
new file mode 100644
index 0000000..c99d511
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_nv.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_re_bag.png b/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_re_bag.png
new file mode 100644
index 0000000..720db2c
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_re_bag.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_re_ok.png b/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_re_ok.png
new file mode 100644
index 0000000..80e5df5
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_re_ok.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_re_plate.png b/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_re_plate.png
new file mode 100644
index 0000000..f4e0911
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_re_plate.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_rec_food.png b/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_rec_food.png
new file mode 100644
index 0000000..1804cb2
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_rec_food.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_telivered.png b/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_telivered.png
new file mode 100644
index 0000000..ec6fa73
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_telivered.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_veg.png b/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_veg.png
new file mode 100644
index 0000000..053bfb8
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable-xxhdpi/ic_veg.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable/circle.xml b/OnDemandDelivery-driver/app/src/main/res/drawable/circle.xml
new file mode 100644
index 0000000..964eb1a
--- /dev/null
+++ b/OnDemandDelivery-driver/app/src/main/res/drawable/circle.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable/ic_checked_bag.png b/OnDemandDelivery-driver/app/src/main/res/drawable/ic_checked_bag.png
new file mode 100644
index 0000000..d2d8e82
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable/ic_checked_bag.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable/ic_checked_food.png b/OnDemandDelivery-driver/app/src/main/res/drawable/ic_checked_food.png
new file mode 100644
index 0000000..e667ff2
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable/ic_checked_food.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable/ic_checked_ok.png b/OnDemandDelivery-driver/app/src/main/res/drawable/ic_checked_ok.png
new file mode 100644
index 0000000..dd540c6
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable/ic_checked_ok.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable/ic_checked_plate.png b/OnDemandDelivery-driver/app/src/main/res/drawable/ic_checked_plate.png
new file mode 100644
index 0000000..fba8676
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable/ic_checked_plate.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable/ic_float_line.png b/OnDemandDelivery-driver/app/src/main/res/drawable/ic_float_line.png
new file mode 100644
index 0000000..e4160d5
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable/ic_float_line.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable/ic_hint_line.png b/OnDemandDelivery-driver/app/src/main/res/drawable/ic_hint_line.png
new file mode 100644
index 0000000..4d0051a
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable/ic_hint_line.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable/ic_non_veg.png b/OnDemandDelivery-driver/app/src/main/res/drawable/ic_non_veg.png
new file mode 100644
index 0000000..c99d511
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable/ic_non_veg.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable/ic_re_bag.png b/OnDemandDelivery-driver/app/src/main/res/drawable/ic_re_bag.png
new file mode 100644
index 0000000..c1d46bd
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable/ic_re_bag.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable/ic_re_ok.png b/OnDemandDelivery-driver/app/src/main/res/drawable/ic_re_ok.png
new file mode 100644
index 0000000..85ab884
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable/ic_re_ok.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable/ic_re_plate.png b/OnDemandDelivery-driver/app/src/main/res/drawable/ic_re_plate.png
new file mode 100644
index 0000000..c31e778
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable/ic_re_plate.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable/ic_rec_food.png b/OnDemandDelivery-driver/app/src/main/res/drawable/ic_rec_food.png
new file mode 100644
index 0000000..d0cce5d
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable/ic_rec_food.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable/ic_scooter.png b/OnDemandDelivery-driver/app/src/main/res/drawable/ic_scooter.png
new file mode 100644
index 0000000..e439ce0
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable/ic_scooter.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable/ic_telivered.png b/OnDemandDelivery-driver/app/src/main/res/drawable/ic_telivered.png
new file mode 100644
index 0000000..3972b19
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable/ic_telivered.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/drawable/ic_veg.png b/OnDemandDelivery-driver/app/src/main/res/drawable/ic_veg.png
new file mode 100644
index 0000000..ce14bca
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/drawable/ic_veg.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/layout/activity_main.xml b/OnDemandDelivery-driver/app/src/main/res/layout/activity_main.xml
new file mode 100644
index 0000000..ea2a752
--- /dev/null
+++ b/OnDemandDelivery-driver/app/src/main/res/layout/activity_main.xml
@@ -0,0 +1,364 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/OnDemandDelivery-driver/app/src/main/res/layout/layout_cart_items.xml b/OnDemandDelivery-driver/app/src/main/res/layout/layout_cart_items.xml
new file mode 100644
index 0000000..092676c
--- /dev/null
+++ b/OnDemandDelivery-driver/app/src/main/res/layout/layout_cart_items.xml
@@ -0,0 +1,113 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/OnDemandDelivery-driver/app/src/main/res/layout/layout_completed.xml b/OnDemandDelivery-driver/app/src/main/res/layout/layout_completed.xml
new file mode 100644
index 0000000..c15d2fc
--- /dev/null
+++ b/OnDemandDelivery-driver/app/src/main/res/layout/layout_completed.xml
@@ -0,0 +1,51 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/OnDemandDelivery-driver/app/src/main/res/mipmap-hdpi/ic_launcher.png b/OnDemandDelivery-driver/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 0000000..8e8bac1
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/OnDemandDelivery-driver/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
new file mode 100644
index 0000000..9a078e3
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/mipmap-mdpi/ic_launcher.png b/OnDemandDelivery-driver/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 0000000..dc3cda9
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/OnDemandDelivery-driver/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
new file mode 100644
index 0000000..efc028a
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/OnDemandDelivery-driver/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 0000000..22a4dab
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/OnDemandDelivery-driver/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
new file mode 100644
index 0000000..3af2608
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/OnDemandDelivery-driver/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 0000000..5a41476
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/OnDemandDelivery-driver/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
new file mode 100644
index 0000000..9bec2e6
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/OnDemandDelivery-driver/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
new file mode 100644
index 0000000..34947cd
Binary files /dev/null and b/OnDemandDelivery-driver/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ
diff --git a/OnDemandDelivery-driver/app/src/main/res/values/attrs.xml b/OnDemandDelivery-driver/app/src/main/res/values/attrs.xml
new file mode 100644
index 0000000..0224669
--- /dev/null
+++ b/OnDemandDelivery-driver/app/src/main/res/values/attrs.xml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/OnDemandDelivery-driver/app/src/main/res/values/colors.xml b/OnDemandDelivery-driver/app/src/main/res/values/colors.xml
new file mode 100644
index 0000000..779fea8
--- /dev/null
+++ b/OnDemandDelivery-driver/app/src/main/res/values/colors.xml
@@ -0,0 +1,15 @@
+
+
+ #3F51B5
+ #303F9F
+ #FF4081
+ #b1b1b1
+ #000000
+ #ffffff
+ #FF6D00
+ #07af36
+ #e2e2e2
+ #56ef81
+ #f5f0f0
+ #ea0808
+
diff --git a/OnDemandDelivery-driver/app/src/main/res/values/strings.xml b/OnDemandDelivery-driver/app/src/main/res/values/strings.xml
new file mode 100644
index 0000000..6abff59
--- /dev/null
+++ b/OnDemandDelivery-driver/app/src/main/res/values/strings.xml
@@ -0,0 +1,49 @@
+
+ OnDemand-Driver
+ Delivery Details
+ YOUR DELIVERY DETAILS
+ Selvakumar.P
+ 9488585651
+ your product is dispatched ,use this tracking id to track your order
+ your product is near your doorsteps,get ready to collect
+ Amount Paid Successfully
+ Your order is confirmed and processing
+ your product from Teliver is Delivered,we hope to see you soon.
+ your payment is successful and we are processing your order....
+ Confirmed
+ Order out to Delivery
+ Confirmed
+ Picked Up
+ T\'elivered
+ Order T\'elivered
+ Order Status :
+ ORDER DETAILS
+ Order ID
+ 164752266
+ Payment Mode
+ Delivery Location
+ Mobile Number
+ No:9, 2nd floor Venkateshwara Nagar, Adyar, Chennai-600020
+ Card Payment
+ Order Summary
+ Subtotal
+ Restaurant promo
+ GST(18%)
+ Restaurant Total
+ Packaging Charge
+ Delivery Charge
+ Name
+ ₹968.00
+ ₹50.00
+ ₹138.96
+ ₹8.00
+ - ₹57.00
+
+
+
+ fonts/roboto_bold.ttf
+ fonts/font_rg.ttf
+ fonts/roboto_light.ttf
+ fonts/roboto_medium.ttf
+
+
diff --git a/OnDemandDelivery-driver/app/src/main/res/values/styles.xml b/OnDemandDelivery-driver/app/src/main/res/values/styles.xml
new file mode 100644
index 0000000..9600fca
--- /dev/null
+++ b/OnDemandDelivery-driver/app/src/main/res/values/styles.xml
@@ -0,0 +1,135 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/OnDemandDelivery-driver/build.gradle b/OnDemandDelivery-driver/build.gradle
new file mode 100644
index 0000000..081e80d
--- /dev/null
+++ b/OnDemandDelivery-driver/build.gradle
@@ -0,0 +1,26 @@
+// Top-level build file where you can add configuration options common to all sub-projects/modules.
+
+buildscript {
+ repositories {
+ jcenter()
+ }
+ dependencies {
+ classpath 'com.android.tools.build:gradle:2.3.3'
+ classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4'
+ classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
+ classpath 'com.google.gms:google-services:3.0.0'
+
+ // NOTE: Do not place your application dependencies here; they belong
+ // in the individual module build.gradle files
+ }
+}
+
+allprojects {
+ repositories {
+ jcenter()
+ }
+}
+
+task clean(type: Delete) {
+ delete rootProject.buildDir
+}
diff --git a/OnDemandDelivery-driver/gradle.properties b/OnDemandDelivery-driver/gradle.properties
new file mode 100644
index 0000000..aac7c9b
--- /dev/null
+++ b/OnDemandDelivery-driver/gradle.properties
@@ -0,0 +1,17 @@
+# Project-wide Gradle settings.
+
+# IDE (e.g. Android Studio) users:
+# Gradle settings configured through the IDE *will override*
+# any settings specified in this file.
+
+# For more details on how to configure your build environment visit
+# http://www.gradle.org/docs/current/userguide/build_environment.html
+
+# Specifies the JVM arguments used for the daemon process.
+# The setting is particularly useful for tweaking memory settings.
+org.gradle.jvmargs=-Xmx1536m
+
+# When configured, Gradle will run in incubating parallel mode.
+# This option should only be used with decoupled projects. More details, visit
+# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
+# org.gradle.parallel=true
diff --git a/OnDemandDelivery-driver/gradle/wrapper/gradle-wrapper.jar b/OnDemandDelivery-driver/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..13372ae
Binary files /dev/null and b/OnDemandDelivery-driver/gradle/wrapper/gradle-wrapper.jar differ
diff --git a/OnDemandDelivery-driver/gradle/wrapper/gradle-wrapper.properties b/OnDemandDelivery-driver/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..013de38
--- /dev/null
+++ b/OnDemandDelivery-driver/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Wed Jun 14 15:09:27 IST 2017
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
diff --git a/OnDemandDelivery-driver/gradlew b/OnDemandDelivery-driver/gradlew
new file mode 100755
index 0000000..9d82f78
--- /dev/null
+++ b/OnDemandDelivery-driver/gradlew
@@ -0,0 +1,160 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >/dev/null
+APP_HOME="`pwd -P`"
+cd "$SAVED" >/dev/null
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+ JAVACMD=`cygpath --unix "$JAVACMD"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/OnDemandDelivery-driver/gradlew.bat b/OnDemandDelivery-driver/gradlew.bat
new file mode 100644
index 0000000..aec9973
--- /dev/null
+++ b/OnDemandDelivery-driver/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/OnDemandDelivery-driver/settings.gradle b/OnDemandDelivery-driver/settings.gradle
new file mode 100644
index 0000000..9d495b3
--- /dev/null
+++ b/OnDemandDelivery-driver/settings.gradle
@@ -0,0 +1 @@
+include ':app'
\ No newline at end of file