2014-08-26, 13:19
ActivateWindow with "return" is issue.
I have content statics is included in myvideonav.xml for I can activewindow from here.
Workflow Testing:
I try again with Musics and get same error (on both Android and window). But, I test on Gotham 13.2 don't have issue above.
When I use "root" or without "return". Don't get error that.
I wanna use return because Dynamic List Contents use return
My English is not good.
Thanks.
Update: I tested with plugin youtube.
I add code in Home.xml and MyVideoNav.xml
At window Home. I click "Youtube Test" and then I click "Youtube Categories" and final I click "Youtube Test". But window is nothing happen.
I have content statics is included in myvideonav.xml for I can activewindow from here.
Workflow Testing:
Quote:- First: ActivateWindow("VideoLibrary, plugin://plugin.foo, return") (content statics) -> Show plugin's directory (is Folder) => Active screen A
- From Screen: Active item Directory => Activate screen B
- From Screen: ActivateWindow("VideoLibrary, plugin://plugin.foo, return") (content statics) => Active screen B (not change), not active screen A and don't get plugin://plugin.foo
I try again with Musics and get same error (on both Android and window). But, I test on Gotham 13.2 don't have issue above.
When I use "root" or without "return". Don't get error that.
Quote:ActivateWindow("VideoLibrary, plugin://plugin.foo, root") or ActivateWindow("VideoLibrary, plugin://plugin.foo")
I wanna use return because Dynamic List Contents use return
My English is not good.
Thanks.
Update: I tested with plugin youtube.
I add code in Home.xml and MyVideoNav.xml
PHP Code:
<control type="list">
<left>270</left>
<top>540</top>
<height>200</height>
<itemlayout width="200" height="107">
<control type="label">
<height>150</height>
<width>150</width>
<align>center</align>
<label>[B]$INFO[ListItem.label][/B]</label>
</control>
</itemlayout>
<focusedlayout width="200" height="107">
<control type="label">
<height>150</height>
<width>150</width>
<align>center</align>
<label>[B]$INFO[ListItem.label][/B]</label>
</control>
</focusedlayout>
<content>
<item>
<description>TEST</description>
<label>Youtube TEST</label>
<onclick>ActivateWindow(video,plugin://plugin.video.youtube/?login=false&path=%2froot%2fexplore, return)</onclick>
</item>
</content>
</control>
At window Home. I click "Youtube Test" and then I click "Youtube Categories" and final I click "Youtube Test". But window is nothing happen.