Zxing Android library

A

AC Question

I'm using zxing library in Android, and i get content from scanResult type of IntentResult, but from this scanResult i need to know what kind of content is it (if it is a SMS i need to open SMS window, if it is an email I need to open email), also for example when i open email, i need to fill To, Subject, and Body fields.

Here is my code:

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

if (scanResult != null) {
String content = intent.getStringExtra("SCAN_RESULT");}
 

Trending Posts

Forum statistics

Threads
943,189
Messages
6,917,715
Members
3,158,869
Latest member
apkmodyo