我使用sdk中的multiviews例子,和自己播放器的代码。想用播放器的view替换为multiviews中的第二个view
我在rss中,把view2的都删了,把RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info换为播放器的
然后 void CMyAppUi::InitializeContainersL()
{
iAppView1 = CMultiViewsView1::NewL();
// iAppView2 = CMultiViewsView2::NewL();
iMyContainerView = CMyContainerView::NewL();
// Transfer ownership to base class
AddViewL( iAppView1);
// AddViewL( iAppView2);
AddViewL(MyContainerView);
SetDefaultViewL(*iAppView1);
//SetDefaultViewL( *iMyView );
}
但是到iAppView1 = CMultiViewsView1::NewL();
跟踪进去,是到这里退出 void CMultiViewsView1::ConstructL()
{
BaseConstructL( R_MULTIVIEWS_VIEW1 );
}
请帮我分析一下吧。。。如果需要rss的话我也可以贴出来。
------最佳解决方案--------------------------------------------------------
CONE 14
Environment cannot find the specified resource in any resource file
不懂的话,不要随便删除资源文件中的内容。除注释外,一般很少有多余没用的内容。