yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Themes and Apps] questionmark:
Thanks

Here an update :

Update...improvement and new feature.

12/1/2014

-Implement RemoteGate shortcut on launcher home screen.

-Improve action threading (delay and blast).

NOTE: Action of buttons containing activity and or delay cannot be repeatable button ( long press)

You can have multiple activities ( jump to a screen activity ) on a button BUT only the last activity will show.

Activity or SCREEN UI are shown FIRST then all the action BLASTING IR/DELAY are EXECUTED IN ORDER.

RemoteGate shortcuts on HOME screen launcher

RemoteGate showing shortcut creation of any button on your launcher, use of simple and complex activity as well as use off Remotegate over the internet via 3G.

See VIDEO:

https://www.dropbox.com/s/fl1m25kip...rtcuts complex activity and 3G connection.mp4

Video explained.

1)open remote gate and create "My Remote" ( shortcut to your HOME activity on the launcher.

Then showing the use of the remote. This is equivalent to open RemoteGate and touch launch remote menu.

RemoteGate is the APP that you would use to create your device DB, then activity screen and the action bound to buttons

"My Remote" is the runtime that is a shortcut to the RemoteGate launch remote menu.

2)Launch RemoteGate again and go in activity action

-show action for the designed TV activity

-Long press on the TV button the create the shortcut

-Do the same for the Stream button ( this is a complex activity ) and create a shortcut

-next open the TV activity show the action for 2 channels and create the shortcut as well for the TV power button

-next go in the dimmer activity and create shortcut to open / close light.

NOTE: I am using LightMan this is a device that receive blaster IR and then blast it to RF to some sheap switches and dimmers.

3)Finally show the launcher home screen with the created shortcuts

-The VIDEO widget is not from RemoteGate it only serve the purpose to show the action on clicking on the shortcut created.

RemoteGate has is own VIDEOVIEW ( RTSP only ) and no widget for it for the moment

-touch the Dimmers ON shortcut

==>show light tuning on in the VIDEO vidget ( reflexion on the TV)

-Dimmers off

-touch the TV power button

=>open the TV

-touch HISTORY HD shortcut

=>blast IR, 6,0,2

-touch France

=>blast IR 6,2,2

NOTE you can blast IR with the GS4 as you know, here in my case I use USB-UIRT and the RemoteGate Python server

4)Next touch stream a complex RemoteGate activity

-It shows a video view of my IPCAM

-It shows current wattage of the TV

-Touching the HARDKEY menu opens the TV menu

-Long press (repeat down button )

5)Lastly DISABLE wifi and use 3G and do the SAME as above.

With RemoteGate you can control your devices remotely, you can design your own activities etc...
[Galaxy S 4 Themes and Apps] questionmark:
IMPORTANT information from this new update (also from the previous version ) for anyone that use or evaluate the APP

DEVICE DB : find IR code from remote central or lirc when adding a device to the database will add your device as "Infra Red"

This field can be edited and should be changed/edit to "IR" instead to blast IR code from the GS4 natively

Indeed RemoteGate uses and recognize currently these

IR : Blast IR natively from the device IE GS4 IR blaster

VIDEO: To display RTSP video in a VIDEOVIEW

USB-UIRT : To blast IR code via WIFI and the RemoteGate.py SERVER

PLUGWISE: To send command and get wattage from PLUGWISE devices via WIFI and the RemoteGate.py SERVER

So this field is important. Currently they are editable and will become spinner selection ( non editable ) in the device database ( non editable but selectable). For adding new fields (other types of devices) that RemoteGate.py SERVER should process the CONFIG screen of RemoteGate will be used in the future.

So basically if you found your DEVICE on remote central or LIRC, testing it ( this will blast IR by default on the GS4 hence working ) then add all or part o your device functions to the DB YOU MUST change "Infra Red" to "IR".

From the DEVICE DB you can click the BLAST picture on the row of the function you want to test. If it is working (blue led on GS4 upon blasting IR) then this code can be bound to any button from the activity action screen.

Sorry for this issue, I forgot I did change in this area even in the previous version.
[Galaxy S 4 Themes and Apps] questionmark:
Update...

Couple new features, improvement and bug fixes...

NOTE: I keep updating it on a week basis average and will not necessarely post new message on update.

They are in the OP in the changelog at the end.

20/1/2014

