Is there access to IR-aviz for Android?

I recently got the Galaxy Tab 2, which includes a remote control. I tried using some google api accessibility but couldn't find anything. Do I need to use IR control in a user application or is Samsung blocked?

thanks

+4
source share
2 answers

REALLY a late answer, but to those who find this question ...

I was looking for the Samsung Infrared API. I found only the answer to this Samsung Developers Forum (September 6, 2012) to a similar request in which a Samsung representative indicates that Samsung is not providing an IR API to the public.

+2
source

We can control ir blaster using a custom application ... not blocked ... u can try this code.

@SuppressLint("NewApi") public void click(View v) { final ConsumerIrManager irManager = (ConsumerIrManager) getSystemService(CONSUMER_IR_SERVICE); Log.i("PowerButton", "Button Clicked."); if (irManager.hasIrEmitter()) { Log.i("PowerButton", "Has IR Emitter."); ConsumerIrManager.CarrierFrequencyRange[] freqRange = irManager.getCarrierFrequencies(); Log.i("PowerButton", "Min Frequency: " + freqRange[0].getMinFrequency()); Log.i("PowerButton", "Max Frequency: " + freqRange[0].getMaxFrequency()); int[] pattern = {/* Insert pattern here */}; int frequency = 10000; irManager.transmit(frequency, pattern); } else { Log.i("PowerButton", "Does not have an IR Emitter."); } } 
0
source

All Articles