1. Check out our companion app, Forums for Android! Download from Google Play

Barcode / WebCamera

Discussion in 'Android Apps & Games' started by AndroidDeveloper, Mar 24, 2009.

  1. AndroidDeveloper

    Thread Starter

    Mar 9, 2009
    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

    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++) {
    new ArrayList());

    ArrayListCursor cursor = new ArrayListCursor(new String[0], list);
    gallery.setAdapter(new Adapter(cursor, this));


Share This Page