ScottDafydd
unread,Dec 11, 2014, 1:58:27 PM12/11/14Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to androi...@googlegroups.com
Thanks gentlemen, I'll try both if that's okay. Here is the snippet that seems to be going wrong:
///handles selection of book and loads html file
function menuOptions_OnTouch(item)
{
//set up main reading screen and set visibility
tabs = app.CreateTabs( "READ,LISTEN", 1, 1, "VCenter" );
layFrm.AddChild( tabs );
//Create tab screen for eBook...
layRead = tabs.GetLayout( "READ" );
eBook=app.CreateWebView(1,1);
eBook.LoadUrl("Html/" + item + ".html");
layRead.AddChild(eBook);
//Create tab Screen for audiobook
layListen = tabs.GetLayout( "LISTEN" );
audioBk=app.CreateWebView(1,1);
audioBk.LoadUrl("Html/Audio.html");
layListen.AddChild(audioBk);
menuOptions.SetVisibility("Hide");
tabs.SetVisibility("Show");
}
the Audio.HTML file is just a single page HTML document of links to online pages...
Chris, what's the best way to get the SPK to you?