Irdroid in Basic4android

G

GCOINC

Guest
Hello infrared masters of the universe ;)


The irdroid IR module is cool - but its not cool if we must use apps locked down to the usage they provide...

Q: how to initialize this piece of hardware? Wondering if a lib must be developed or whether something floating around the forum may be of use - IRDA Manager 'tweaked' perhaps?


T.I.A. - lets party!!! :sign0104:
 
G

GCOINC

Guest
I got this out of the thread material...

B4X:
Dim r As Reflector
r.Target = r.GetContext
r.Target = r.RunMethod2("getSystemService", "irda", "java.lang.String")
r.RunMethod2("write_irsend", "data", "java.lang.String")

Also, a lot of 'no apis' and deadends on the manufacturer side- Got a big idea wrapped up in my non-java brain - would like to simply send a 'power off' code for any television (samsung,toshiba,sanyo,sorny) for example OR send 1,2,3,4,5... to another unit capable of 'receiving ir transmits' - (which may depend on an custom app to interpret custom IR codes to specific numeric digits. (very rudimentary examples)

Clearly the future of IR is very top secret from the manufacturers standpoint... :sign0148:

-Rock out.!
 
Upvote 0
Top