	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.random_choise);
		Intent intent = getIntent();
		mUri = intent.getData();
		tv = (TextView)findViewById(R.id.random_result);
		buttonstart = (Button) findViewById(R.id.button_start);
		buttonstart.setOnClickListener(new OnClickListener() {
			public void onClick(View v) {
				mCursor = managedQuery(mUri, FoodColumn.PROJECTION, null, null, null);
				mCursor.moveToFirst();
				max = mCursor.getCount();
				long id = numx.nextInt(max)+1;
				Uri uri = ContentUris.withAppendedId(getIntent().getData(), id);
				mCursor = managedQuery(uri, FoodColumn.PROJECTION, null, null, null);
				Log.e(TAG + ":onCreate", mCursor.toString() + "  " + id + max);
				mCursor.moveToFirst();
				random_result = mCursor.getString(FoodColumn.NAME_COLUMN);
				tv.setText(random_result);
			}
		});
	}

	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.random_choise);
		Intent intent = getIntent();
		mUri = intent.getData();
		tv = (TextView)findViewById(R.id.random_result);
		buttonstart = (Button) findViewById(R.id.button_start);
		buttonstart.setOnClickListener(new OnClickListener() {
			public void onClick(View v) {
				mCursor = managedQuery(mUri, FoodColumn.PROJECTION, null, null, null);
				mCursor.moveToFirst();
				max = mCursor.getCount();
				long id = numx.nextInt(max);
				while(id>0){
					mCursor.moveToNext();
					id=id-1;
				}
				random_result = mCursor.getString(FoodColumn.NAME_COLUMN);
				tv.setText(random_result);
			}
		});
	}
