- This topic has 4 replies, 3 voices, and was last updated 11 years, 6 months ago by support-michael.
-
AuthorPosts
-
MassimilianoFabbriMemberI have an app with 4 screens
likescreen.mobi
screen-m.mobi
screen-n.mobi
screen-l.mobiI see into js generated code (screen.js) like:
‘action6’:function() { phoneui.gotoScreen(‘m1-screen_m’, ‘SLIDE_RIGHT’);},
‘action9’:function() { phoneui.gotoScreen(‘m1-screen_n’, ‘DEFAULT’);},
‘action11’:function() { phoneui.gotoScreen(‘m1-screen_l’, ‘SLIDE_RIGHT’);},
‘action12’:function() { phoneui.gotoScreen(‘m1-screen_l’, ‘DEFAULT’);},
‘action4’:function() { return new Function(‘getPosition();’).apply(this, arguments);},
‘action1’:function() { return new Function(‘recVideo();’).apply(this, arguments);},
‘action16’:function() { return new Function(‘showMarkers();’).apply(this, arguments);},
‘action2’:function() { return new Function(‘uploadFile();’).apply(this, arguments);}};
m1Design.actions[‘action5’]=m1Design.actions[‘action13’]=m1Design.actions[‘action6’];
m1Design.actions[‘action15’]=m1Design.actions[‘action11’];
m1Design.actions[‘action8’]=m1Design.actions[‘action10’];
m1Design.actions[‘action7’]=m1Design.actions[‘action14’]=m1Design.actions[‘action0’];So as you can see screen-m became screen_m, screen-n -> screen_n, and so on…
There are also duplicates (action-11, action12) and action5 does’nt exists
Result is in a compiled app when I activate action6 (clicking to goto screen screen-m.mobi)
App crash.
I tried to rebuild all (cancelling the www folder) but I still have the same behaviour and same code.
I have isolated in an app anly the screen screen-m.mobi, so It is not the code inside this screen
but is the action releated to a button to make me crash the app.
Any Idea ?
Thanks
Eudosia
support-octavioMemberHi Eudosia,
Thanks for reporting this issue. Can you share more details such mobione version and test environment( target device -model and OS)?
>I have isolated in an app anly the screen screen-m.mobi, so It is not the code inside this screen but is the action releated to a button to make me crash the app.
Could you share those files that demonstrate the issue? You can send them to support at genuitec dot com if you want to keep data in privacy, use title mobione data from Eudosia
MassimilianoFabbriMember@support-octavio wrote:
Hi Eudosia,
Thanks for reporting this issue. Can you share more details such mobione version and test environment( target device -model and OS)?
>I have isolated in an app anly the screen screen-m.mobi, so It is not the code inside this screen but is the action releated to a button to make me crash the app.
Could you share those files that demonstrate the issue? You can send them to support at genuitec dot com if you want to keep data in privacy, use title mobione data from EudosiaThe strange things this not happen on all devices. I got Samsung galaxy next and a E-Devo (Evodroid 7.1) 7″ tablet (froyo 2.2/jellybean 4.2)
First version where image buttons where into screen worked on both
Then I made a version where I copied buttons on panels, and worked both
Then I revert again (not changed or created a new project) deleted panels and put the buttons (keeping buttons names)
again in screens.
At this point when I click on the same button (are images and not standard buttons) on Samsung the app crash and on tablet noAlso, I have tried changing names to buttons and to the screen where I need to switch from this button (from screen-m to screen_m)
But the issue remains in Samsung Galaxy
MassimilianoFabbriMember@support-octavio wrote:
Hi Eudosia,
Thanks for reporting this issue. Can you share more details such mobione version and test environment( target device -model and OS)?
>I have isolated in an app anly the screen screen-m.mobi, so It is not the code inside this screen but is the action releated to a button to make me crash the app.
Could you share those files that demonstrate the issue? You can send them to support at genuitec dot com if you want to keep data in privacy, use title mobione data from EudosiaSorry but I can’t send you project files, because the purchaser of the work don’t agree.
I can send you piece of code like the main javascript file, but not others addictional files.
Please tell me if this can help.
Thanks
Eudosia
support-michaelKeymaster@eudosia
>Sorry but I can’t send you project files
Understood. We need a reproducable testcase. Can you generate a small set of screens that replicates the problem and share it with us?
-
AuthorPosts