Posts: 71
Joined: Jan 2014
Reputation:
0
Please can any one tell how to call any one installed app through skinning in amber.
for example when i will click on weather button then it should open my another installed app like myfirstapp
Please Reply...........
Posts: 158
Joined: Dec 2013
Reputation:
3
denz
Senior Member
Posts: 158
Have a look at PVR related thread there I have mentioned few things about adding sub-menus to live tv so you should be able to follow and add sub menu items for other home items things if you haven't already figured it out.
Posts: 25
Joined: Feb 2008
Reputation:
1
2014-03-06, 00:48
(This post was last modified: 2014-03-06, 01:24 by Gamblor.)
+1 for custom sub menus. I love this skin, it's clean and runs fast on my atom/ion based media PC. What would make it perfect for me would be the ability to add custom sub menus from the ui. I've tinkered with doing it manually with some success. I've tried running ace or aeon mq and while they both have this feature my system becomes too slow and I find most of the other options and view types to be messy. Is it something that you are planning to add in the future?
Thanks for the great work and awesome skin.
Posts: 263
Joined: Aug 2013
Reputation:
1
see the post you made lenz but still not clear for me although im sure its simple to do for a noob like me would be complicated hopefully a tutorial can be created of how this is done thank you
Posts: 158
Joined: Dec 2013
Reputation:
3
denz
Senior Member
Posts: 158
I will give a more detailed example first step is to open Includes.xml file that is located in skin.amber/1080i. You can use wordpad but notepad ++ is better for editing xml files.
First part is to add a menu to the home part and all the home menus are found underneath this section
<include name="Home.Main.Menu.Items">
Then lets use Custom3 as our base first copy it and paste it.
<item id="23" description="Custom3">
<visible>!IsEmpty(Skin.String(CustomHome.3.Path))</visible>
<label>$INFO[Skin.String(CustomHome.3.Label)]</label>
<thumb fallback="special://skin/backgrounds/default/default.jpg">$INFO[Skin.String(CustomHome.3.Background)]</thumb>
<onclick>$INFO[Skin.String(CustomHome.3.Path)]</onclick>
</item>
Lets make changes to this item
We need to change the id to something that has not been used before and as you can see I simplified the item removed visible tag and then you need to give action of what should that menu do in this example a notification pops up.
<item id="45" description="MyMenu1">
<label>MyMenu1</label>
<thumb fallback="special://skin/backgrounds/default/default.jpg"></thumb>
<onclick>Notification("test",0,1)</onclick>
</item>
So now that we the menu we need to add sub menus to do that we need to find the locations of sub menus and they are underneath this tag
<include name="Home.Submenu.Items">
Then similar to step one we will use existing menu as a base so this time I have chosen "Reload skin" so copy and paste this item
<item id="50" description="Reload skin">
<visible>Container(300).HasFocus(10)</visible>
<label>$LOCALIZE[20183]</label>
<onclick>XBMC.ReloadSkin()</onclick>
</item>
Now you need to give it a new id that doesn't exist. I have chosen 70 then in the visible section we need to change HasFocus(10) to the id we gave to the main menu which was 45. Then all that is left is to give the onclick action
<item id="70" description="MySubMenu1">
<visible>Container(300).HasFocus(45)</visible>
<label>Submenu1</label>
<onclick>Notification("test1",0,1)</onclick>
</item>
For the onclick action there heaps on xbmc forum
Hopefully this helps I am a newbie as well
Posts: 263
Joined: Aug 2013
Reputation:
1
struggling with that guide all thou looks like a great one and very simple m8....am using a ouya so dont know if that makes it harder anyway of a video guide or is that just asking to much lol
thanks never the less for the well written guide im just useless when it come to this stuff unless i can follow a video guide lol
Posts: 347
Joined: Jun 2013
Reputation:
4
A nice workaround for making use of submenus in amber is making use of the addon super favourites. With this addon you can make folders within favourites or nested favourites
Posts: 20
Joined: Apr 2014
Reputation:
0
Awesome, I'll try it at home tonight. Thanks so much.
I have to reiterate, too - amber is an awesome skin. I'm using it on my RasPis and I've fiddled with about 10 different skins based on various recommendations and I keep coming back. It's super fast and customizable. Now, paired with super favorites, it does literally everything I want it to. And the live TV/EPG functionality is just as good as confluence, despite pecinko's claims that he doesn't care about live tv. ;-)
many thanks!