How to build a simple image/primary-colour similarity database
A Neural Network in 11 lines of Python
| /** | |
| * This method displays the given price on the screen. | |
| */ | |
| private void displayPrice(int number) { | |
| TextView priceTextView = (TextView) findViewById(R.id.price_text_view); | |
| priceTextView.setText(NumberFormat.getCurrencyInstance().format(number)); | |
| } | 
| package com.example.android.justjava; | |
| import android.os.Bundle; | |
| import android.support.v7.app.ActionBarActivity; | |
| import android.view.View; | |
| import android.widget.TextView; | |
| /** | |
| * This app displays an order form to order coffee. | |
| */ |