Add notifications : Showing ICON in status bar of sent actions : IR (red) or WIFI (blue), Delay and Activity

19/1/2014

Add Simple Gesture ( swipe up/down/right/left ) in edit activity action so to bind these gesture to list of actions: JUMP to an activity + BLAST + DELAY

15/1/2014

-Improved shortcut: if shortcut of UI activity are launched and then closed via the HOME hardkey button, as expected it would stay in memory and when opening another different shortcut the same previous shortcut would show instead of the selected one. So now only for shortcut, going back to the launcher via the HOME key would finish() the the application shortcut opened so that new opened shortcut would display fine.

-Improved DEVICE DB : now if using a android DEVICE with native IR capability ADDING a device from RemoteCentral or LIRC will set the field to "IR" instead of "Infra Red".

If the android device does not support IR natively, "USB-UIRT" would be set instead implying you have to set RemoteGate.py server to have a functional remote.

A NOTE about shortcut : The data of the shortcut; ACTIVITY to OPEN and OR IR to be blasted / DELAYS are bundled in the shortcut itself this means if the BUTTON action that has a shortcut on the launcher is modified, the shortcut MUST BE RECREATED ( long press). I think it is better to have the DATA in the shortcut itself instead of the shortcut referencing some file with the data... The inconvenience of re-creating the shortcut is IMO less than having extra files lying around

VIDEO notification, see top left status bar and notification of the Actions.

NOTE: if a button triggers a lot of actions with DELAY that also contains a JUMP to an activity, that activity UI will show first ( regardless the order of that activity in the list of action), then all other NON UI action will be performed asynchronously in order ( meaning the UI is NOT block ) but the application will not send DIRECTLY new actions (they be queued) when pressing on the button of the activity that showed first until the first actions are finish. The action DIALOG where you set your action ALLOWS multiple UI ( jump to an activity ) to be performed but I think I will remove it to allow only ONE UI activity. I don't see the point to have actions that would show multiple UI separated by delays...

https://www.dropbox.com/s/yotbzjvgjj5jba4/RemoteGatenotifications2.mp4?m=

RemoteGate Activity action menu : Actions for HARD KEY, GESTURE and BUTTONS

RemoteGate Activity action on gesture IE. Swipe right.
[Galaxy S 4 Themes and Apps] questionmark:
Transition effects, custom gesture and speech reconition for activity screen

Hi,

Will post the update this week-end, here just a preview.

Activity screen now supporting Custom gesture and Speech recognition. As well as allowing to see non visual actions ( IE HARD KEY, SWIPE, SPEECH and GESTURE) for editing ( modify / deleting)

Bellow a video. On the video you cannot hear me speaking the actions as the soft that capture the video if using the mic would not allow speech recognition.

But you can see that “You cannot hear me but I speak the actions” got recognized in the activity screen when I spoke it. When using the remote screen created as shortcut you will see speech ICON on the top left status bar when requesting speech recognition

I believe this makes remote use more versatile, touch screen are lovely but noting is better than a good old remote with hard button to be used in the dark, so gesture are important, speech is more a gimmick but might be handy.

https://www.dropbox.com/s/5cfv11l5i1usnv2/Gesture and speech recognition.mp4

Worked on setting screen adding transition. Also allow Gesture overlay to be seen or not, as well as notification.

For the RemoteGate SERVER part there is now password.

This setting screen NEEDS LOT OF improvement, need to change totally the layout…anyway it is functional

The video bellow shows setting and transition effects.

https://www.dropbox.com/s/g3037m6j4919vu6/new settings.mp4
[Galaxy S 4 Themes and Apps] questionmark:
Update with new features (download on OP )

If you install this update please un-install previous version and re-install.

CHANGELOG

02/02/2014

-Custom gesture support for remote actions ( works also on Galaxy ACE)

-Speech recognition for remote action ( not supported on Galaxy ACE, OK on Note 2, TAB 7.7).

To make this feature work make sure in Language and Input settings you select Google Voice typing and choose your language and for offline speech recognition download your language

-List of non-visual actions (i.e.: HARD KEY, GESTURE, SPEECH ) in RemoteGate activity action, so you can delete / edit non visual actions.

-Syncing actions against the device database in RemoteGate activity action; All screen you device that bind action from the DEVICE DB stores the actions inside the ACTIVITY XML file, *not* as reference to the Device DB but statically. Hence when modifying the devices in the RemoteGate Device Database view, you can sync / refresh the action for your remote activity.

-Support look and feel transition between remote activities ( none:default, fade in/out, slide in/out)

-RemoteGate Config screen support now

-RemoteGate password

-Change of transition for your remote screen

-Disable/Enable notification

-Disable/Enable overlay gesture view

-Enable vibration on touch button else default sound ( if android sound config enabled “Touch sounds”)

SCREENSHOTS:

RemoteGate Activity action menu

Custom Gesture Edit

Non visual actions edit and view

Non visual actions (speech) go to discovery channel on sharp TV

RemoteGate Activity action on gesture IE. Swipe right.

Settings General

Settings User interface for remote activities
[Galaxy S 4 Themes and Apps] science_student:
can we transmit raw ir code tru this app?
[Galaxy S 4 Themes and Apps] questionmark:
Could you please elaborate on what you mean exactly by "raw ir code"

Can you show me that code you have in mind?

RAW code from what I understand are code that got learned, see

http://www.remotecentral.com/features/irdisp2.htm

and

http://www.codeproject.com/Articles/6786/C-Remote-Control-using-the-Audio-Port

There are many formats out there the most commonly used is the PRONTO format.

RemoteGate supports only (currently ) pronto format, that is if you find your code(s) on remotecentral or any other place, you can enter/paste it in the DEVICE DB and blast it / link it to UI buttons (activity/remote screen you design yourself).

RemoteGate also supports converting LIRC.CONF remote codes file to PRONTO HEX using

LIRC2XML

see

http://www.bengt-martensson.de/harc/lirc2xml.html

This is done in remotegate transparently by going to LIRC database and search remote that match yours.

So here is how it works in remotegate when blasting pronto raw code to the GS4 blaster:

PRONTO RAW HEX FORMAT SHARP TV POWER OFF

"The first number is always a zero (0000) it indicates that the IR pattern is raw data, which means it was learned. "

0000 006c 0000 0020 000a 0046 000a 001e 000a 001e 000a 001e 000a 001e 000a 001e 000a 0046 000a 0046 000a 001e 000a 0046 000a 001e 000a 001e 000a 001e 000a 0046 000a 001e 000a 06d7 000a 0046 000a 001e 000a 001e 000a 001e 000a 001e 000a 0046 000a 001e 000a 001e 000a 0046 000a 001e 000a 0046 000a 0046 000a 0046 000a 001e 000a 0046 000a 06d7

==>converted from pronto Hex to decimal (see irData bellow )to blast on the GS4

38380,10,70,10,30,10,30,10,30,10,30,10,30,10,70,10,70,10,30,10,70,10,30,10,30,10,30,10,70,10,30,10,1751,10,70,10,30,10,30,10,30,10,30,10,70,10,30,10,30,10,70,10,30,10,70,10,70,10,70,10,30,10,70,10,1751

IF this is what you mean by RAW IR then, sure I could allow passing such code in the DEVICE DB and blast it directly

So I'm currently using this code (credit to IrDude )

https://github.com/rngtng/IrDude/blob/master/src/com/rngtng/irdude/MainActivity.java

protected String hex2dec(String irData) {

List<String> list = new ArrayList<String>(Arrays.asList(irData

.split(" ")));

list.remove(0); // dummy

int frequency = Integer.parseInt(list.remove(0), 16); // frequency

list.remove(0); // seq1

list.remove(0); // seq2

for (int i = 0; i < list.size(); i++) {

list.set(i, Integer.toString(Integer.parseInt(list.get(i), 16)));

}

frequency = (int) (1000000 / (frequency * 0.241246));

list.add(0, Integer.toString(frequency));

irData = "";

for (String s : list) {

irData += s + ",";

}

return irData;

}

I believe also on android 4.4 ( KitKat ) there is now an official API to blast IR CODE , not sure about learning which our GS4 device does not support anyway.

It is possible that the code from IrDude no longer will function on KitKat and app using it would need to update using the official API.

Will see if I update my device to KitKat ( using OMEGA 21 , but like many I’m not a fan of knox …)

