Flex To Usda Food Database
I need a Flex Component that will allow a user to select a food item from the USDA Food Database, enter the amount they consumed, and return the macronutrient breakdown and the calorie amount for what was consumed.
This component must be deployable in both a Flex (.swf) and AIR solution. If needed, a PHP proxy can be used to connect to the USDA database.
The idea is to query the live USDA database, and not replicate it on my server.
The component will present the UI for selecting the food and entering the amount.
upon hitting a Submit button, the Macronutrient and Calorie values for the food/amount inputs will be displayed.
The component will also include a public function that will return the food, amount, and calories.