Switching between views

Login to reply to this topic.
Fri, 2006-02-24 17:35
Joined: 2004-10-20
Forum posts: 10
Hi,

until now i haven't understood how to jump from one view to other. Let's say i have splash screen (non-fullscreen with softkey "Ok" and "Exit"). Then in AppUi in my HandleCommandL function I check if "Ok" was selected and want to change to next view. But how can i do this?

Regards,
Sebastian

Fri, 2006-02-24 17:41
Joined: 2006-02-06
Forum posts: 28
Re: Switching between views
There is an example app in the series60 sdk called 'multiview' its a very simple example and should show you everything you need. There should be the same/similar example in the sdk you're using if different.

Regards,
Viru
Fri, 2006-02-24 17:55
Joined: 2004-10-20
Forum posts: 10
Re: Switching between views
Which sdk version? can't find "multiview" in my /examples folder.
Fri, 2006-02-24 18:03
Joined: 2004-05-29
Forum posts: 149
Re: Switching between views
Mine is located at C:\Symbian\8.1a\S60_2nd_FP3\Series60Ex\multiviews.
Note that this is the Series 60 examples, not the Symbian OS examples.

-euroq
Tue, 2006-02-28 11:36
Joined: 2004-12-23
Forum posts: 239
Re: Switching between views
Hi sebflash,

Typr MultiView in your SDK help.And search for the example.You will get few .cpp and .h files also.See how they are activating different views.

AppUi()->ActivateLocalViewL(TUid::Uid(EMultiViewsView1Id));
here EMultiViewsView1Id is the view which u have to define in your .hrh file.Just see how they have defined resource for views in .rss file.There they have used IDs for view which is the ID which you need to pass whenever u wants to activate any view.
BR

---------------
Bhatt Kavita

  • Login to reply to this topic.