Commit d9af2f9d authored by Willard's avatar Willard

Rename package to com.canteeneo

parent 50530e0f
package com.testapp; package com.canteeneo;
import android.content.Context; import android.content.Context;
import android.support.test.InstrumentationRegistry; import android.support.test.InstrumentationRegistry;
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.testapp"> package="com.canteeneo">
<!-- To auto-complete the email text field in the login form with the user's emails --> <!-- To auto-complete the email text field in the login form with the user's emails -->
<uses-permission android:name="android.permission.GET_ACCOUNTS"/> <uses-permission android:name="android.permission.GET_ACCOUNTS"/>
...@@ -10,14 +10,14 @@ ...@@ -10,14 +10,14 @@
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<application <application
android:name=".CustomApplication" android:name="com.canteeneo.CustomApplication"
android:allowBackup="true" android:allowBackup="true"
android:icon="@mipmap/ic_launcher" android:icon="@mipmap/ic_launcher"
android:label="@string/app_name" android:label="@string/app_name"
android:supportsRtl="true" android:supportsRtl="true"
android:theme="@style/AppTheme"> android:theme="@style/AppTheme">
<activity <activity
android:name=".LoginActivity" android:name="com.canteeneo.LoginActivity"
android:label="@string/app_name"> android:label="@string/app_name">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN"/> <action android:name="android.intent.action.MAIN"/>
...@@ -26,26 +26,26 @@ ...@@ -26,26 +26,26 @@
</intent-filter> </intent-filter>
</activity> </activity>
<activity <activity
android:name=".NavDrawerActivity" android:name="com.canteeneo.NavDrawerActivity"
android:label="@string/title_activity_nav_drawer" android:label="@string/title_activity_nav_drawer"
android:theme="@style/AppTheme.NoActionBar"/> android:theme="@style/AppTheme.NoActionBar"/>
<activity <activity
android:name=".DishViewActivity" android:name="com.canteeneo.DishViewActivity"
android:label="@string/title_activity_dish_view" android:label="@string/title_activity_dish_view"
android:theme="@style/AppTheme"/> android:theme="@style/AppTheme"/>
<activity <activity
android:name=".StallViewActivity" android:name="com.canteeneo.StallViewActivity"
android:label="@string/title_activity_stall_view" android:label="@string/title_activity_stall_view"
android:theme="@style/AppTheme"/> android:theme="@style/AppTheme"/>
<activity <activity
android:name=".DishReviewActivity" android:name="com.canteeneo.DishReviewActivity"
android:label="@string/title_activity_add_dish_review" android:label="@string/title_activity_add_dish_review"
android:theme="@style/AppTheme"/> android:theme="@style/AppTheme"/>
<activity <activity
android:name=".StallReviewActivity" android:name="com.canteeneo.StallReviewActivity"
android:label="@string/title_activity_add_stall_review" android:label="@string/title_activity_add_stall_review"
android:theme="@style/AppTheme"/> android:theme="@style/AppTheme"/>
<activity android:name=".RegisterActivity"> <activity android:name="com.canteeneo.RegisterActivity">
</activity> </activity>
</application> </application>
......
package com.testapp; package com.canteeneo;
import android.content.Context; import android.content.Context;
import android.net.ConnectivityManager; import android.net.ConnectivityManager;
...@@ -16,7 +16,6 @@ import okhttp3.Interceptor; ...@@ -16,7 +16,6 @@ import okhttp3.Interceptor;
import okhttp3.OkHttpClient; import okhttp3.OkHttpClient;
import okhttp3.Request; import okhttp3.Request;
import okhttp3.Response; import okhttp3.Response;
import okhttp3.internal.http.RequestException;
import retrofit2.Retrofit; import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory; import retrofit2.converter.gson.GsonConverterFactory;
......
package com.testapp; package com.canteeneo;
import com.testapp.entities.Cuisine; import com.canteeneo.entities.Cuisine;
import com.testapp.entities.Dish; import com.canteeneo.entities.Dish;
import com.testapp.entities.DishReview; import com.canteeneo.entities.DishReview;
import com.testapp.entities.DishType; import com.canteeneo.entities.DishType;
import com.testapp.entities.Location; import com.canteeneo.entities.Location;
import com.testapp.entities.NewUserResult; import com.canteeneo.entities.NewUserResult;
import com.testapp.entities.Stall; import com.canteeneo.entities.Stall;
import com.testapp.entities.FavoriteInfo; import com.canteeneo.entities.FavoriteInfo;
import com.testapp.entities.StallReview; import com.canteeneo.entities.StallReview;
import com.testapp.entities.Token; import com.canteeneo.entities.Token;
import java.util.List; import java.util.List;
......
package com.testapp; package com.canteeneo;
import android.app.Application; import android.app.Application;
......
package com.testapp; package com.canteeneo;
import android.app.Activity; import android.app.Activity;
import android.view.View; import android.view.View;
...@@ -8,7 +8,7 @@ import android.widget.ImageView; ...@@ -8,7 +8,7 @@ import android.widget.ImageView;
import android.widget.TextView; import android.widget.TextView;
import com.squareup.picasso.Picasso; import com.squareup.picasso.Picasso;
import com.testapp.entities.Dish; import com.canteeneo.entities.Dish;
import java.util.ArrayList; import java.util.ArrayList;
......
package com.testapp; package com.canteeneo;
import android.os.Bundle; import android.os.Bundle;
import android.support.design.widget.FloatingActionButton; import android.support.design.widget.FloatingActionButton;
...@@ -9,7 +9,7 @@ import android.widget.EditText; ...@@ -9,7 +9,7 @@ import android.widget.EditText;
import android.widget.RatingBar; import android.widget.RatingBar;
import android.widget.Toast; import android.widget.Toast;
import com.testapp.entities.DishReview; import com.canteeneo.entities.DishReview;
import okhttp3.ResponseBody; import okhttp3.ResponseBody;
import retrofit2.Call; import retrofit2.Call;
......
package com.testapp; package com.canteeneo;
import android.app.Activity; import android.app.Activity;
import android.app.AlertDialog; import android.app.AlertDialog;
...@@ -12,7 +12,7 @@ import android.widget.RatingBar; ...@@ -12,7 +12,7 @@ import android.widget.RatingBar;
import android.widget.TextView; import android.widget.TextView;
import android.widget.Toast; import android.widget.Toast;
import com.testapp.entities.DishReview; import com.canteeneo.entities.DishReview;
import java.util.ArrayList; import java.util.ArrayList;
......
package com.testapp; package com.canteeneo;
import android.content.Intent; import android.content.Intent;
import android.os.Bundle; import android.os.Bundle;
...@@ -14,8 +14,8 @@ import android.widget.TextView; ...@@ -14,8 +14,8 @@ import android.widget.TextView;
import android.widget.Toast; import android.widget.Toast;
import com.squareup.picasso.Picasso; import com.squareup.picasso.Picasso;
import com.testapp.entities.DishReview; import com.canteeneo.entities.DishReview;
import com.testapp.entities.FavoriteInfo; import com.canteeneo.entities.FavoriteInfo;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
......
package com.testapp; package com.canteeneo;
import android.animation.Animator; import android.animation.Animator;
import android.animation.AnimatorListenerAdapter; import android.animation.AnimatorListenerAdapter;
import android.annotation.TargetApi; import android.annotation.TargetApi;
import android.content.Intent; import android.content.Intent;
import android.os.AsyncTask;
import android.os.Build; import android.os.Build;
import android.os.Bundle; import android.os.Bundle;
import android.support.v7.app.AppCompatActivity; import android.support.v7.app.AppCompatActivity;
...@@ -19,7 +18,7 @@ import android.widget.EditText; ...@@ -19,7 +18,7 @@ import android.widget.EditText;
import android.widget.TextView; import android.widget.TextView;
import android.widget.Toast; import android.widget.Toast;
import com.testapp.entities.Token; import com.canteeneo.entities.Token;
import retrofit2.Call; import retrofit2.Call;
import retrofit2.Callback; import retrofit2.Callback;
......
package com.testapp; package com.canteeneo;
import android.app.Activity; import android.app.Activity;
import android.app.AlertDialog; import android.app.AlertDialog;
...@@ -27,17 +27,15 @@ import android.widget.LinearLayout; ...@@ -27,17 +27,15 @@ import android.widget.LinearLayout;
import android.widget.ListView; import android.widget.ListView;
import android.widget.RelativeLayout; import android.widget.RelativeLayout;
import android.widget.TextView; import android.widget.TextView;
import android.widget.Toast;
import com.testapp.entities.Dish; import com.canteeneo.entities.Dish;
import com.testapp.entities.Filter; import com.canteeneo.entities.Filter;
import org.florescu.android.rangeseekbar.RangeSeekBar; import org.florescu.android.rangeseekbar.RangeSeekBar;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import okhttp3.ResponseBody;
import retrofit2.Call; import retrofit2.Call;
import retrofit2.Callback; import retrofit2.Callback;
import retrofit2.Response; import retrofit2.Response;
......
package com.testapp; package com.canteeneo;
import android.animation.Animator; import android.animation.Animator;
import android.animation.AnimatorListenerAdapter; import android.animation.AnimatorListenerAdapter;
import android.annotation.TargetApi; import android.annotation.TargetApi;
import android.content.Intent; import android.content.Intent;
import android.os.AsyncTask;
import android.os.Build; import android.os.Build;
import android.os.Bundle; import android.os.Bundle;
import android.support.v7.app.AppCompatActivity; import android.support.v7.app.AppCompatActivity;
import android.text.TextUtils; import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.View; import android.view.View;
import android.view.View.OnClickListener; import android.view.View.OnClickListener;
import android.view.inputmethod.EditorInfo;
import android.widget.AutoCompleteTextView;
import android.widget.Button; import android.widget.Button;
import android.widget.EditText; import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast; import android.widget.Toast;
import com.testapp.entities.NewUserResult; import com.canteeneo.entities.NewUserResult;
import com.testapp.entities.Token;
import retrofit2.Call; import retrofit2.Call;
import retrofit2.Callback; import retrofit2.Callback;
......
package com.testapp; package com.canteeneo;
import android.os.Bundle; import android.os.Bundle;
import android.support.design.widget.FloatingActionButton; import android.support.design.widget.FloatingActionButton;
...@@ -9,8 +9,7 @@ import android.widget.EditText; ...@@ -9,8 +9,7 @@ import android.widget.EditText;
import android.widget.RatingBar; import android.widget.RatingBar;
import android.widget.Toast; import android.widget.Toast;
import com.testapp.entities.DishReview; import com.canteeneo.entities.StallReview;
import com.testapp.entities.StallReview;
import okhttp3.ResponseBody; import okhttp3.ResponseBody;
import retrofit2.Call; import retrofit2.Call;
......
package com.testapp; package com.canteeneo;
import android.app.Activity; import android.app.Activity;
import android.app.AlertDialog; import android.app.AlertDialog;
...@@ -12,7 +12,7 @@ import android.widget.RatingBar; ...@@ -12,7 +12,7 @@ import android.widget.RatingBar;
import android.widget.TextView; import android.widget.TextView;
import android.widget.Toast; import android.widget.Toast;
import com.testapp.entities.StallReview; import com.canteeneo.entities.StallReview;
import java.util.ArrayList; import java.util.ArrayList;
......
package com.testapp; package com.canteeneo;
import android.content.Intent; import android.content.Intent;
import android.os.Bundle; import android.os.Bundle;
...@@ -13,10 +13,10 @@ import android.widget.ListView; ...@@ -13,10 +13,10 @@ import android.widget.ListView;
import android.widget.TextView; import android.widget.TextView;
import android.widget.Toast; import android.widget.Toast;
import com.testapp.entities.Dish; import com.canteeneo.entities.Dish;
import com.testapp.entities.FavoriteInfo; import com.canteeneo.entities.FavoriteInfo;
import com.testapp.entities.Stall; import com.canteeneo.entities.Stall;
import com.testapp.entities.StallReview; import com.canteeneo.entities.StallReview;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
......
package com.testapp.entities; package com.canteeneo.entities;
import java.util.List; import java.util.List;
......
package com.testapp.entities; package com.canteeneo.entities;
public class Cuisine implements Filter { public class Cuisine implements Filter {
......
package com.testapp.entities; package com.canteeneo.entities;
import com.google.gson.annotations.SerializedName; import com.google.gson.annotations.SerializedName;
......
package com.testapp.entities; package com.canteeneo.entities;
public class DishReview { public class DishReview {
......
package com.testapp.entities; package com.canteeneo.entities;
public class DishType implements Filter { public class DishType implements Filter {
......
package com.testapp.entities; package com.canteeneo.entities;
public class FavoriteInfo { public class FavoriteInfo {
int count; int count;
......
package com.testapp.entities; package com.canteeneo.entities;
public interface Filter { public interface Filter {
int getId(); int getId();
......
package com.testapp.entities; package com.canteeneo.entities;
public class Location implements Filter { public class Location implements Filter {
......
package com.testapp.entities; package com.canteeneo.entities;
public class NewUserResult { public class NewUserResult {
......
package com.testapp.entities; package com.canteeneo.entities;
public class Owner { public class Owner {
......
package com.testapp.entities; package com.canteeneo.entities;
public class Stall { public class Stall {
......
package com.testapp.entities; package com.canteeneo.entities;
public class StallReview { public class StallReview {
......
package com.testapp.entities; package com.canteeneo.entities;
public class Token { public class Token {
int id; int id;
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:fitsSystemWindows="true" android:fitsSystemWindows="true"
tools:context="com.testapp.StallReviewActivity"> tools:context="com.canteeneo.StallReviewActivity">
<android.support.design.widget.AppBarLayout <android.support.design.widget.AppBarLayout
android:layout_width="match_parent" android:layout_width="match_parent"
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:fitsSystemWindows="true" android:fitsSystemWindows="true"
tools:context="com.testapp.DishViewActivity"> tools:context="com.canteeneo.DishViewActivity">
<android.support.design.widget.AppBarLayout <android.support.design.widget.AppBarLayout
android:layout_width="match_parent" android:layout_width="match_parent"
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
android:paddingTop="@dimen/activity_vertical_margin" android:paddingTop="@dimen/activity_vertical_margin"
android:focusable="true" android:focusable="true"
android:focusableInTouchMode="true" android:focusableInTouchMode="true"
tools:context="com.testapp.LoginActivity"> tools:context="com.canteeneo.LoginActivity">
<!-- Login progress --> <!-- Login progress -->
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
android:paddingTop="@dimen/activity_vertical_margin" android:paddingTop="@dimen/activity_vertical_margin"
android:focusable="true" android:focusable="true"
android:focusableInTouchMode="true" android:focusableInTouchMode="true"
tools:context="com.testapp.RegisterActivity"> tools:context="com.canteeneo.RegisterActivity">
<ProgressBar <ProgressBar
android:id="@+id/register_progress" android:id="@+id/register_progress"
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:fitsSystemWindows="true" android:fitsSystemWindows="true"
tools:context="com.testapp.StallViewActivity"> tools:context="com.canteeneo.StallViewActivity">
<android.support.design.widget.AppBarLayout <android.support.design.widget.AppBarLayout
android:layout_width="match_parent" android:layout_width="match_parent"
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:fitsSystemWindows="true" android:fitsSystemWindows="true"
tools:context="com.testapp.NavDrawerActivity"> tools:context="com.canteeneo.NavDrawerActivity">
<android.support.design.widget.AppBarLayout <android.support.design.widget.AppBarLayout
android:layout_width="match_parent" android:layout_width="match_parent"
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
android:paddingRight="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin" android:paddingTop="@dimen/activity_vertical_margin"
app:layout_behavior="@string/appbar_scrolling_view_behavior" app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:context="com.testapp.DishReviewActivity" tools:context="com.canteeneo.DishReviewActivity"
tools:showIn="@layout/activity_add_review"> tools:showIn="@layout/activity_add_review">
<EditText <EditText
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
android:paddingRight="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin" android:paddingTop="@dimen/activity_vertical_margin"
app:layout_behavior="@string/appbar_scrolling_view_behavior" app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:context="com.testapp.DishViewActivity" tools:context="com.canteeneo.DishViewActivity"
tools:showIn="@layout/activity_dish_view"> tools:showIn="@layout/activity_dish_view">
<ScrollView <ScrollView
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
android:paddingRight="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin" android:paddingTop="@dimen/activity_vertical_margin"
app:layout_behavior="@string/appbar_scrolling_view_behavior" app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:context="com.testapp.NavDrawerActivity" tools:context="com.canteeneo.NavDrawerActivity"
tools:showIn="@layout/app_bar_nav_drawer"> tools:showIn="@layout/app_bar_nav_drawer">
<ListView <ListView
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
android:paddingRight="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin" android:paddingTop="@dimen/activity_vertical_margin"
app:layout_behavior="@string/appbar_scrolling_view_behavior" app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:context="com.testapp.StallViewActivity" tools:context="com.canteeneo.StallViewActivity"
tools:showIn="@layout/activity_stall_view"> tools:showIn="@layout/activity_stall_view">
<ScrollView <ScrollView
......
package com.testapp; package com.canteeneo;
import org.junit.Test; import org.junit.Test;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment