Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>UPS Mobile is not linking to the Barcode Scanner app, but apparently have baked in its source code. This is not terribly shocking, even if it is unsupported and not recommended by the ZXing team.</p> <p>However, the UPS Mobile developers then did two things:</p> <ol> <li><p>They kept the same <code>&lt;intent-filter&gt;</code>, particularly where they are advertising that they are handling the <code>com.google.zxing.client.android.SCAN</code> action, despite the fact that they are not actually that app</p></li> <li><p>They marked the activity as not exported</p></li> </ol> <p>Courtesy of <a href="http://code.google.com/p/android/issues/detail?id=29535" rel="nofollow noreferrer">this bug</a>, the chooser will still show their activity, despite the fact that theirs is not exported and therefore cannot be launched.</p> <p>UPS Mobile either should be linking to Barcode Scanner the way you are, or not advertising this action. And, of course, this bug should get fixed.</p> <p>Unfortunately, the only workaround I can think of would be for you to add in your <code>Intent</code> the actual package name for Barcode Scanner (<code>com.google.zxing.client.android</code>) to try to limit it to that app only.</p> <p>This is reminiscent of <a href="https://stackoverflow.com/questions/10319928/android-securityexception-on-pdf-send-intent/10320136">another SO question</a>, that led to <a href="http://commonsware.com/blog/2012/04/25/how-isolated-adobe-reader-activity-issue.html" rel="nofollow noreferrer">a blog post of mine</a>, that obviously was insufficient to educate UPS, so I'll probably blog on this again...</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload