Topic
25 replies Latest Post - ‏2014-04-15T08:09:30Z by navana
ENO2010
ENO2010
133 Posts
ACCEPTED ANSWER

Pinned topic [RBD 8.0.3] : RUI Mobile

‏2012-08-06T11:01:17Z |
Hi,
I'm looking after documentation about how to build an EGL Mobile apps.
I found a document bold EGL Mobile Web V070.pdf bold but this sample is still using com.ibm.egl.rui.dojo.widgets_1.0.0.
Do you know if there is a new version?

Eric
Updated on 2013-02-15T21:36:55Z at 2013-02-15T21:36:55Z by markevans
  • dan_darnell
    dan_darnell
    917 Posts
    ACCEPTED ANSWER

    Re: [RBD 8.0.3] : RUI Mobile

    ‏2012-08-22T16:35:35Z  in response to ENO2010
    I'm not aware of any more work done in RBD to support mobile widgets (disappointing, really). However, if you are a brave soul, there is a nice implementation in the open-source EGL effort (EGL Development Tools):

    http://www.eclipse.org/edt/

    I say "brave soul" only because the overall EDT effort is far from complete at this point and I'm not sure that I would bet the farm on it just yet.

    --Dan
    • JBASkeen
      JBASkeen
      129 Posts
      ACCEPTED ANSWER

      Re: [RBD 8.0.3] : RUI Mobile

      ‏2012-08-22T16:57:11Z  in response to dan_darnell
      Dan,

      In your post you mentioned there is no more work being done to support mobile widgets in RBD. Is this definitely true? We are expecting an upgraded Dojo local runtime in RBD 8.5. Is it just that no new widgets are going to be developed? Or is the dojo runtime left for dead also?

      Not good either way, we are depending on EGL and Dojo for our mobile development at the moment only because we assumed it would continue to be supported/maintained/developed in future releases of RBD. Hopefully I am just jumping to conclusions.

      Thanks,
      James
      • dan_darnell
        dan_darnell
        917 Posts
        ACCEPTED ANSWER

        Re: [RBD 8.0.3] : RUI Mobile

        ‏2012-08-22T18:17:47Z  in response to JBASkeen
        Hi James,

        I didn't mean to cause you any concern. I do not expect Dojo to be left for dead in RBD (but I really don't have any idea what IBM/Rational intends with regard to Dojo and Dojo Mobile widgets in RBD). I'm not using RBD 8.5 yet but I do see that it support Dojo 1.7. That said, I don't know if there are any more Dojo components or any support for Dojo Mobile in RBD 8.5. As far as I know, there is no official support for Dojo Mobile in RBD and I haven't heard any statements of direction with regard to providing an implementation of Dojo Mobile.

        Your concerns do bring up an interesting point though...it has been a while since we've heard anything about future directions for RBD. Perhaps an IBM'er here can answer these questions:

        • Is there an official implementation of Dojo Mobile planned for RBD (or is it in RBD 8.5)?

        • What are the plans for future Dojo support in RBD? More widgets? Improved functionality (unless they have changed in RBD 8.5 the graph widgets, for one example, still need a lot of improvement)?

        --Dan
  • JBASkeen
    JBASkeen
    129 Posts
    ACCEPTED ANSWER

    Re: [RBD 8.0.3] : RUI Mobile

    ‏2012-08-22T16:50:44Z  in response to ENO2010
    Eric,

    I have developed several mobile apps using RBD 8.0.1.3 & EGL. When I got into it I used the attached project as a guide to form the framework that I needed. Of course, if you are creating dynamic mobile apps using EGL you just create it all on the fly.

    Hope this helps.

    Thanks,
    James
  • JBASkeen
    JBASkeen
    129 Posts
    ACCEPTED ANSWER

    Re: [RBD 8.0.3] : RUI Mobile

    ‏2012-09-19T11:55:04Z  in response to ENO2010
    I wanted to post to this thread again with the hope to move it around the forum post chain to draw attention.

    I can't agree with Dan's statement more, EGL needs fully-supported Dojo Mobile Widgets. The whole point of EGL is to make development easier, why should mobile web apps be the exception? :) (Obviously not that easy)

    Ultimately, I would love to see Worklight incorporated into EGL, somehow. At the very least, supported & expandable mobile widgets in EGL. Creating mobile web apps with EGL & Dojo is so easy, the concept needs to be expanded and supported in EGL.

    Thanks,
    James
    • nick_tn
      nick_tn
      580 Posts
      ACCEPTED ANSWER

      Re: [RBD 8.0.3] : RUI Mobile

      ‏2012-11-08T22:51:42Z  in response to JBASkeen
      here..here...

      especially since the new version of ie acts different. No more on-click support...very sad..
      • JBASkeen
        JBASkeen
        129 Posts
        ACCEPTED ANSWER

        Re: [RBD 8.0.3] : RUI Mobile

        ‏2012-11-13T20:48:02Z  in response to nick_tn
        We have a production mobile app written entirely with the mobile widgets project and mobile runtime project that was supplied by IBM and it works great, of course IE is an issue though. Our app is largely dynamic so it was something new to play with, not really any static content and we use it with EGL dedicated services.

        It is interesting why the widgets were just dropped entirely. Maybe "dropped" is a poor choice of words. Worklight + EGL would be cool which would give the ability to tap into the device APIs but Worklight seems to be to large of a product to intergrate with EGL. The simple solution would be to provide EGL mobile widgets/runtimes that can be used just like the Dojo and IBM widgets/runtimes to provide mobile web applications.

        I guess my question is, why the lack of support for mobile development in EGL? We know it is possible to do it entirely within EGL.

        James
        • dan_darnell
          dan_darnell
          917 Posts
          ACCEPTED ANSWER

          Re: [RBD 8.0.3] : RUI Mobile

          ‏2012-11-13T20:54:24Z  in response to JBASkeen
          One can see significant effort put into mobile support for EGL in the EDT project but, other than the unsupported technology preview, nothing on the RBD side of the house.

          This is worrisome!

          --Dan
          • JBASkeen
            JBASkeen
            129 Posts
            ACCEPTED ANSWER

            Re: [RBD 8.0.3] : RUI Mobile

            ‏2012-11-13T21:00:25Z  in response to dan_darnell
            I have heard several people mention a community effort to provide some mobile support to EDT and that is awesome. I have been meaning to check it out, hopefully I can find the time soon because I am very curious and excited to hear that. Let's get it in RBD! :)

            James
  • SystemAdmin
    SystemAdmin
    6195 Posts
    ACCEPTED ANSWER

    Re: [RBD 8.0.3] : RUI Mobile

    ‏2012-12-21T15:28:55Z  in response to ENO2010
    I have contacted IBM about this and they told me they are investigating what it will take to officiallly support Dojo Mobile widgets in EGL.
    Since there is no RFE for this I've made one: http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=29789

    I also made a RFE to support PhoneGap / Apache Cordova, so we can create Mobile Apps.

    Please vote for these!

    Thanks,
    Carlo
    • dan_darnell
      dan_darnell
      917 Posts
      ACCEPTED ANSWER

      Re: [RBD 8.0.3] : RUI Mobile

      ‏2012-12-21T19:44:37Z  in response to SystemAdmin
      Excellent!

      Got my vote.

      --Dan
    • Ortwin
      Ortwin
      165 Posts
      ACCEPTED ANSWER

      Re: [RBD 8.0.3] : RUI Mobile

      ‏2012-12-22T12:27:43Z  in response to SystemAdmin
      Well done Carlo,

      You've got my vote.

      Ortwin
      • JBASkeen
        JBASkeen
        129 Posts
        ACCEPTED ANSWER

        Re: [RBD 8.0.3] : RUI Mobile

        ‏2013-02-11T22:09:21Z  in response to Ortwin
        I have mentioned in this thread before that our team has had some great success developing with the old EGL mobile widgets package that was released by IBM as a sample. Below is a link to a EGL RUI application that uses the IBM mobile widgets dynamically, this application is built entirely in EGL with front-end RUIs and back-end services using dedicated EGL services.

        If you would like to check it out navigate to the link below on a mobile device (ideally) and login using the id 'Guest' with no password. Doing so will log you into a sample session where the user can use the application to see how it looks and behaves.

        Although this example is pretty basic it shows how EGL can be used to develop for the mobile web. Hopefully we can get the mobile widgets support back in Rational Business Developer soon, we would love to be able to expand upon on this mobile student portal and start developing new one. EGL is just too fun and easy to leave out mobile web development! :)

        https://ss2t.sfcollege.edu/eSFM/SR1000MUI1-en_US.html
        Login ID: Guest

        Thanks,
        James
    • JBASkeen
      JBASkeen
      129 Posts
      ACCEPTED ANSWER

      Re: [RBD 8.0.3] : RUI Mobile

      ‏2013-01-11T18:46:52Z  in response to SystemAdmin
      Got my vote as well! I wish I could vote 1000 times! I am hoping to post a link to our mobile web app soon, it was built entirely with EGL using the mobile project preview from IBM that was mentioned earlier. It is a mobile student portal and we are adding a guest login option to allow those who are interested to login and see the application.

      Anyone interested in developing mobile web apps/widgets using EGL please vote for Carlo's RFE. Thanks Carlo!
      RFE link:
      http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=29789

      James
      • SystemAdmin
        SystemAdmin
        6195 Posts
        ACCEPTED ANSWER

        Re: [RBD 8.0.3] : RUI Mobile

        ‏2013-01-11T18:55:13Z  in response to JBASkeen
        +1

        Aaron Allsbrook
        ClearBlade Mobile Lead
        • SystemAdmin
          SystemAdmin
          6195 Posts
          ACCEPTED ANSWER

          Re: [RBD 8.0.3] : RUI Mobile

          ‏2013-01-12T06:26:33Z  in response to SystemAdmin
          Everyone, thanks for your votes.
          I noticed I forgot to mention the URL for the RFE for PhoneGap/Apache Cordova.
          When we want to develop real Mobile Apps, this is a must.
          So please vote for this also:

          Link: http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=29790

          Thanks,
          Carlo
          • JBASkeen
            JBASkeen
            129 Posts
            ACCEPTED ANSWER

            Re: [RBD 8.0.3] : RUI Mobile

            ‏2013-02-11T22:13:48Z  in response to SystemAdmin
            Here is the post in the right spot on the thread... :)
            I have mentioned in this thread before that our team has had some great success developing with the old EGL mobile widgets package that was released by IBM as a sample. Below is a link to a EGL RUI application that uses the IBM mobile widgets dynamically, this application is built entirely in EGL with front-end RUIs and back-end services using dedicated EGL services.

            If you would like to check it out navigate to the link below on a mobile device (ideally) and login using the id 'Guest' with no password. Doing so will log you into a sample session where the user can use the application to see how it looks and behaves.

            Although this example is pretty basic it shows how EGL can be used to develop for the mobile web. Hopefully we can get the mobile widgets support back in Rational Business Developer soon, we would love to be able to expand upon on this mobile student portal and start developing new one. EGL is just too fun and easy to leave out mobile web development! :)

            https://ss2t.sfcollege.edu/eSFM/SR1000MUI1-en_US.html
            Login ID: Guest

            Thanks,
            James
            • SystemAdmin
              SystemAdmin
              6195 Posts
              ACCEPTED ANSWER

              Re: [RBD 8.0.3] : RUI Mobile

              ‏2013-02-12T00:26:33Z  in response to JBASkeen
              Hi James,

              This is great! Very nice work!

              I have tried both a Samsung GS3 and Nexus7 and the ui/animations work great. I am thinking you could very easily create a cordova shell that launched this url in a webview and you could quickly have an app ready for googleplay and itunes.

              Aaron Allsbrook
              ClearBlade Mobile Lead
              • JBASkeen
                JBASkeen
                129 Posts
                ACCEPTED ANSWER

                Re: [RBD 8.0.3] : RUI Mobile

                ‏2013-02-12T14:45:00Z  in response to SystemAdmin
                Aaron,

                Thanks for checking it out! I have seen great performance on iOS devices and my Nexus 7 as well. I have tried using cordova with dojo but not in the context of EGL, that sounds like another fun project! If EGL works with cordova then it really is crazy how fast you could potentially have a hybrid mobile app ready for production, EGL just makes the development phase fly by!

                Thanks,
                James
                • markevans
                  markevans
                  2521 Posts
                  ACCEPTED ANSWER

                  Re: [RBD 8.0.3] : RUI Mobile

                  ‏2013-02-15T21:36:55Z  in response to JBASkeen
                  James,

                  Looks great!!

                  Thanks for sharing with the EGL forum.
                  • navana
                    navana
                    10 Posts
                    ACCEPTED ANSWER

                    Re: [RBD 8.0.3] : RUI Mobile

                    ‏2014-04-13T16:34:23Z  in response to markevans

                    Hi Mark,

                    Is it possible to develop a mobile application(.apk file) with EGL ?

                    Thanks.

                    • dan_darnell
                      dan_darnell
                      917 Posts
                      ACCEPTED ANSWER

                      Re: [RBD 8.0.3] : RUI Mobile

                      ‏2014-04-14T15:51:24Z  in response to navana

                      Navana,

                      Yes and no. What you CANNOT currently do with RBD/EGL is write EGL code that generates directly to native Android code.

                      You CAN wrap an EGL Rich UI application in an Android WebView and make it run as a native Android application deployed in an APK file (.apk files are Android apps).  Once you do this you can achieve an astonishing degree of seamless integration between your EGL code and native Android code. I have EGL apps running on Android devices that use the camera, GPS receiver, audio features, bar code scanning, and more. (You do have to employ native Android/Java programming skills to achieve the integration.)

                      I wrote about achieving integration between EGL and native Android code and provide some sample code on my web site.

                      Go to dandarnellonline.com and click on the Software tab. Scroll down to "Two Peas in a Pod: Android and EGL" .

                      Now, the sample code on my site is for RBD 9 and it uses Dojo Mobile widgets for visual presentation. However, the underlying integration techniques work with EGL code that has no ties to Dojo Mobile. I do it all the time.

                      Dan

                       

                       

                       
                      • navana
                        navana
                        10 Posts
                        ACCEPTED ANSWER

                        Re: [RBD 8.0.3] : RUI Mobile

                        ‏2014-04-15T08:09:30Z  in response to dan_darnell

                        HI Dan,

                        Excellent, very interesting. I am going to try this out this week. Thanks for the details.