yashsingh1/xdaforums huggingface dataset:
[One (M7) Themes and Apps] antifish:
Hmmm i dont know. There is somehting about the apple remote here:

http://en.wikipedia.org/wiki/Apple_Remote

What type of action should happen if you combine these two buttons?

When evertything works good with this app, maybe i port it to the S4. But as already mentioned, the S4 cant learn codes. But the would share the same DB so if somebody upload a code with the ONE, the S4 could send it too
[One (M7) Themes and Apps] stealthsal:
I am trying to input a very special remote control that is used by hotels to program their Philips LCD tvs but I need more buttons to be available . Specially the RC5 setup and RC6 Setup . I will also upload the cable box from time warner that hotels use. Later today I will upload the LG LCD tvs that hotels use also.
[One (M7) Themes and Apps] antifish:
Thanks for uploading and sharing your codes. Ill add the missing codes for your remote when im back home (tomorrow morning).

@ all

The DSLR shutter function for Canon cameras is confirmed working, i will add that function soon to this app. Then ill keep working on the UI revamp, less ugly, more functions :)
[One (M7) Themes and Apps] Riyal:
Hi! :D By the way already tried the export import function and working great! :)

And a suggestion to the UI enhancements... :D

It would be great if you could create a grid with blank cells. The you can click and add button then you would have a selection of button styles like round, spherical, oblique, square, bigger buttons and those curved types and other oddly shaped buttons. That way users could customize the UI to their own taste and they could mimic the exact same layout of the remote. And in connection with the previous suggestion... Would it be possible for android to make a window layout where we could drag, drop & position those buttons in a per pixel manner instead of cells?

Like the homescreen on the n900 look...

http://www.youtube.com/watch?feature=player_detailpage&v=2kUAjEFiXlQ#t=216s

I miss that homescreen :( Still have the device though :D
[One (M7) Themes and Apps] antifish:
DSLR codes for Canon EOS xxx added.

Only immediate trigger at the moment, if someone needs the 2s delay shutter, i'll upload later.

should work as some people already tried it in the other thread

more DSLR will maybe follow
[One (M7) Themes and Apps] antifish:
Thanks for the suggestions.

I'm taking some time to revamp to whole UI, including the custom layouts. And yes, why not let the user arrange the buttons in pixels instead of cells :laugh: but ill add the "auto arrange" function then, for user who like the buttons sorted :)

ill need to work into the customs view for android to archieve the round and hexaong etc buttons
[One (M7) Themes and Apps] Riyal:
Wow cool! Anyways is it really possible using per pixel positioning in the android layout? I haven't seen any android app to this point having that but who knows... I am not an android app developer lol! :D
[One (M7) Themes and Apps] antifish:
Yes it is possible, there is a layout which can do that, but "normal" apps dont use pixel positioning as there is no reason to do that, normaly it looks better when the views are aranged in a grid/list etc :)
[One (M7) Themes and Apps] mssmison:
have you thought about adding the capability to have user created buttons? Might save you some work :)
[One (M7) Themes and Apps] v3rtex:
[MENTION=1622041]antifish[/MENTION]

Because i need a special remote that i've learned with the original TV app, i looked the htc database, too.

My own trained remote data is located in /data/data/com.htc.tiber2/databases/Tiber.db

You can see a picture attached.

Do you know what this code format is? It is possible to convert it to your app?
[One (M7) Themes and Apps] Riyal:
This is what I was talking about... It's encoded lol! I would have guessed it was a hex but saw some letters exceeding F so I thought it was some kind of encryption or whatever. And it has an equal sign in the end of every code also.
[One (M7) Themes and Apps] antifish:
Can you send me the database file? Or copy paste one of the code lines?
[One (M7) Themes and Apps] antifish:
Double == at the end may be just base64 encoded, you can try an online decoder. I guess you get a json string then :)
[One (M7) Themes and Apps] antifish:
Guys what do you think, instead of using normal widgets for custom layout (start to layout or map the whole layout to a widget), i could try using this library

