100 comments found.

http://i.imgur.com/EVoGHdQ.png my search is pizza but the result include hamburger and other recipe hasn’t no relation with word “pizza”

So, to fix this issue, open HomeFragment.java.

in line 45 add:
String searchText = "";
In line117 replace:
 Recipe.loadRecipes(getActivity(), 0, LIST_INITIAL_LOAD, "", new Recipe.onRecipesDownloadedListener() {
with:
 Recipe.loadRecipes(getActivity(), 0, LIST_INITIAL_LOAD, searchText, new Recipe.onRecipesDownloadedListener() {
In line 132 replace:
  Recipe.loadRecipes(getActivity(), first, LIST_INITIAL_LOAD_MORE_ONSCROLL, "", new Recipe.onRecipesDownloadedListener() {
with:
  Recipe.loadRecipes(getActivity(), first, LIST_INITIAL_LOAD_MORE_ONSCROLL, searchText, new Recipe.onRecipesDownloadedListener() {
and in line 207 add:
  searchText = newText;
such that it looks like this:
@Override
                public boolean onQueryTextChange(String newText) {
                    searchText = newText;
                    Recipe.loadRecipes(getActivity(), 0, 100, newText, new Recipe.onRecipesDownloadedListener() {
                        @Override
                        public void onRecipesDownloaded(List<Recipe> recipes) {
                            setRecipes(recipes);
                        }
                    });
                    return false;
                }

If you think this is too much changes, feel free to send me an email and I’ll send you the updated file.

thank you very much ,

no problem :) sorry for taking longer than usual to reply

Hi, I got a problem.

1.In Recipe App page, the text in item displayes

{faw-eye} 5 {faw-star} 0

It doesn’t display the icon heart & eye.

2.In Recipe detail, it doesn’t display icon favorite

Could you help me fix?

Hi, I kept thinking about your problem. I think I found the problem. If the package name in the build.gradle is not replaced it will cause this same effect.

Take a look at the doc: http://www.neurondigital.com/demos/recipeapp_doc/doc/ Make sure you performed Changing Package name (step4).

Nope, I sent you my file build.gradle. I have changed its before. I sure

I took a look at the apk file. It is not working for me as well. The problem is as I said before due to the mismatch in package ids. In build.gradle you have: com.awesomedroid.app, when your package id is: com.awesomedroid.cookbook_recipe

So change the applicationId to “com.awesomedroid.cookbook_recipe” and it should work.

Regards, Melvin

Hi !!

I bought the extended license and installed the server as described. After changing the SERVER_URL it keeps crashing after I open the app… logcat gives me error on RecipeAdapter.onBindViewHolder(RecipeAdapter.java:95)

Thanks for looking into this.

Cheers, Hugo

You had some images on the admin page that could not be resolved. I replaced them all with a burger image for now. Can you try the app again to see if the error persists. If it does, can you send me the full (red) error, please

Thanks for fixing this – it works like a charm :)

Have a great weekend.

Cheers, Hugo

Glad it worked :)

Have you considered adding a website scraper to allow users to import recipes from various websites?

Hi, Thanks for the suggestion. However, I’m afraid this is not a feature which I can add.

Few Bugs to report: Search is broken Swipe between Ingredients and Directions only works randomly When Swiping to delete an item, there is no way to dismiss the undo and it stays for far too long. WYSIWYG editor is different on the android app and php site

For planning several meals and creating a shopping list it is easier to see total ingredients needed in one place rather than having ingredients separate. Having it grouped by recipe is nice to see what is needed for specific meals though. Maybe creating a select function that would allow it to be grouped by either. Thanks!

I will try to add the classic list back to the template then and make it optional :)

Thanks for pointing this out

can you add to it onesignal push notification ?

Hi, the template has firebase push notifications. They can be sent through firebase or through the admin page.

yes i see but i want onesignal … can you do it for me ?

Thanks for your request, however due to my limited time, I’m afraid I can’t currently perform this customisation myself.

Is there an easy way to automatically approve submitted recipes as well as adding a the ability to edit current recipes in the app? Thanks!

Hi, In ApiController.php line 63 you can add:
              $accepted=1;
above:
        $recipe = new Recipes($this->db);

This will make the approve automatic.

It would be a bit complex to add the features to edit the recipes in app.

Hi .. how I can solve this problem please ? http://imgh.us/Screenshot_2017-04-16-00-08-41.png

in Suggest Recipe I had the same >>

the problem was solved :D

Glad you solved it :) The problem was due to the renaming of the package name in gradle file

ı have login problem on my server side. i send e-mail with my login details. So please check the e-mail and reply me as soon as possible.

Hi, Just saw your email. Sending you a reply.

Hi,

I have two comments regarding the app:

1- It seems there is a bug related with the shopping cart. When the user click the cart icon it is changed to checked icon and it’s added to the shopping cart successfully, however when I click again and again it keeps adding it to the shopping cart as long as I click. So when I click again in the checked icon it should changed to the cart icon and remove the item from the shopping cart instead of adding it again. So please fix this issue.

2- How to change the direction of the app to be RTL?

Thanks.

1) will take a note of this and fix it in the next update.

2) The app is RTL by default depending on the locale. To test it you can go to your phone settings and force RTL.

Thank you for your reply, I know that when the language of the phone is support RTL the app also will be RTL by default such as Arabic language. But I want to force the app to be RTL even if the pbone language is English or other LTR language, how to do that?

Thanks

I tested the following code, in MainActivity.java line 70, right before the setContentView:
Configuration configuration = getResources().getConfiguration();
configuration.setLayoutDirection(new Locale("fa"));
configuration.setLocale(new Locale("fa"));
getResources().updateConfiguration(configuration, getResources().getDisplayMetrics());
It didn’t however, fully convert everything to RTL as expected. See if it works for you. I don’t think it can be easily done, without going through each xml layout and using:
android:layout_alignParentright="true" 
to right align.

This is not a very good practice. I suggest adding 2 languages, English and Arabic, that way if someone uses Arabic only on his phone, he will be shown arabic in RTL. See this article of how it can be done: https://developer.android.com/training/basics/supporting-devices/languages.html Basically, you just need to add a new values folder and naming it for example values-fr (french). Then copy/paste the strings.xml in it and translate it to the language.

kpsabith

kpsabith Purchased

if i have the server side url of the app (eg:admin.sdlfjf.com) of any one who using the same app template, i think i can paste the url in config (in adroid studio) so that i can access all the recipes he have already uploaded. is this not a serious security problem?

Hi, you are right. The recipes are not exclusive to the app. Most apps work like this. However, the recipes can only be modified by the admin. To make the recipes exclusive to the app a ‘password’ can be introduced in the app code, which will be used to access the recipes. This can be done in a future update. However, do you think it is necessary?

kpsabith

kpsabith Purchased

can not multiply fraction eg: 2.5 tea spoon sugar for 4 person can not multiply as 5 tea spoon sugar for 8 persons

Hi, I’m afraid the app does not currently support the point. I will try to add this as a feature in the next update.

kpsabith

kpsabith Purchased

thanks, can u pls share the code so i can add the same

byenergy

byenergy Purchased

http://prntscr.com/f5a9iw

I get such an error when I build, you can help me?

byenergy

byenergy Purchased

I resolved the above error. A new error has occurred

http://prntscr.com/f5apsc

Hi, the errors are occurring because of a mismatch in the package names. you have parts wich have com.yemek.tarifleri and others which are still using com.neurondigital.recipeapp. So to fix this, make sure to rename both the actual package name (from the folder rename) an the package name in build.gradle.

sabaody

sabaody Purchased

hello, can you adding video in this source code?

The app supports a youtube video in the recipe directions, as well as the info page. The Video can be added without code, through the online admin page, hosted on your server.

Hello,

My main recipes website is lets say www.myrecipes.com(already established website with many recipes)

My app site is www.apprecipes.com

How i can fix the deeplinks so when a user share a recipe from application the link goes to www.myrecipes.com ?.

It is possible?

If i just add the www.myrecipes.com domain in the config the link i get is broken.

If i add the www.apprecipes.com the link i get (if the user hasn’t install the app) is on app admin page. ( i can put there a download app link but is not desirable).

Thanks

Hi, If you add www.myrecipes.com in the config, you would get something like www.myrecipes.com/544, where 544 is your app recipe Id. If this is opened on your phone, the app will open and open the recipe with that id. If you open it online, you need to own www.myrecipes.com and set the routes of your website such that www.myrecipes.com/544 directs to www.myrecipes.com.

I understand that you might not be flexible on www.myrecipes.com. So an alternative might be to set the config link to www.apprecipes.com and direct www.apprecipes.com/544 (www.apprecipes.com/<RECIPE_ID>) to www.myrecipes.com.

It is possible to change every share link from app to my static page of myrecipes.com(basically not adding the /recipe_id on the end) ?

Hi, sure this is possible. However, then you will not get the benefit of sharing a recipe. Are you familiar with .htaccess routing? Basically you can modify your .htaccess file on your server, such that www.apprecipes.com/<RECIPE_ID> points to www.apprecipes.com/any_sub_folder/my_static_page.html

Take a look here: https://code.tutsplus.com/tutorials/using-htaccess-files-for-pretty-urls--net-6049

you just need to add:
Options +FollowSymLinks
RewriteEngine On

RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f

RewriteRule ^recipe/(\d+)*$ ./any_sub_folder/my_static_page.html

ı have login problem on my server side. 05/10 i sent e-mail with my login details. So please check the e-mail and reply me as soon as possible.

Hi, sorry, I made a mistake and got back to another query instead of yours. Your email was marked as read for some reason. Anyway, I will see it now.

can you send me your email again please, I don’t think It is the one I referred to in the last comment.

Ok. Finally managed to find it. It was in the spam folder.

kpsabith

kpsabith Purchased

when I add more than 8 ingrediants, none of them saved and disappears, I have tried to increase the structure field size for recipes in phpmysql but i can’t increase size above 1400, i have here with attached the error screen short https://drive.google.com/file/d/0B9ySUhrHi1rWTGlQTVZMQzBSaDA/view?usp=sharing

Hi, no problem. you did the right thing by increasing the size of the field. If you want it longer, just change the varchar to string.

linmerp

linmerp Purchased

I am getting this error

Not Found

HTTP 404 (GET /index.php)

[app/lib/base.php:1532] Base->error(404) [app/index.php:22] Base->run()

Can you send me the server url please?

linmerp

linmerp Purchased

Whats ur email address

Hi, Great app. Are you able to install for us? We can add to Goole play ourselves. Thanks

Send me an email to melvin@neurondigital.com for a quote.

Hi, can we set the apps to cache last 10 (LRU) recipes view by user? Cache the image include with the content details of the recipes

I’m afraid this is not implemented in the code exactly as you are mentioning. Having said this, the template uses the f3 (fat free) as a base framework. This should be automatically caching the most used recipes. Just make sure you have CACHE=true in config.ini.

by
by
by
by
by
by