[APP] [IR] [IPCAMERA] [GESTURE] [SPEECH] Design your own remote control

questionmark

Senior Member
May 10, 2005
145
93
0
leiden
waiting for the link
I'm on it right now to give something decent by Sunday about same time. I prefer you all to relax and see by tomorrow if this is a keeper or not. Surely there be a bugs issues etc.. But try to minimize that right now for descent alpha usage at this stage.

See it is first time I post an app on Xda so don't expect to much quite anxious and exited... To see what all you people interested in this think...

Standby..

Cheers


Sent from my GT-I9505 using Tapatalk 2
 

questionmark

Senior Member
May 10, 2005
145
93
0
leiden
HI

I have posted the download link for the people that like to try it.
Keep in mind this is alpha yet for me it is usable to send IR and have nice customizable screen to do that. I will work on a better explanation of the app soon as the main thread explanation might be cryptic but there since we are on xda it should be obvious how to use the app

Cheers
Jmg

Sent from my GT-I9505 using Tapatalk 2
 

questionmark

Senior Member
May 10, 2005
145
93
0
leiden
cant get passed remote gate page? just black screen?
galaxy s4 stock rooted!

then keeps crashing ?
Hi

Thanks for try.
That is odd
Only thing I can think off is that you might NOT have the REMOTE folder in the right location or when you un-ziped it you just move the extracted folder to the right location but you might have /REMOTE/REMOTE sub folder which is wrong. I use this folder and OTHER structure in this folder hard-coded in the application....So it WILL crash if the APP does not find the folder in right location or if the structure is not right

What you should have is this structure in the GS4 internal storage as shown with the samsung "my file" app

/storage/emulated/0/REMOTE
DEVICES.xml
BUTTONS
ACTIVITY
BACKGROUND

See the snapshot I attached in the first post.

So then if it does not crash on statup you have a black screen
Opening the menu and selecting "Use Remote" should show the HOME screen. IF not then not sure why at this point

I will improve this soon so you can choose specific location for this folder and places to look for backrounds and icons.

Let me know if you still cannot make it work.

Me I'm on GS4 9505 ROOT with OMEGA3...but I doubt this is the reason it work for me and not for you as the same APP is OK on the NOTE 2 ( of course no infra red but a gateway).

Thanks again for trying
 
Last edited:

questionmark

Senior Member
May 10, 2005
145
93
0
leiden
you were right! remote/remote

got it on but cant test as no LG support!!!
Ha !

You got me scared...

"got it on but cant test as no LG support!!!
Sure I don't have LG TV though have a projector from them

I leave to the user the CREATION of a DEVICE DB for there own DEVICE.
So you can enter the code manually or if you are lucky find it via the internet IR lookup in the Device DB view. I fetch codes from remotecentral.
At this point you can create an remote activity screen and "BIND" a button to the code found in your Device DB.

So did you check the DEVICE DB and internet lookup ?
I'm quite sure there is quite some chance LG TVs have good chance to be there...
With the Internet IR LOOKUP you can quickly test the code of a brand device ( touching the list picker) if it works select the checkbox and other function you like
if it does not work try other devices from the brand clicking back up to you find one.
If you don't find one working and are frustrated then try to find it on another site. IF you find it then copy and past in the DEVICE DB the code found
NOTE: currently you cannot add a row in the device DB using the top "+" but you can add rows from the internet IR LOOKUP even if the code does not work ( so that it inserts a row)
At this point you can rename your device and past the correct code )
I will fix that (adding a row in the device DB ) this is simple and stupid I did not do
ALSO you can edit the DEVICES.xml fine see its structure and try to fetch codes..

The code fetching is the weak point here without learning... with a gateway and devices like usb-uirt it is not an issue. I'm sure it is possible to find PRONTO code for most of devices out there though.

JM
 
Last edited:

questionmark

Senior Member
May 10, 2005
145
93
0
leiden
would it be hard to get this app to work on aosp/cm roms?
Hi

I'm not sure as I don't use these ROMs currently. Now sending IR is not that complicated
see
https://github.com/rngtng/IrDude/blob/master/src/com/rngtng/irdude/MainActivity.java
So I assume this is from the kernel and if the kernel supports it then it should be fine.