http://www.youtube.com/watch?v=S3vHjxonOeg

give it a try or just use normal widgets?
[One (M7) Themes and Apps] ccpzcp:
please some one add hitachi ac in database
[One (M7) Themes and Apps] KRiZ-R:
Looks cool, but for me a simple app which starts in the remote layout would be just fine. Widgets will probably make the layout very small.
[One (M7) Themes and Apps] antifish:
okay i keep it simple :)

I uploaded trigger remote command for Nikon cameras (should work at least with the D5000)

Would be nice if someone would confirm working
[One (M7) Themes and Apps] antifish:
uploaded ir code for sony alpha (those with ir receiver)

please test :good:
[One (M7) Themes and Apps] v3rtex:
I thought you were talking about your zip, because these codes are looking different than those of your txt files.

You're right it looks like hex but it has to be something different...

[MENTION=1622041]antifish[/MENTION]

Zip of learned data is attached

Remote 1 is for a "Smartboard" of the company Smarttech, which is used in schools.

Remote 2 is for a Optoma Beamer.

Gesendet von meinem HTC One mit Tapatalk 2
[One (M7) Themes and Apps] Riyal:
It's not hex it's not also base64 :D

Here's one example.

AACWPQAAAAEAAAFVAAAArwAAABQAAABAAAAAFQAAAEAAAAAVAAAAFgAAABUAAABBAAAAFQAAABUAAAAVAAAAFQAAABUAAAAWAAAAFQAAAEAAAAAVAAAAFgAAABUAAABAAAAAFQAAABYAAAAVAAAAQQAAABUAAAAVAAAAFQAAABUAAAAVAAAAQAAAABUAAABBAAAAFQAAABUAAAAVAAAAFAAAABYAAAAVAAAAFQAAABUAAAAVAAAAFgAAABUAAAAUAAAAFgAAAEAAAAAVAAAAFQAAABUAAABAAAAAFQAAAEEAAAAVAAAAQAAAABUAAABCAAAAFQAAAEAAAAAVAAAAQAAAABUAAAAWAAAAFQAAAEAAAAAVAAAF/QAAAVcAAABXAAAAFQAADnoAAAFWAAAAWAAAABUAAA57
[One (M7) Themes and Apps] antifish:
Thanks for the file.
[MENTION=4386647]Riyal[/MENTION] is right, not base64. Im not that good in recognize a coded string - maybe someone has an idea? Or doing some reverse engineering in the original tv app :laugh:
[One (M7) Themes and Apps] Riyal:
I think it is base64! lol! Just being using a 2 step encoding.

Here's the decoder.

public static int[] decodeToIntArray(String paramString)
{
byte[] arrayOfByte = Base64.decode(paramString, 0);
int[] arrayOfInt = new int[arrayOfByte.length / 4];
for (int i = 0; i < arrayOfInt.length; i++)
arrayOfInt[i] = (((0xFF & arrayOfByte[(3 + i * 4)]) << 0) + ((0xFF & arrayOfByte[(2 + i * 4)]) << 8) + ((0xFF & arrayOfByte[(1 + i * 4)]) << 16) + ((0xFF & arrayOfByte[(0 + i * 4)]) << 24));
return arrayOfInt;
}

The whole process lies within the PeelUtil.java and I can't decompile it properly.
[One (M7) Themes and Apps] antifish:
Thanks :)

There is a class called BYTEDECODER or something in the HTC IR xxx.apk too, but hadnt enough time to check if it works today, if you wanna have a look. :)
[One (M7) Themes and Apps] Riyal:
I'm not sure what you found but method decodeToIntArray is the one calling getIr_data() in which contains/stores all the IR data found in the sqlite database.
[One (M7) Themes and Apps] antifish:
Great, ill try to use it to convert the code tomorrow
[One (M7) Themes and Apps] comoba:
Would love to have squeezebox remote control ability, but sadly I don't own a remote, but I found this, that could be of help. wiki.slimdevices.com/index.php/Remote_control

