My requirement is to read the barcode value. Considering anroid emulator i am trying to use webcam to capture the barcode image by following the link Moseycode Release 0.2.1, which has written in sdk 0.1. But i need to change to sdk 1.1.
Could any one help for the following error,
I could not able to find the package
import android.database.ArrayListCursor;
Could you plz provide alternative solution for sdk 1.1 compatible from the follolwing
Could any one help for the following error,
I could not able to find the package
import android.database.ArrayListCursor;
Could you plz provide alternative solution for sdk 1.1 compatible from the follolwing
//obtain references to the controls
final Gallery gallery = (Gallery) findViewById(R.id.sources);
final TextView name = (TextView) findViewById(R.id.name);
final Button scan = (Button) findViewById(R.id.scan);
final RadioGroup ret = (RadioGroup) findViewById(R.id.ret);
final TextView message = (TextView) findViewById(R.id.message);
final Button demo = (Button) findViewById(R.id.demo_history);
final Button mosey = (Button) findViewById(R.id.mosey_history);
ArrayList list = new ArrayList<ArrayList>();
for (int i = 0; i < NAMES.length; i++) {
list.add(new ArrayList());
}
final TextView name = (TextView) findViewById(R.id.name);
final Button scan = (Button) findViewById(R.id.scan);
final RadioGroup ret = (RadioGroup) findViewById(R.id.ret);
final TextView message = (TextView) findViewById(R.id.message);
final Button demo = (Button) findViewById(R.id.demo_history);
final Button mosey = (Button) findViewById(R.id.mosey_history);
ArrayList list = new ArrayList<ArrayList>();
for (int i = 0; i < NAMES.length; i++) {
list.add(new ArrayList());
}
ArrayListCursor cursor = new ArrayListCursor(new String[0], list);
gallery.setAdapter(new Adapter(cursor, this));
gallery.setAdapter(new Adapter(cursor, this));