Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
435e8ad
Merge pull request #32 from btrinh1/brianmerged
gptrinh Mar 11, 2013
1f35791
Database Added, comments will be added later I just wanted to make it…
saturna Mar 11, 2013
6c5740e
Merge pull request #34 from saturna/develop
saturna Mar 11, 2013
a9c09b5
Adding in code for the pantry
ethanmykytiuk Mar 11, 2013
fa3c86f
More files for pantry
ethanmykytiuk Mar 11, 2013
f8ad4e2
Merge branch 'develop' of github.com:CMPUT301W13T06/classproject into…
ethanmykytiuk Mar 11, 2013
0d5278e
Merge pull request #39 from ethanmykytiuk/pantry-fragment
ethanmykytiuk Mar 11, 2013
dbba42d
DbHelper: some comments added
saturna Mar 11, 2013
522ab7b
Merge pull request #40 from saturna/develop
saturna Mar 11, 2013
569946a
Remove breaking stuff
f2prateek Mar 13, 2013
369f60d
Merge pull request #41 from f2prateek/revert-stuff
f2prateek Mar 13, 2013
adb2fd0
Don't use this yet. Add from https://code.google.com/p/romannurik-cod…
f2prateek Mar 13, 2013
a8e30d1
ViewPager in MainActivity
f2prateek Mar 13, 2013
0f97286
Merge pull request #42 from f2prateek/pantry-fragment
f2prateek Mar 13, 2013
5b02192
Recipe Loader
f2prateek Mar 14, 2013
b8eb399
Merge pull request #44 from f2prateek/image-loader
f2prateek Mar 14, 2013
2d9b3c6
Add Pantry list - by @ethanmykytiuk
f2prateek Mar 14, 2013
55dcd88
Merge pull request #45 from f2prateek/pantry-fragment
f2prateek Mar 14, 2013
9bc0a2b
Recipe Activity
f2prateek Mar 15, 2013
daaa6fb
Fix a bug, stress test
f2prateek Mar 15, 2013
a2e0d10
Merge pull request #48 from f2prateek/add-recipe
f2prateek Mar 15, 2013
3a68b72
Enable email notifications for Travis
f2prateek Mar 21, 2013
f087160
Add String ids for Recipes, Add description.
f2prateek Mar 21, 2013
687c70b
Add Random Data Generator
f2prateek Mar 21, 2013
238b4fb
Add delete
f2prateek Mar 21, 2013
67b55b7
Add search by name for recipes
f2prateek Mar 21, 2013
a7d8ccb
Add search for recipes with just one Ingredient
f2prateek Mar 21, 2013
e3e521a
Serch recipe by ANY or ALL ingredients (refactor might be required).
f2prateek Mar 21, 2013
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
language: java
jdk: oraclejdk7
notifications:
email: false
branches:
excludes:
- gh-pages
Expand Down
40 changes: 25 additions & 15 deletions app/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>

<!--
~ Copyright 2013 Adam Saturna
~ Copyright 2013 Brian Trinh
~ Copyright 2013 Ethan Mykytiuk
~ Copyright 2013 Prateek Srivastava (@f2prateek)
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.cmput301.recipebot"
android:versionCode="100"
Expand All @@ -9,6 +28,9 @@
android:minSdkVersion="8"
android:targetSdkVersion="16"/>

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>

<application
android:name=".RecipeBotApplication"
android:icon="@drawable/icon"
Expand All @@ -30,22 +52,10 @@
</activity>

<activity
android:name=".ui.AddPantryItemActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:label="@string/activity_add_pantry_item_title"/>
-->
<activity
android:name=".ui.AddRecipe"
android:label="@string/app_name">
<!--
<intent-filter>
<action android:name="android.intent.action.MAIN"/>

<category android:name="android.intent.category.LAUNCHER"/>

<category android:name="android.intent.category.DEFAULT"/>
</intent-filter> -->
android:name=".ui.RecipeActivity"
android:configChanges="orientation|keyboardHidden|screenSize" android:label="@string/app_name">
</activity>

</application>

</manifest>
11 changes: 11 additions & 0 deletions app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,23 @@
<artifactId>otto</artifactId>
<version>1.3.2</version>
</dependency>
<dependency>
<groupId>com.nostra13.universalimageloader</groupId>
<artifactId>universal-image-loader</artifactId>
<version>1.8.2</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.easytesting</groupId>
<artifactId>fest-assert-core</artifactId>
<version>2.0M10</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
Expand Down
Binary file removed app/res/drawable-hdpi/buttonimage.jpg
Binary file not shown.
Binary file removed app/res/drawable-nodpi/test_recipe_image_1.jpg
Binary file not shown.
Binary file removed app/res/drawable-nodpi/test_recipe_image_2.jpg
Binary file not shown.
Binary file removed app/res/drawable-nodpi/test_recipe_image_3.jpg
Binary file not shown.
Binary file removed app/res/drawable-nodpi/test_recipe_image_4.jpg
Binary file not shown.
Binary file removed app/res/drawable-nodpi/test_recipe_image_5.jpg
Binary file not shown.
Binary file removed app/res/drawable-nodpi/test_recipe_image_6.jpg
Binary file not shown.
15 changes: 5 additions & 10 deletions app/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v4.view.ViewPager xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/pager"
android:layout_width="match_parent"
android:layout_height="match_parent">

<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="hello"/>

</LinearLayout>
</android.support.v4.view.ViewPager>
95 changes: 95 additions & 0 deletions app/res/layout/activity_recipe.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
<?xml version="1.0" encoding="utf-8"?>

<!--
~ Copyright 2013 Adam Saturna
~ Copyright 2013 Brian Trinh
~ Copyright 2013 Ethan Mykytiuk
~ Copyright 2013 Prateek Srivastava (@f2prateek)
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->

<com.cmput301.recipebot.ui.views.VerticalScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">

<LinearLayout android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">

<android.support.v4.view.ViewPager
android:id="@+id/pager_recipe_images"
android:layout_width="fill_parent"
android:layout_height="100dp"
/>

<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/editText_recipe_title"
android:layout_gravity="left|center_vertical"/>

<LinearLayout android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content">

<EditText
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:id="@+id/editText_ingredients"
android:layout_gravity="left|center_vertical"/>

<ImageButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@android:drawable/ic_input_add"
android:id="@+id/button_add_ingredient"
android:layout_gravity="right|center_vertical"/>

</LinearLayout>

<ListView android:layout_width="match_parent"
android:id="@+id/list_ingredients"
android:layout_weight="1"
android:layout_height="0dp"/>

<LinearLayout android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content">

<EditText
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:id="@+id/editText_directions"
android:layout_gravity="left|center_vertical"/>

<ImageButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@android:drawable/ic_input_add"
android:id="@+id/button_add_direction"
android:layout_gravity="right|center_vertical"/>

</LinearLayout>

<ListView android:layout_width="match_parent"
android:id="@+id/list_directions"
android:layout_weight="1"
android:layout_height="0dp"/>

</LinearLayout>

</com.cmput301.recipebot.ui.views.VerticalScrollView>
124 changes: 0 additions & 124 deletions app/res/layout/add_recipe.xml

This file was deleted.

22 changes: 0 additions & 22 deletions app/res/layout/cell.xml

This file was deleted.

13 changes: 0 additions & 13 deletions app/res/layout/email_entry.xml

This file was deleted.

Loading