love what you did do the layout/ui in the newest update, btw :)
[One (M7) Themes and Apps] antifish:
Thanks, the layout will be improved in the next version again, so it will look more consistent and modern.

Easiest way would be if someone with a squeezebox could upload the codes? Ill have a look at that link tomorrow, maybe the codes there are usable on the ONE
[One (M7) Themes and Apps] Steeldunes:
[MENTION=1622041]antifish[/MENTION] & [MENTION=5037068]v3rtex[/MENTION]

OOHH BOY!! I would love to see the SmartBoard codes being added to the database!

My school has more than 50 SmartBoard from Smarttech

any chance?
[One (M7) Themes and Apps] Riyal:
You could *temporarily* steal one of the remotes and learn the buttons there if you want :D
[One (M7) Themes and Apps] v3rtex:
Or use my Tiber.tb with the original HTC remote app if necessary.

Tomorrow I can learn these codes again, then with a better remote app than original :P

Gesendet von meinem HTC One mit Tapatalk 2
[One (M7) Themes and Apps] antifish:
[MENTION=5037068]v3rtex[/MENTION]

I think i could decode your database when you would do the following first:

- Learn again ONE code of the SmartBoard control, but use another Name / type / whatever, so there is a new

device entry in the TIBER.DB

- Learn the same code with the OTRTA app

Because what Riyal posted works good to decode the string in DB to a array with data, i think i found the frequency, repeat cound, code data, but i'm not sure if there is more addiotnal data in that int array, which is not part of the code.

If you would learn the same code with OTRTA, it would be easy to compare one code, and then i would know how to convert all the others (including the beamer)
[One (M7) Themes and Apps] antifish:
I tried to convert and upload one code, maybe its the EXIT function (did you even learned a code like that? i'm not sure if they are using the same keytype IDs everywhere).

Its under Smart -> Smart TV -> Exit

Please try if something happens on the device :)
[One (M7) Themes and Apps] v3rtex:
Great.

Yes I learned a exit code and I can try this code in school.

I'll do two things tomorrow:

1. Learn all codes and upload them if I have the ability to.

2. Further I'll create a new entry with the same ir signal I learn with your app and with the original HTC remote app as test code for comparison.

So you know the way to decompress it.

Gesendet von meinem HTC One mit Tapatalk 2
[One (M7) Themes and Apps] senfgurke:
would be pretty funny to play with the smart board, we have tons of them in my school, too.

i just found your app and i think it is amazing. super easy to understand!

i have a request, because i am no good at coding.

could you write an app or widget only with "TV-B-Gone"?

or am i missing the option to put it as a button in the app?

i can only access it through the sidebar.

thanks a lot, i'll stay tuned
[One (M7) Themes and Apps] Steeldunes:
tried both the codegroups which I found in the Smart Remote for HTC One (Color Tiger)

They both didnt work for me

[MENTION=5037068]v3rtex[/MENTION] I'll wait for the new codes which you will submit and I'll test them!
[One (M7) Themes and Apps] antifish:
[MENTION=5037068]v3rtex[/MENTION] Thanks,

If my uploaded code works, you dont have to learn all the codes again
[One (M7) Themes and Apps] antifish:
No its not yet possible to have a button for the all off function, but im going to implement that in the new version as a widget function.

Ill release a preview version this week so would be great if you could test it
[One (M7) Themes and Apps] senfgurke:
Looking forward to it :)
[One (M7) Themes and Apps] codest17:
Can't wait to see it.
[One (M7) Themes and Apps] v3rtex:
Codes for Smartboard are uploaded.

[MENTION=1622041]antifish[/MENTION]

Your decompressed code works, could you move it from Smart->Smart TV->Exit to Smarttech->Smartboard->Exit?

That would be great.

Gesendet von meinem HTC One mit Tapatalk 2
[One (M7) Themes and Apps] antifish:
Thanks for uploading!

I changed the exit code to -> smartboard