If anyone uses android 4.4 and remotegate I would be curious to know if it still works.
[Galaxy S 4 Themes and Apps] science_student:
thx for for your time ...i have collected different ir codes for different buttons thru WinLIRC.I connected a ir receiver to my computers mic input then i got these codes (config file attached) open that file in notepad you will see what i am talking about..is far i have understood these codes are decimal codes(correct me if i am wrong):silly: please help me if i can use these codes to control my device from my sgs4..
[Galaxy S 4 Themes and Apps] questionmark:
If what I did in previous message did not work for the codes that does emits the GS4 IR diode, then try this:

I assume you used irrecord to learn your remote using WinLIRC. There is a switch that allow to have HEX code it seem "irrecord -a "

see

http://lirc.10951.n7.nabble.com/Howto-raw-codes-td6841.html

This format might give better results? if the decimal did not work at all for you work.

Cheers
[Galaxy S 4 Themes and Apps] questionmark:
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
[Galaxy S 4 Themes and Apps] science_student:
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:
[Galaxy S 4 Themes and Apps] questionmark:
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
[Galaxy S 4 Themes and Apps] questionmark:
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
[Galaxy S 4 Themes and Apps] MotoManic:
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.
[Galaxy S 4 Themes and Apps] questionmark:
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
[Sprint Samsung Galaxy Note II] networx2002:
nevermind
[General Questions and Answers] Profondorosso75:
Wanted to post this in the elocity section but not taking new threads. I have an elocity A7 (not plus). had it for a few years, always worked great, used

sparingly. from day one had it flashed to dexter's 1.41 rom. never had a problem. it has been sitting for a while

and I decided to break it out. charged it up and booted. nothing but force close errors. nothing really works.

tried to reflash with dexter and also with original rom. both go through the motions but after it reboots it's

exactly the same, no changes made. have gone into privacy menu and did a factory reset. same thing, goes through

the motions but after it reboots it's exactly the same. tried to uninstall programs using app manager. they

apprear to be gone but after a reboot they magically re-appear!! tried to use file manager to delete and same

thing. it's like it write protected or something. I used the elocty "restore from PC" batch file/imager and here

is what I get:

C:\Users\Snake\Documents\A7-restore-from-pc\A7 restore from PC\nvflash_windows_2

.2\image>..\nvflash.exe --bct flash.bct --setbct --configfile android_froyo_fas

tboot_emmc.cfg --create --odmdata 0xC0075 --bl bootloader.bin --go

Nvflash started

rcm version 0X20001

System Information:

chip name: t20

chip id: 0x20 major: 1 minor: 3

chip sku: 0x8

chip uid: 0x02804145445fa517

macrovision: disabled

hdcp: enabled

sbk burned: false

dk burned: false

boot device: emmc

operating mode: 3

device config strap: 0

device config fuse: 0

sdram config strap: 0

sending file: flash.bct

- 4080/4080 bytes sent

flash.bct sent successfully

odm data: 0xc0075

downloading bootloader -- load address: 0x108000 entry point: 0x108000

sending file: bootloader.bin

| 937544/937544 bytes sent

bootloader.bin sent successfully

waiting for bootloader to initialize

bootloader downloaded successfully

setting device: 2 3

creating partition: BCT

creating partition: PT

creating partition: EBT

creating partition: NVC

creating partition: SOS

creating partition: LNX

creating partition: MBR

creating partition: APP

creating partition: CAC

creating partition: MSC

creating partition: ER1

creating partition: UDA

creating partition: ER2

creating partition: SDC

Formatting partition 2 BCT please wait.. FAILED!

command failure: create failed (bad data)

bootloader status: partition table is required for this command (code: 8) messag

e: nverror:0x2 (0x2) flags: 0

so I'm guessing that the "failed" part is the main problem, lol. anyone have ideas? I want get this going in a

big way. My thought after seeing that was the flash ram had gone bad, but it was literally just sitting unused...I

don't see how it could have gone bad from sitting. if it does have bad sectors say, is there any utility like they

have fro hard drives that can map those areas? looking for serious help here from real experts, I think I have

gone though all the basics. Help MUCH appreciated. Thanks in advance
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] nvkn13:
I haven't been able to find more than one other person on the net with this problem on the S4, so far. When I'm listening to music on my headphones with the equalizer set up the way I like it, the bass and treble will suddenly go flat. The difference is painful. I have to stop the music and start it again, if that even works every time, and then it eventually happens, again. Anyone else have a problem/fix for this?
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] ernemon:
I have the same problem and happens with google player of music, nor find solution.