How to develope a Barcode scanner without installing third party software
<p>M trying to develope a Bar Code scanner which will scan bar code, I have developed a project which scan the bar code after installing third party software. I dont want to insatal the software. please help me so that a can develope the project which can sacn bar code without installing any software. my code pasted below.. thakns in advance..</p>

<pre><code>import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.widget.EditText;

public class BarCodeScannerActivity extends Activity {

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);
}

public void onClick(View view){

    IntentIntegrator integrator = new IntentIntegrator(this);
    integrator.initiateScan();
}

public void onActivityResult(int requestCode, int resultCode, Intent intent) {
      IntentResult scanResult = IntentIntegrator.parseActivityResult(requestCode,    resultCode, intent);
      if (scanResult != null) {

          EditText displayCode = (EditText) findViewById(R.id.editTextForCode);
          displayCode.setText(scanResult.getContents());

          EditText displayType = (EditText) findViewById(R.id.editTextForType);
          displayType.setText(scanResult.getFormatName());
      }


    }
  }
</code></pre>