and delete the old model / code, so all the codes for the Smartboard are in the same place

1) do you still need a code for the smartboard out of your tiber.db?

2) should i convert the codes in the tiber.db for your beamer?
[One (M7) Themes and Apps] Riyal:
[MENTION=1622041]antifish[/MENTION]

Did you manage to decode the ir_data already?
[One (M7) Themes and Apps] antifish:
the codes from the tiber.db yes, but no the they from the online peel db.

for the tiber.db, just use the decode function which you posted, which makes an int array out of a string.

index 0 will be frequency

index 1 will be repeat count

rest is the code data (i guess, at least it worked like that for this smarttech device). Maybe the last indexes are for other stuff but still worked.
[One (M7) Themes and Apps] antifish:
here is a preview version for the new layout.

most functions not yet implemented

- no love for layouts

- no love for scripts

- no love for learning

- but love for widgets (only for codes and for all off)

if someone wanna test:

(db from 5 minutes ago comes included so inital sync should not take long)

http://goo.gl/wk3fj

- if sending a single code does not work with the widget: try open the app and leave it with home button, not back button... Ugly bug i know
[One (M7) Themes and Apps] v3rtex:
The codes of the Smartboard are completely uploaded, so these codes of the Tiber.db aren't needed.

Would be great if you convert the codes of the Optoma beamer, later I'll send you the product name of it so you can add them.

Gesendet von meinem HTC One mit Tapatalk 2
[One (M7) Themes and Apps] Steeldunes:
I really like it! All those transitions are looking fancy!:laugh:

Good job!:good:
[One (M7) Themes and Apps] comoba:
nice update, love the widgets, however, i prefer the menu in the "official" version, i guess i just think black is a better background then white. :silly:
[One (M7) Themes and Apps] irsuv:
Has it been tested with cyanogenmod?
[One (M7) Themes and Apps] antifish:
Does not work on AOSP roms as they are missing the neede files for the IR Framework.

Maybe HTC will release something with the HTC ONE Google Edition
[One (M7) Themes and Apps] v3rtex:
[MENTION=1622041]antifish[/MENTION]

It's an Optoma EP774 beamer.
[One (M7) Themes and Apps] senfgurke:
love the fancy looks of V2

kill-All widget is pretty fun, i'll test it this weekend in an electronic market :D
[One (M7) Themes and Apps] MikeS.:
Could you add the option, to deactivate the "code sent" message?

It's quite anoying when you press a button serval times.
[One (M7) Themes and Apps] antifish:
yes, i'm trying to implement something similar to the original TV app ( the glowin red bar on top of the display).

got my HTC ONE yesterday, need some time to play around with it, then doing updates to the app again :laugh:
[One (M7) Themes and Apps] JazLiew:
This app is just INCREDIBLE! I can now control my air conditioner, ceiling fan, audio system and Smart TV with just my phone! Thanks dude!
[One (M7) Themes and Apps] antifish:
glad you like it :)

when the new ui is ready (will take some weeks propably, to make it bugfree), i'll release it in play store and we hopefully get some more codes than.

thanks @ all anyway, for upload ing 2000+ codes :)
[One (M7) Themes and Apps] BBs19:
Thanks man :)

This is probably the best trolling app ever, just try the "All-off" function and walk through a shopping center :D

You can see the tvs going off one by one :P

No, seriously, great app to control all kind of stuff.
[One (M7) Themes and Apps] Duce43:
thanx a lot, I turned off the projector this morning in a meeting :)
[One (M7) Themes and Apps] antifish:
small update for the V2 preview, link is still the same

http://goo.gl/wk3fj

- bugfixes (no need to start the app before using a widget now)

- new "code sent" indicator when sending from database or with TEST button from the learn function. have a look at the statusbar :)

- code learning should work with this version

next will be scripts, then user layouts
[One (M7) Themes and Apps] nocomp:
Well done antifish, very nice work!

If i may say smtgh, i think that a "all off" small 1*1 widget action would be awesome. What do you think?

