Android Cookbook Home | DarwinSys Home
iFAQ - {Ians,in}Frequently Asked Questions
Many of these only applied when the site was live for contributions from the world.
- Are there enough recipes yet? Are all the good recipes taken?
- No. No. Please, keep 'em coming!
- What is it?
- The O'Reilly Android Cookbook is a crowd-sourced reference to all aspects of developing successful Android applications. It is not an application to manage your food recipes under Android!
- Who is doing this?
- This site was created after O'Reilly Media contracted with me to create an O'Reilly Android Cookbook. The contract author is Ian Darwin of RejmiNet Group Inc, author of the popular Java Cookbook. On the O'Reilly side, editors have included Dawn Schanafelt, Meghan Blanchette, Courtney Nash, and Mike Loukides.
- Who else?
- The site is being written wiki-style, so anybody can sign up and contribute content. There are currently around 300 members in the Android Cookbook Community, of whom almost a hundred have contributed recipes to the book. But don't worry - there's room for you too!
- Are the recipes copyright? Can I use the code?
- Yes to both - all recipes are copyright by their originators, and are released freely under the Creative Commons CC-BY License. You can use the code for anything you like, as long as you credit the author and AndroidCookbook.com
- Why Should I Contribute?
- You get your name listed as a contributor to the site. If your recipe is used in the published Book, you will receive a copy of the Android Cookbook and be listed as a contributor in the book. And hey - it looks good on the resume!
- What if I think I can write a better version of a recipe that's already on the site? Or what if I (oops) just wrote a recipe on the same topic as somebody else's recipe?
- In both cases, ''no problem''! We have room for all the recipes you can send us. We might not include two recipes on the same topic in the published book edition, but both will remain online for your fellow Android developers to learn from.
- Can I license my contributions under the GPL? BSD? ASL?
- ll recipes must be covered by the Creative Commons CC-BY License so that we can include them in the printed book by O'Reilly Media. Since you are and remain the copyright holder of your own code, you always have the choice of making your code available under other license(s) as well, such as BSD, GPL, or whatever. You need only include a one-line comment to the effect that, e.g.,
This code is dual-licensed under CC-BY and the BSD License
at the beginning of ''each'' code snippet.
- How do I mark up my recipes?
- The first version of this sites used Wiki markup, but now we use a subset of AsciiDoc Markup; see the Recipe AsciiDoc Markup Subset.
- Why does my new Recipe not appear?
- New Recipes are checked by a Moderator to ensure they are plausible looking; once your Recipe has been Moderator-approved it will show up. If you don't logout but instead let your session time out, this will delay the approval; our moderators are trained not to edit recipes while their contributor is still signed in, to prevent those annoying little editing conflicts!
If the Recipe just consists of a problem, a solution, and a one-line discussion, we will likely consider it too incomplete to approve.
- Why are Recipes and even Comments Moderated?
- General paranoia. To avoid SPAM, xCSS and other evils of the modern age.
- How do I add screenshots?
- After you have initially saved your recipe and go to Edit it, then a Screenshot upload dialog will be part of the edit page.
- What do I do while waiting for the moderator to approve my recipe?
-
You can still edit the recipe. If you lose track of the URL for it, just go to your Preferences page; there's a list of Recipes near the bottom of the page (recipes show up here even if not moderated yet).
You can start in on another recipe - the more the merrier!
- Why do I have to give my real name and mailing address?
-
You are contributing to a published work, and we want to acknowledge you; there is a tradition dating back many generations of attributing contributors by their real names.
If you contribute a recipe that is used in the printed edition, we will need your address in order to send a copy of the book to you.
There may be other goodies that we'll want to mail out.
We promise never to send junk mail to your mailing address!
We need it for legal reasons / regulatory compliance anyway.
- What is Moderator Approval vs Editorial Approval?
- ''Moderator Approval'' means that a Recipe, Comment or other item can be shown to other people. Moderators are supposed to screen for SPAM, CSS, and other malignancies. ''Editorial Approval'' means that the Recipe will be included in the published edition of the Cookbook. The section ''Newest recipes'' (on the home page) shows the most recently-added recipes after they are given moderator approval. There is not yet a list of Editorial-Approved recipes, but each recipe's details page shows near the bottom whether it has been chosen yet for inclusion in the book.
- Why do you not display my URL in comments?
- Sites used to do this, but way too many link-spammers simply abuse this.
- How many recipes are there? How many do you need?
- The current count of recipes submitted and approved is shown on the home page. To make the printed book we probably need around 300 recipes. See this list of suggested recipes.
For the online version of this site, we have a ''really big'' hard disk and can hold as many legitimate recipes as people can send us.
What web site technology is used? Since Android is based on Java, of course this web site was built using server-side Java! The old site was done using Seam2, which is now defunct. The new version is done using JSF 2.2 and PrimeFaces 6. The data are stored in the industrial-strength PostgreSQL database. The server is running on a current version of OpenBSD, "the proactively secure Unix-like operating system".
- What if I think you have my copyright materials on display?
- Remember that a lot of things in Android code are pretty obvious - there is only one way to write certain things. If you believe that somebody really has taken your copyright material and displayed it on our site, please submit a complete and correctly formatted DMCA takedown notice for the offending article.
- Are these questions really Frequently Asked?
- Of course not. Nobody does that. Well, some of them have been asked.
An FAQ is now a way of providing information that you think people might ask, or to answer questions that you wish somebody would ask.
And, in many cases, of not answering the questions that real users actually ask.