Note that there are some explanatory texts on larger screens.

plurals
  1. POzxing library not working with Sony Xperia Z Devices
    primarykey
    data
    text
    <p>I am using Zxing Barcode Reader library to scan QR codes frm My Application which is downloaded from the below link :</p> <pre><code>http://code.google.com/p/zxing/downloads/detail?name=ZXing-2.2.zip&amp;can=2&amp;q= </code></pre> <p>Now I am able to scan QR codes and adjust the flash light from App using Zxing Library. The weird thing happening here is that the library not working in Sony Xperia Z phone, even I am not able to adjust the flash light from App where as I am successfully scanning with Samsung Galaxy S4 and other Xperia devices or Sony devices. </p> <p>Please suggest me whether there is any Manifest permissions I need to Add specifically for this device or anything I am missing out.</p> <p>The following permissions are used in the manifest at present :</p> <pre><code>&lt;uses-permission android:name="android.permission.CAMERA"/&gt; &lt;uses-permission android:name="android.permission.READ_CONTACTS"/&gt; &lt;uses-permission android:name="android.permission.WRITE_CONTACTS"/&gt; &lt;uses-permission android:name="android.permission.INTERNET"/&gt; &lt;uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"/&gt; &lt;uses-permission android:name="android.permission.VIBRATE"/&gt; &lt;uses-permission android:name="android.permission.FLASHLIGHT"/&gt; &lt;uses-feature android:name="android.hardware.camera" /&gt; &lt;uses-feature android:name="android.hardware.camera.autofocus" /&gt; </code></pre> <p>The Zxing library declaration part is :</p> <p> </p> <pre><code> &lt;category android:name="android.intent.category.DEFAULT" /&gt; &lt;/intent-filter&gt; &lt;!-- Allow web apps to launch Barcode Scanner by linking to http://zxing.appspot.com/scan. --&gt; &lt;intent-filter&gt; &lt;action android:name="android.intent.action.VIEW" /&gt; &lt;category android:name="android.intent.category.DEFAULT" /&gt; &lt;category android:name="android.intent.category.BROWSABLE" /&gt; &lt;data android:host="zxing.appspot.com" android:path="/scan" android:scheme="http" /&gt; &lt;/intent-filter&gt; &lt;!-- We also support a Google Product Search URL. --&gt; &lt;intent-filter&gt; &lt;action android:name="android.intent.action.VIEW" /&gt; &lt;category android:name="android.intent.category.DEFAULT" /&gt; &lt;category android:name="android.intent.category.BROWSABLE" /&gt; &lt;data android:host="www.google.com" android:path="/m/products/scan" android:scheme="http" /&gt; &lt;/intent-filter&gt; &lt;!-- And the UK version. --&gt; &lt;intent-filter&gt; &lt;action android:name="android.intent.action.VIEW" /&gt; &lt;category android:name="android.intent.category.DEFAULT" /&gt; &lt;category android:name="android.intent.category.BROWSABLE" /&gt; &lt;data android:host="www.google.co.uk" android:path="/m/products/scan" android:scheme="http" /&gt; &lt;/intent-filter&gt; &lt;/activity&gt; &lt;activity android:name="com.google.zxing.client.android.HelpActivity" android:configChanges="orientation|keyboardHidden" android:screenOrientation="portrait" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" &gt; &lt;/activity&gt; &lt;activity android:name="com.google.zxing.client.android.PreferencesActivity" android:configChanges="orientation|keyboardHidden" android:screenOrientation="portrait" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" &gt; &lt;/activity&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    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. 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