GWT/mGWT development and deployment for mobile apps

I am really confused by lot of links: mgwt, Phonegap, Cordova, gwt-phonegap, etc... Can somebody really help me with a few basic questions about all these?

  • Phonegap and Cordova are one and the same - They will help us to build a mobile deployable component using generated JS files. Am I correct?

  • Steps provided in the Cordova site to create an Android project and deploy needs generated html, JS and CSS content of our project. So we need to build these before we come here from our project. Right?

  • Now if I have a simple GWT project, can I build GWT client and deploy the generated web app content (.nocache.js and module html files) directly using step b (Cordova approach) without any changes. I understand that this itself is called a Phonegap project, which we do using Phonegap's Android tutorial

  • Now if I have used mGWT widgets in my GWT application, what is needed extra before I start using Cordova steps - mGWT compiled code can't be used directly in Cordova Phonegap project?

  • What is gwt-Phonegap? Why do we need this now? Can somebody really explain what exactly is happening using gwt-Phonegap in some simple words.


    Here are the answers:

  • Cordova is the open source code base, Phonegap is one distribution of it, like ubuntu is one distribution of the linux kernel.
  • If you want to deploy a GWT to an android device you need to compile your GWT app and place the output of the compiler in the www folder of the phonegap project.
  • see 2.
  • you just build your GWT as normal using mgwt widgets and the phonegap api (gwt-phonegap), compile it with the GWT compiler and copy it to the device.
  • Here is a video explaining the basic concept around GWT, Phonegap, mgwt & gwt-phonegap: http://www.youtube.com/watch?v=0V0CdhMFiao&feature=plcp

    链接地址: http://www.djcxy.com/p/44100.html

    上一篇: mgwt或gwt移动网站

    下一篇: GWT / mGWT开发和部署移动应用程序