android - Can't detect audio jack card readers on Galaxy Tab 2 (7.0") -


I try to use an audio jack card reader (like a square but not square) on Galaxy Tab 2 (7.0 "). When it was not working, I wrote a test app that has plugged something in the audio jack, except to find out it. ACTION_HEADSET_PLUG Is received when you plug headphones, but when you plug in the card reader, then some I did try a different maker than a different reader and it did not work. We tried several tabs with the same tab but the same test app was installed on other Android devices including other Samsung devices. ACTION_HEADSET_PLUG with card swipes. The only combination that does not work is swipe the card with tab 2.

On the headphones and the readers plug the same number of conductors and in each case Look similar, and they are completely involved.

I have noticed that oddball equipment requires permissions for which they do not want, so I am hoping that someone has permission Or know about the unique setting for Tab 2 that can explain this problem.

Only one activity from my test app:

  Public class extends MainActivity activity {Private textview status text; Private Final Broadcast Receiver Headset Receiver = New Broadcast Receiver () {@ Override Public Records on Receive (Context Reference, Intent of Intent) {Boolean Plugged = (intent.getIntExtra ("state", 0) == 1); StatusText.setText (plugged? R string.stats_plugged: r.string.status_unplugged); }}; @ Override protected void saved create (bundled Instansstet) {Suprknkret (saved Instensstet); SetContentView (R.layout.activity_main); StatSetxt = (TextView) Find VVBID (RID Stats Text); } @ Override Protected Zero at POS () {Unregistered Receiver (Headset Receiver); Super.onPause (); } @ Override Resume at Secure Zero (Register Receiver (Headset Receiver, New Intent Filter (Intent.ACTION_HEADSET_PLUG)); Super.onResume (); }}    

Check out this link:

The proper part is: Note: At this time, any microphone output (Square Card Reader, Jobon UP) is not currently supported on the device containing the microphone input.

This is affecting Square readers on our tablet, so you can influence as well.

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -