Browsing Some Posts
private View.OnClickListener onCast=new View.OnClickListener() {
public void onClick(View v) {
startActivity(new Intent(HelpPage.this, HelpCast.class));
}
};
}
Now, if you recompile and reinstall the application, clicking the help menu
item brings up HelpPage with both help content and the "View HelpCast"
button:
Figure 43. The HelpPage activity
Clicking the button, in turn, will display the "helpcast" video clip.
Extra Credit
Here are some things you can try beyond those step-by-step instructions:
- Support multiple pages of help text, by using WebViewClient and
shouldOverrideUrlLoading().