Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » [Neon] Mobile support
[Neon] Mobile support [message #1718440] Wed, 23 December 2015 16:41 Go to next message
Silvio Kohler is currently offline Silvio KohlerFriend
Messages: 31
Registered: October 2015
Member
Hi

I tried to test the mobile version of the scout neon UI. For this purpose I created a new Scout Project in Scout Neon M4.
I started the app from eclipse (server-dev.launch and ui-html-dev.launch). Accessing from the web browser works, as expected.

Accessing the same url from the mobile phone raises an error.

Test with "Nexus 5, chrome 44.0":
- internal UI-error (Code T6)
Stacktrace:
2015-12-23 17:34:34,817 ERROR qtp1332668132-36 o.e.s.rt.ui.html.json.JsonMessageRequestHandler - TypeError: scout.DesktopFormController is not a function
at scout.Desktop._init (http://192.168.100.232:8092/res/scout-mobile.js:31789:41)
at scout.MobileDesktop._init (http://192.168.100.232:8092/res/scout-mobile.js:44449:68)
at scout.Widget.init (http://192.168.100.232:8092/res/scout-mobile.js:1470:23)
at scout.ObjectFactory.create (http://192.168.100.232:8092/res/scout-mobile.js:5700:37)
at Object.scout.create (http://192.168.100.232:8092/res/scout-mobile.js:1207:43)
at scout.Session.getOrCreateModelAdapter (http://192.168.100.232:8092/res/scout-mobile.js:7594:36)
at scout.Session._onInitialized (http://192.168.100.232:8092/res/scout-mobile.js:8376:40)
at scout.Session.onModelAction (http://192.168.100.232:8092/res/scout-mobile.js:8341:27)
at scout.Session._processEvents (http://192.168.100.232:8092/res/scout-mobile.js:8318:42)
at scout.Session._processSuccessResponse (http://192.168.100.232:8092/res/scout-mobile.js:7916:29) (Code T6) [Kohler @ POST /json 1:20151223173426557]

Test with "iPhone 4":
- internal UI-error (Code J0)
Stacktrace:
2015-12-23 17:27:59,626 ERROR qtp1332668132-22 o.e.s.rt.ui.html.json.JsonMessageRequestHandler - TypeError: 'undefined' is not a constructor (evaluating 'new scout.DesktopFormController(this, this.session)') at http://192.168.100.232:8092/res/scout-mobile.js:31789 (Code J0) [Kohler @ POST /json 1:20151223172747879]

On the Nexus 5, I switched the browser to use the "Desktop-Version", which opens the app as in the Desktop-PC Browser, without any error.

Is the mobile rendering already supported? Is this a bug or a problem with my setup?

Thanks
Re: [Neon] Mobile support [message #1718482 is a reply to message #1718440] Thu, 24 December 2015 11:04 Go to previous messageGo to next message
Rene Eigenheer is currently offline Rene EigenheerFriend
Messages: 109
Registered: July 2009
Senior Member
Tested with Samsung S5 - chrome 47.0.2526.83:
same error: scout.DesktopFormController is not a function

tested from desktop browser using index-mobile.html, getting error: Error: Failed to create Scout object for objectType:NumberColumn
Re: [Neon] Mobile support [message #1718521 is a reply to message #1718482] Sat, 26 December 2015 08:39 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
I think that mobile support is still very experimental at the moment. Remember that the Neon milestone releases are beta versions (we do not publish an exhaustive list of what you can and cannot use) and that the final release is coming next June.

Anyway, thanks for testing and reporting your findings in this forum.
Re: [Neon] Mobile support [message #1718707 is a reply to message #1718521] Tue, 29 December 2015 11:09 Go to previous message
Rene Eigenheer is currently offline Rene EigenheerFriend
Messages: 109
Registered: July 2009
Senior Member
Jeremie, testing, reporting and sharing experiences is exactly the goal of the comments.
...and I'm very impressed how much already is working
Previous Topic:[Neon] OkButton
Next Topic:[Neon] StringField getConfiguredValidateOnAnyKey
Goto Forum:
  


Current Time: Thu Mar 28 22:53:36 GMT 2024

Powered by FUDForum. Page generated in 0.03490 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top