Launching apps from commandline

General Forum for talking area for E series TVs.
Post Reply

drasha
SamyGO Project Donor
Posts: 2
Joined: Wed May 09, 2012 12:06 pm

Launching apps from commandline

Post by drasha »

Hi,

I would like to launch a smart hub app from a commandline, so I could bind a specific app to a remote control key.

I search the forum (maybe not carefully enough) and found only few topics that did not provide definitive answers.

My question is - how can this be done? I don't mind doing some coding/scripting, but I would need at least some hints to begin with. I know the location of the app, I just don't have any clue, what is launching them and the butchered nc-based commandline is not helping me.

Thanks,
drasha
zoelechat
SamyGO Moderator
Posts: 8616
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: Launching apps from commandline

Post by zoelechat »

No need for multipost...

That's how it goes:
exeDSP launches libWEclient.so which launches WidgetEngine that launches Widget itself.
So you have to hook/patch/inject something somewhere amongst these things.
More, "classic" injection to WidgetEngine (=samyGOso) cause it to systematically restart, so you'd surely have to write a whole patch from scratch.

I can tell you it's on my to-do list for a long time (not amongst my priorities though, I don't use widget crap) but for now I never found a way to sort it out. No more clues except it's surely hard work and if there's a simpler way, I just don't know it :)
I do NOT receive any PM. Please use forum.
drasha
SamyGO Project Donor
Posts: 2
Joined: Wed May 09, 2012 12:06 pm

Re: Launching apps from commandline

Post by drasha »

Sorry about that. I wasn't sure if knowledgeable people read both forums...

Anyway, thanks for the hint. I will take a look around to get more info and maybe start hacking on it, just for the fun. That or buy some media center and avoid the widget crap :)

Post Reply

Return to “[E] General”