Page 1 of 1

Some useful questions

Posted: Fri Jun 12, 2015 5:37 pm
by smart_lover
Sorry,I am really newbie and I have 4 question.

1:How can I Edit/Delete files in TV from telnet/ssh/ftp? My problem is when I try to edit/delete SmartHomeDefine.js.cmk the TV prevents me to do it.(permission denied!)
I try setting file permission to 777 with no success. Some files after delete goes to initial state instantly!! I want to edit manager widget(mtd_appext/infolink/manager/). Does it changeable or it is important folder and I have no access to edit its files?

2:Do I have to encrypt TV decrypted modified file before uploading it to TV?

3:How can I make my Widget start automatically during TV Power on(autorun)? Do I have to use ticker feature!?!

4:How can I install my widget on TV remotely? Do I have to use ONLY 'develop' user for install my widgets? I want my widget check for any updated version during each TV power on or on predefined times and if new version is available ,download and overwrite local widget.

thanks in advance for your great solutions.

Re: Some useful questions

Posted: Mon Jun 15, 2015 1:22 pm
by sectroyer
hamidx5 wrote:Sorry,I am really newbie and I have 4 question.

1:How can I Edit/Delete files in TV from telnet/ssh/ftp? My problem is when I try to edit/delete SmartHomeDefine.js.cmk the TV prevents me to do it.(permission denied!)
I try setting file permission to 777 with no success. Some files after delete goes to initial state instantly!! I want to edit manager widget(mtd_appext/infolink/manager/). Does it changeable or it is important folder and I have no access to edit its files?
It all depends on your TV models but it's probably mounted read only :) You have mount -o bind it.
hamidx5 wrote:2:Do I have to encrypt TV decrypted modified file before uploading it to TV?
I don't understand your question :)
hamidx5 wrote:3:How can I make my Widget start automatically during TV Power on(autorun)? Do I have to use ticker feature!?!
That's one option :)
hamidx5 wrote:4:How can I install my widget on TV remotely? Do I have to use ONLY 'develop' user for install my widgets? I want my widget check for any updated version during each TV power on or on predefined times and if new version is available ,download and overwrite local widget.
Simply use "cp" or run directly from USB :)

Re: Some useful questions

Posted: Mon Jun 15, 2015 9:38 pm
by smart_lover
Once more, I am not as professional as you at all. I am at the beginning of working with TVs and completely newbie. Please help me with more details.
It all depends on your TV models but it's probably mounted read only :) You have mount -o bind it.
Please go into detail or give me some info.

I don't understand your question :)
I mean that after successful mounting(Full access), Can I upload decrypted files in widget(after some modification) to TV without having to encrypt it again!? Does TV is able to run modified decrypted files in widget(previously encrypted)or not?
That's one option :)
Please explain more! How can I make an application(Smarthub widget) to start automatically during power on process of TV?
Simply use "cp" or run directly from USB :)
What is CP?!

Re: Some useful questions

Posted: Mon Jun 15, 2015 9:43 pm
by sectroyer
cp is command :) Simply run it:

Code: Select all

cp
:)
I don't know about "modified widgets" but I know that tv can run unencrypted widgets :) Read samsung manual for writing widgets :)

Re: Some useful questions

Posted: Mon Jun 15, 2015 9:51 pm
by smart_lover
cp is command :) Simply run it:
Ok! I got it. You mean cp command(copy).
I don't know about "modified widgets" but I know that tv can run unencrypted widgets :) Read samsung manual for writing widgets :)
Actually I can't find useful info in Samsung site. Maybe there are some manual that I have not! But I got your words.

But! What about auto start of a widget?

Re: Some useful questions

Posted: Mon Jun 15, 2015 10:04 pm
by sectroyer
hamidx5 wrote: But! What about auto start of a widget?
Thousands of ways :) Auto-Ticker is one of them :)

Re: Some useful questions

Posted: Mon Jun 15, 2015 10:17 pm
by smart_lover
Thousands of ways :) Auto-Ticker is one of them :)
Do you want me to solve puzzle?! Please explain with more details second way out of 1000s ways!
I'll be grateful.

Re: Some useful questions

Posted: Tue Jun 16, 2015 7:34 pm
by sectroyer
hamidx5 wrote:
Thousands of ways :) Auto-Ticker is one of them :)
Do you want me to solve puzzle?! Please explain with more details second way out of 1000s ways!
I'll be grateful.
hehe well the limit is your imagination :) For example you can dynamically modify one of existing (auto launched) widgets to start yours. You could use samyGOso to launch widget. And many others :)

Re: Some useful questions

Posted: Tue Jun 16, 2015 7:51 pm
by smart_lover
hehe well the limit is your imagination :) For example you can dynamically modify one of existing (auto launched) widgets to start yours. You could use samyGOso to launch widget. And many others :)
Thanks for your great idea. I test it and It works like a charm. How can I get rid of all "Network is not connected check network settings to use this service" messages?
I am in LAN with no access to Internet. Whenever I power on my TV, modified widget is trying to start my widget with no success (but I can easily see loading progress bar)because of NETWORK error alerts! Actually network bind error prevents my ticker app to start, Although in my widget there is no need to connect to internet!

Launch widget with SamyGOso?? Sounds good. Please explain me How can I use great SamyGOso to launch widget at startup?

Re: Some useful questions

Posted: Tue Jun 16, 2015 8:43 pm
by sectroyer
hamidx5 wrote: Thanks for your great idea. I test it and It works like a charm. How can I get rid of all "Network is not connected check network settings to use this service" messages?
I always use with internet access. Can't help you with that :)
hamidx5 wrote: I am in LAN with no access to Internet. Whenever I power on my TV, modified widget is trying to start my widget with no success (but I can easily see loading progress bar)because of NETWORK error alerts! Actually network bind error prevents my ticker app to start, Although in my widget there is no need to connect to internet!

Launch widget with SamyGOso?? Sounds good. Please explain me How can I use great SamyGOso to launch widget at startup?
Yeah you need to use samyGOso to inject your lib to WidgetEngine. Then use the lib to force it to load your widget :)