Envoyé depuis mon HTC One avec Tapatalk
[One (M7) Themes and Apps] antifish:
have you tried the V2 beta? see link in post above.

Has a 1x1 all off widget :good:
[One (M7) Themes and Apps] nocomp:
lol, i ve been looking for it, didn t find it #hopeless thxx for the message i re re re check

---------- Post added at 06:33 PM ---------- Previous post was at 06:32 PM ----------

found :)
[One (M7) Themes and Apps] antifish:
updated APK again.

send-glow indicator in statusbar now works from widgets too :)
[One (M7) Themes and Apps] johnnydommer:
"All off" not working?

Hey, when i try the all off feature when TV is on nothing happens, but if i activate the code directly from database it works. My TV uses the Sharp aquos code (there is just the "off" code in database). On another note, Liking the new UI!
[One (M7) Themes and Apps] antifish:
Can you try increasing the pause setting? To 100 ms or somehting?

Edit:

Your code is type #0 and not POWER. Only power codes will be sent out in the all off function :)
[One (M7) Themes and Apps] Steeldunes:
I must say that I'm experiencing the exact same problem as that guy above me. All off is not working as well for me, I also have a sharp tv in the kitchen. Already tried to increase to 60 and 100. Both no success.

When I sent powercode manual it works.

The very little research I did: sharp tv wants a longer pulse, don't know if I say that right. Maybe higher repeat count by default for sharp?
[One (M7) Themes and Apps] 4D3:
Hi,

thanks for the app, the idea is great but when i install it and try to run the app i just get FC...

I am using the Carbon Rom.

thanks
[One (M7) Themes and Apps] Billyvnilly:
silly question. Does clicking 'upload' save it to my phone or does it really upload it to your apps database for others?
[One (M7) Themes and Apps] v3rtex:
It's uploading to database.

Gesendet von meinem HTC One mit Tapatalk 2
[One (M7) Themes and Apps] wokrzysiek:
I've been having problems when using multiple layouts. When I tried to add a new button on a second layout it was either added on the first one or it changed the value of the buttons that were already on the first layout. I am using version 0,5c.

Wysyłane z mojego HTC One za pomocą Tapatalk 2
[One (M7) Themes and Apps] Xalies:
I have a remote here that just refuses to learn and keeps giving me "PULSE ERROR" no matter how many times I try, I have checked the remote and it works fine I have also used the learn function with other remotes so is there any reason why this could happen?. I got a logcat from one of the times I tried if it will help
[One (M7) Themes and Apps] antifish:
Maybe it is because after the first sharp power code there will be sent another sharpp power code, and the TV does power itself off/on immediatly? can you try with the highest off-delay?

I'll try to add a suffle function to the codes, so they are not send in the same order every time

Carbon Rom is AOSP rom, which does not work.

I asked at HTC if they are providing support for the AOSP roms when they release their HTC ONE google edition, and they told me that they maybe include the binarys for the ir driver in the googe edition, so aosp roms should work then too.

Did you renamed your layouts? Or are they all called "new"? If yes, please change name so that they are unique.

Thanks for the Logcat. The pulse error comes direct from the IR api, so i cant do anything. i just send a "learn code" intent and wait for the result, and for your remote, the result is PULSE ERROR.

Did you tried to learn this code in the HTC TV app? Can you send me vendor/type? I'll have a look if i find some codes online
[One (M7) Themes and Apps] wokrzysiek:
Did you renamed your layouts? Or are they all called "new"? If yes, please change name so that they are unique.

Yes, I did and I still have the same bug

Wysyłane z mojego HTC One za pomocą Tapatalk 2
[One (M7) Themes and Apps] Xalies:
I tried learning in HTC app but it just keeps telling me button not recognized

It is a Carrier - VG200H-2 (air con) ....
[One (M7) Themes and Apps] antifish:
Can you send me your database file? Export in settings and the pull it from the storage(/sdcard)
[One (M7) Themes and Apps] antifish:
No luck for finding codes for that device.

