Languages

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 by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

9 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,...)
What is your point here? I want to have animation on going forward and I can't.
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....
So how Can I have forward animation? is there any way to do it?
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));
Thank you Tizen developers should add it to the documentation