Difference of Native packaging between Sencha touch2 and PhoneGap

后端 未结 3 1133
-上瘾入骨i
-上瘾入骨i 2021-01-01 23:36

What is the difference of native packaging between Sencha touch2 and PhoneGap?

Many people use PhoneGap to natively package app based on Sencha touch, but I find tha

3条回答
  •  Happy的楠姐
    2021-01-02 00:16

    I had the same questions, I agree it's a real mess at first glance. Here is a very good article that "clears up confusion" quite well.

    To quote the gist of the article:

    Sencha Touch (and jQuery Mobile) are mobile web frameworks. You can use these technologies to create web-based, mobile apps. They don’t have access to any native API’s.

    You can use Sencha Touch and jQuery Mobile inside both PhoneGap and Titanium. If you decide your html/js is cool as a native app too, you can use either PhoneGap or Titanium to wrap a browser around your app and put it in the app store or marketplace. This is where, I think, the confusion comes. Putting your Sencha Touch or jQuery Mobile apps in a native wrapper doesn’t make it a native app. It makes it appear as if it is a native app. You might get some extra functionality from PhoneGap or Titanium API’s, but it’s still not necessarily a ‘native’ app. It’s a web app running locally on the device. It’s a great way to use web technologies inside a native-like area.

提交回复
热议问题