rmtheis / android-ocr

Experimental optical character recognition app
Apache License 2.0
2.23k stars 894 forks source link

Start CaptureActivity from external app #38

Closed jnmronquillo closed 8 years ago

jnmronquillo commented 8 years ago

Can I start CaptureActivity from an external app? Like zxing barcode: Intent i = new Intent("com.google.zxing.client.android.SCAN"); startActivityForResult(i, REQ_CODE);

and get the result in data.getStringExtra("SCAN_RESULT")

rmtheis commented 8 years ago

You can do this, but you'd need to make the modifications to this app's code yourself to add an intent filter and handle the intent.

http://developer.android.com/guide/components/intents-filters.html