Tizen Developers

Menu
Sites
Language
GoForward Bug!!

SceneManager* pSceneManager = SceneManager::GetInstance();

//This works
pSceneManager->GoForward(SceneTransitionId(ID_SCNT_3),pArgs);

//This fails.. says scene is not registered
pSceneManager->GoForward(ForwardSceneTransition(SceneTransitionId(ID_SCNT_3), SCENE_TRANSITION_ANIMATION_TYPE_LEFT),pArgs);
 

 

Edited on 18 03, 2014

Responses

6 Replies
Siddharth Singh
The easy way of doing this is designing the flow in workflow.xml directly.
Siddharth Singh
This should help: ForwardSceneTransition (const SceneId &destinationSceneId,....) whereas GoForward (const SceneTransitionId &transitionId,...)
Siddharth Singh
U are trying to have animation while switching forms........right?
Siddharth Singh
My point was GoForward takes SceneTransitionId as parameter while ForwardSceneTransition takes destinationSceneId as parameter....
Siddharth Singh
I do it through workflow.xml in Native UI Builder.There u can add the form (in case its not already added) -> Create Connection -> Modify Animation property (of connection) as per u.
Siddharth Singh
Use this (It works fine ...i have verified) : ForwardSceneTransition(SceneTransitionId(ID_SCNT_1),SCENE_TRANSITION_ANIMATION_TYPE_RIGHT,SCENE_HISTORY_OPTION_ADD_HISTORY,SCENE_DESTROY_OPTION_KEEP); pSceneManager->GoForward(SceneTransitionId(ID_SCNT_1));