Barcode / WebCamera

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

  1. AndroidDeveloper


    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(;
    final TextView name = (TextView) findViewById(;
    final Button scan = (Button) findViewById(;
    final RadioGroup ret = (RadioGroup) findViewById(;
    final TextView message = (TextView) findViewById(;
    final Button demo = (Button) findViewById(;
    final Button mosey = (Button) findViewById(;

    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