Also I do not want to target ONLY for the build in IR since this cannot learn and it is relatively weak beam and have a GS4 as a remote would be quite expensive.. non the less it is always nice to have like those that like to switch there airco etc... Having a gateway to a machine having USB-UIRT is nice and what I'm working on. All the rest is user interface currently it is all alpha... Non the less I believe with patience and acceptance of some issues one can design nice screen; these are simply just sending IR ( no repeat and long press for the moment) ..It might be convenient for some. also nice is the internet IR lookup that allow testing IR code... I can think doing some fun stuff sneaky with that :)

I've updated the APP (the link is on the first page) improving stuff here and there starting to put in alignment of controls ( only make same size and align top / left currently).
I have only few moment on this and I will take time improving it to something I hope good in the future.
For the moment one can try it, would not hurt I guess.

Thanks for your interest

Cheers
 
  • Like
Reactions: timberwolf60

81nx

New member
May 12, 2011
1
0
0
How are you running this?

From what I can tell. so far this is exactly what I'd like to use in the future.

Though currently, whenever I try to test the IR signals it force closes. I imagine this is due to my running CM10.1 (mayhaps a lack of IR support in its kernel or some such). But again, the app looks great otherwise... Just wish I could help test it out more.

Are you running this with the stock rom, if so maybe I can wrestle with Touchwiz long enough to help out a wee bit more?
 

questionmark

Senior Member
May 10, 2005
145
93
0
leiden
From what I can tell. so far this is exactly what I'd like to use in the future.

Though currently, whenever I try to test the IR signals it force closes. I imagine this is due to my running CM10.1 (mayhaps a lack of IR support in its kernel or some such). But again, the app looks great otherwise... Just wish I could help test it out more.

Are you running this with the stock rom, if so maybe I can wrestle with Touchwiz long enough to help out a wee bit more?

Hi

I'm on OMEGA ROM 3.0 with there default kernel. Sending IR is no problem for me using the piece of code I was referring on some threads ago.
So I assume the lack of IR driver in CM 10.1 must be the reason. I also have the GTAB 7.7 (without IR) and as you might know some version of these tablet came with build in IR but CM / paranoid ROM did not support it.

IF anyone is interested about the GATEWAY server this is written in Python, it is really nasty coding but it works let me know. I run the server on my router and on the router there is a USB-UIRT device. These are cheap... I also have the MS IR transceiver and think looking at winlirc. The current application I have posted as no config (commented out) to talk to the server but I can do that easily. So if anyone is into programing I don't mind passing the source of the gateway eventually of the APP if someone or more are seriously interested in improving it and find it worth it. Source of the APP is also messy :)

Cheers
 

verbuyst

Senior Member
Nov 16, 2009
117
9
0
Nice, thats what I really miss on my S4. Why all the marketing on a function if its only half. If they would've put a learn function on it then we would be speaking YES. And I don't think that a learning function would have been so hard to make by the software guru's on Samsungs payroll.

But as always this is just a taste and they will add it for the S5, but untill then I will folow your app development
 

woody21

Member
May 26, 2008
39
7
0
Reading IR Codes

Well Done to the Dev for working on this

I dont know if this would be any use to you but you can use an arduino with IR Receiver to read IR pulses and its so easy as codes are already freely availiable to do it so you can just program and go! You can also using an IR LED to output IR Pulses.
The Arduino may be a helpfull tool for the development and testing of your project as it will show you the IR pulses a remote generates and enable you to make your own database.

Its cheap and works very well. If you can use the data it gives you it could be a very useful tool... You can even use the arduino on android as there are a lot of apps that support it now and you can connect it to the gs4 via usb otg if you need to.

The arduino if you can use it would be a way of getting a user generated code database too as there are many arduinos out there and i bet theres a fair few on xda that have one already and could help with providing codes. I have one and could start providing codes from remotes i have.

Heres a good tutorial on it - http://www.ladyada.net/learn/sensors/ir.html
 
Last edited:
  • Like
Reactions: timberwolf60