you can try the other Carrie air cons, maybe some of the codes work for your vg200?
[One (M7) Themes and Apps] Xalies:
Oh well

Na they don't work ... Maybe I should update ;)
[One (M7) Themes and Apps] MrVanish123:
This app is epic! Having tons of Fyn with it !
[One (M7) Themes and Apps] wokrzysiek:
It's in the attachment.
[One (M7) Themes and Apps] antifish:
Thanks. It really behaves wrong. Ill fix it tomorow and upload a 0.5d
[One (M7) Themes and Apps] antifish:
Updated verison to 0.5d

- just a fix for editing layouts, when the wrong button was changed (on the wrong layout)
[One (M7) Themes and Apps] rockd0gg:
Awesome app, love it so far. I might have missed it but is there any way to make the app switch to the first or a select button layout when it starts? It always takes me to the device manufacturer selection.

Another useful feature would be if we could change the order of our configured layouts.
[One (M7) Themes and Apps] antifish:
Will be possible in the final version of V2.

You could recreate your layout with widgets on a separate home screen until then?
[One (M7) Themes and Apps] idlewei:
make One become a super remote, cool
[One (M7) Themes and Apps] hth2813:
Learning time out on my air conditioner funiki
[One (M7) Themes and Apps] antifish:
Updatet the V2 preview.

- Scripts should work (as widget too)

- some bugs fixed
[One (M7) Themes and Apps] antifish:
If somebody tried the new V2 preview:

What do you like more, the all-off dialog or the notfication when sending a script from widgets?
[One (M7) Themes and Apps] antifish:
V2 preview updated again:

- you can use uri schema to send codes or a script.

- use in tasker (or your prefered app) like in screen below.

IDs for code and script are in the database-view / script manager (install v2 preview again from OT link if you dont see them)
[One (M7) Themes and Apps] rockd0gg:
Bug?:

With the current v2 preview I can't access the layout page. All other pages work.
[One (M7) Themes and Apps] antifish:
Layouts are not yet included in the preview version, but will come soon :)
[One (M7) Themes and Apps] Riyal:
Great work antifish! Been busy for the past few days and never get to pass by your thread here. :D I can see a heap of improvements cool!
[One (M7) Themes and Apps] antifish:
Thanks.

Im currently working on the requested pixel-based user layouts with custom button size, shape, rotation, etc. Will take some time but when it works ill start testing all the functions and release in play store
[One (M7) Themes and Apps] anit77:
It would really be great if you could setup the naming of buttons during learning. There are several for my remotes that aren't listed for them in the app.

I'd be more than happy to upload anything I come across. I'm kinda ocd about doing stuff like this correctly.

---------- Post added at 07:09 PM ---------- Previous post was at 06:20 PM ----------

I just uploaded a Samsung 8000 series remote. There are 9 missing buttons.
[One (M7) Themes and Apps] antifish:
Thanks for uploading / contributing.

Can you share the missing buttons with me? I'll add them immediatly and after a sync you should be able to use them.

It will be possible to enter your own button name in the future, even i'm still a bit scared that there will be buttons like "Volume Up, Volume +, Vol+, Volume Inc" etc. So i need to write me a good managment tool to keep DB integrity and can combine duplicates :cowboy:
[One (M7) Themes and Apps] anit77:
At work now, I'll try and see what I can find. Feel like a zombie now though. Was up till 2am watching one of the best game one's of the Stanley Cup finals I've ever seen.

I understand what your saying about the integrity.
[One (M7) Themes and Apps] anit77:
Ok, it looks like you've added some already.

The ones I'd like to see are as follows:

8000 Series

3D

Dash

Record

Select

DirecTV

Active

Dash

Format

List

Prev

Select

I'll get these uploaded tonight then look at some others.

Thanks!
[One (M7) Themes and Apps] antifish:
Should be in after a sync. If you still miss one, let me know (then something does not work with the sync)