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

questionmark

Senior Member
May 10, 2005
145
93
0
leiden
Great work, customisability is what Im waiting for...what a shame it has not learning function :( ...after the last update I have no problem with Watchon to remote common devices like TV, DVD, etc. But I miss support for air conditioning, DVB-T TV card for notebook. Is it possible to add these types of devices to your support?

edit: OK, so every app I saw on google play is based on internet database, but what if I have file with code to my device? Is it possible to add support for manual IR codes file upload for some special devices? There is possibility to download files from some sites (e.g. http://irremote.psiloc.com)
BTW, Im in for alpha testing if you want... ;)
I had a look at the file from http://irremote.psiloc.com
These are LIRC files that got modified and embedded in XML.
Looking at some of the files at
http://lirc.sourceforge.net/remotes/ and compare with the one found at http://irremote.psiloc.com , it is not difficult to convert manually there IR file to LIRC...
I might provide an option to do that directly...

Currently I tested doing that manually and checking if IR diode emits and it does.
It does not mean it be working for sure, but I bet it would...

New UPDATE of RemoteGate with FILE chooser to navigate to REMOTEGATE/LIRC.CONF folder and select LIRC file for conversions:

IMPORTING manually converted file from psiloc IR file to LIRC file



 
Last edited:
Nov 30, 2012
6
0
0
thanks for your efforts.I rerecorded every button thru WINLRIC and then bast them thru RemoteGate.Every button blasted well.But in the end there was no response from the device.Codes blasted well but unfortunately the device couldn't recognize them.

The remote was recognized as RC 5 and sometimes RC 6 also.

I am using a general IR receiver which comes with a set-top box something like this(http://cdnsupport.gateway.com/s/accessor/8015589R/IR-DONGLE.jpg)
I also tried bypassing the IR receiver by connecting blaster of my remote directly into the mic input (which worked very good) codes were clear but no success.
i think that there is no need of IR receiver to learn codes from a remote :p
i also tried using "irrecord -a " but no codes were found.
It was something like "begin code (hex code is suppose to be here but it was empty) end code ".

i had a an idea in my mind that you can also make something like IR receiver goes in phone's headphone jack and codes can be learn thru RemoteGate app..i know that might be a lot to do just to learn some IR codes but i am just saying :D:D
you can also take a look a HTC One's IR Receiver and blaster which learns as well as blast IR codes

i am looking forward to control my 5.1 speakers from my SGS4.RemoteGate did his job well thanks to you :good: :good:
 
Last edited:

questionmark

Senior Member
May 10, 2005
145
93
0
leiden
i am looking forward to control my 5.1 speakers from my SGS4.RemoteGate did his job well thanks to you :good: :good:
Hi science_student,

Not sure if you where able to blast successfully from the GS4 using RemoteGate but it seems that was not the case...
From what I read in IRRECORD, successful RAW recording might not work, it depends also on your RECEIVER hardware.
What I saw as you did is that the GS4 IR diode emits, but it seem your DEVICE did not receive properly the command.
Can you tell me what is the DEVICE BRAND and MODEL you try to control?

What I will put in soon is import automatic import from http://irremote.psiloc.com/
So with REMOTECENTRAL DB+LIRC REMOTE DB+ PSYLOC there should be more change to find the device you want to control...

Cheers
 

questionmark

Senior Member
May 10, 2005
145
93
0
leiden
RemoteGate on Android KitKat 4.4.2 (I9505XXUFNA5)

Hi,

Wanted to check RemoteGate on Android 4.4.2 where now there is an official API to blast IR code ( ConsumerIrManager )
The previous code from https://github.com/rngtng/IrDude/blob/master/src/com/rngtng/irdude/MainActivity.java no longer work in this Android version as I suspected...
So worked it out using the official ConsumerIrManager API and all working fine on 4.4.2 of course as well on 4.2 / 4.3 on the GS4.
Update available on OP download.

Cheers

 
Last edited:

MotoManic

Member
Feb 12, 2012
9
0
0
Great work!

Thank you very much for creating this - I've been looking for a Pronto replacement for a very long time.

I just started using it today, but I'm finding it difficult to design my layout. I have a Galaxy S4, and I'm finding that when I place text then attempt to resize and move it, it often ends up being larger than I resized it to - especially along the edges of the screen.

One request - Could you add text onto buttons, rather than having to add a separate text object?

Any chance of you developing a PC-based GUI editor? Working from the phone for this design work is very painful.
 

questionmark

Senior Member
May 10, 2005
145
93
0
leiden
Thank you very much for creating this - I've been looking for a Pronto replacement for a very long time.

I just started using it today, but I'm finding it difficult to design my layout. I have a Galaxy S4, and I'm finding that when I place text then attempt to resize and move it, it often ends up being larger than I resized it to - especially along the edges of the screen.

One request - Could you add text onto buttons, rather than having to add a separate text object?

Any chance of you developing a PC-based GUI editor? Working from the phone for this design work is very painful.
Thanks for the encouragement and especially for the feedbacks…This I really what I need, cause I do see quite some downloads of the APP but no really feedback making me wondering if people that download it, try really to use it.
If they did were they successful ?

I know many of them will be turned down from the fact they are no code learning directly on the GS4 and that looking at RemoteCentral or LIRC can be a pain to get working codes…though many of them seems to work for popular devices ( Samsung, LG, Philips, Rotel etc…). With other APP on the GS4 with some kind of DB automatic lookup the finding of proper code is of course neither guaranteed. One of the advantage with RemoteGate, is you have total control of your IR CODE in the DEVICE DB.
The emphasis of this APP being the replacement of PRONTO remote control.
Believe it or not currently I no longer use my TSU9300 my remote being a recycled GALAXY ACE for this task ( of course via WIFI blasting ). My girl friend find it very convenient, and likes a lot the custom gesture for actions.

“but I'm finding it difficult to design my layout”
Can fully disagree with you especially regarding TextView size and position. Indeed the DESIGN view is the code I started first and I’m using matrix to resize ImageView. For text I actually use the SAME code and do convert text to ImageView and back, solely for the pinch zoom and position.. Depending the text, this is sometimes of ( close but inaccurate ). I have noticed this many times and this is something that definitively needs improvement since it frustrates me. I guess I will get reed of this text to image and back to text conversion asap.
-There is also something missing big time and that is GROUPING of objects. For having serious designer I need to have this in place ASAP.
With these improvement in place I would believe it be much, much better. IE. You could groups a button with its text then select multiple group and zoom / position the selected grouped objects… this is what I like to achieve at some point

“Any chance of you developing a PC-based GUI editor? Working from the phone for this design work is very painful”
Using XML this was in my mind right at the beginning. Maybe I have more tolerance since this is my work, but I do not find so painful using GS4 to design screen. It is something that indeed might take sometimes, but it is done once for all. You might have about max 20 activities…and using the phone any moment to design a screen or improve it IMO is nice ( i.e .:when you commute or are bored, if ever  ) You might indeed get frustrated about the TextView alignment size and position and the lack of grouping, but once this is in place IMO it be really not that bad. As you know I use the GALAXY ACE as my main remote, I designed the screen on the GS4 and then on the ACE it is downscaled, now on ACE if we consider ONLY imageView IMO it is workable. Surely less fast and convenient than a PC with a mouse but workable any time you like to design a new screen or improve it. This say doing on the PC with C# be nice for me to better learn .NET ( so I surely consider this but it be once RemoteGate be fully polished ) with all features I intend to have ( grouping )in place. Also need to clean improve the structure of the XML file.
Lastly, what is not acceptable is to loose work designing your screen. RemoteGate sometimes ago did not have the undo/redo. This is now in and I did that quite sometimes ago because couple time I’ve lost screen. All I say here, it takes time, precision but it is doable without to much risk of loosing your work ( if there is no bugs : ) )

“One request - Could you add text onto buttons, rather than having to add a separate text object?”
I thought about it, basically when image button are created then text added to make it actually a new BITMAP…I thought this might not be a good idea for resource I mean having many BMP created.
Also adding text is possible and fine, I see what you mean but were do you want me to place text?:
Centered in icon
-Bottom / Top
-Right / left (text vertical )
And what about the margin relative to the button

I think the better way is to have TEXT being accurate which they are not fully ( when designing ) and the GROUPING feature, this way you could group the button with the text and consider it as a single object. Extra feature of having the text aligned in the center of button or on top / bottom or even vertical left/right would be nice but IMO as separate objects as long as grouping is there.

Again many thanks for the feedback.

Cheers
JM
 
Last edited:
  • Like
Reactions: daihung1

questionmark

Senior Member
May 10, 2005
145
93
0
leiden
further update on activity action and gestures

RemoteGate already supports triggering ACTIONS ( IR ) via speech and gestures.
Gestures are really great to to trigger actions not watching the device screen...

The issue though with custom Gesture and Gesture Builder from android is that they might be at time non precise that if in your library you defined many gesture that are close in form to another IE a I vs a 1 or a vertical line....what ever they will conflict. Also Gesture Builder and overlay recognition is known to have issue with vertical line gesture up and down because of conflict with scrolling. So to go around this, RemoteGate default gesture is to use Swipe and if you want you can mix swipe with overlay gesture. In Swipe you can define a gesture vertical gesture up and down that will be recognized as swipe up and down, then you can have customer gesture horizontal line up and down recognized fine along other custom gestures. Further more now to avoid conflict you can use either a GLOBAL gesture library for your activity screen or a LOCAL one, that is the activities screen you designed can have there own gesture not using the global one; the gesture library is saved as REMOTEGATE/ACTIVITY/YOUR_ACTIVITY_NAME.gest

Now if you used RemoteGate with gesture for your activity you will have to refresh your XML files :

1)rename the gestures file in REMOTEGATE/ACTIVITY to Global.gest
2)Go in Activity action and select your activity screen and select global
3)If you used swipe ( no custom gesture with previous version ) you will also have to edit your activity and set swipe.
This is for updating the XML as before gesture usage were boolean FALSE for swipe and TRUE for custom gesture.

I also improved a lot performance in the activity action as well as setting gesture type and scope ( in previous version I was re-loading the screen)

Bellow a video showing thee feature
https://www.dropbox.com/s/7xvyebnhrgqhco4/gesture type and scope (global local).mp4
 
Last edited: