Titanium、PhoneGap 中的 UI 感觉和外观与原生相比

发布于 2024-12-15 04:34:26 字数 518 浏览 2 评论 0原文

我即将决定以何种方式推动我们的智能手机发展。 我读过很多关于这些技术的文章。我还创建了测试应用程序,但希望 100% 确定我做对了。

  1. 我无法在 PhoneGap 中创建与本机应用程序完全相同的外观和感觉,因为它在 WebView 控制器中运行。网络的外观和感觉是我用这项技术所能得到的。正确的? (在我用 PG 创建的示例应用程序中,外观可能相似,但是当我单击按钮时有延迟,并且动画不像本机应用程序中那么流畅)

  2. 最新的 Titanium 似乎已经改变了其方法WebView,以弥补本机应用程序外观和感觉的缺乏。我的问题是(我自己没有测试过)。我可以使用 Titanium 创建与本机应用程序完全相同的外观和感觉吗?

确切地说是关键词。我的意思是,如果应用程序是用 Titanium 创建的,人们能分辨出区别吗?因为我可以肯定地说该应用程序是用 PG 创建的。

最终目标是用户体验,人们感知到这一点,而在智能手机上,我认为任何网络化且被认为是应用化的东西都是糟糕的用户体验。

谢谢

I am about to decide which way to push our smartphone development.
I have read numerous articles about these technologies. I have also created test apps, but wanted to be 100% sure that I get this right.

  1. I am not able to create EXACTLY the same look and feel like native app in PhoneGap because it runs in WebView Controler. And the webish look and feel is as far as I will get with this tech. correct?
    (In the example app I have created with PG, the look might be similar, but there is a delay when i click on buttons and the animation is not so fluent as in native apps)

  2. Latest Titanium seems to have changed its approach to WebView, to remedy that lack of look and feel of native apps. My question is (I havent tested this myself). Can I create EXACTLY the same look and feel of an native app with Titanium?

EXACTLY is the key word. I mean can a person tell a difference if app was created with Titanium? because I can definitely tell that app was created with PG.

Final goal is the UX, ppl sense this things, and on smartphones anything that is webish and is suppose to be appish is a bad UX i believe.

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

萧瑟寒风 2024-12-22 04:34:26

与 PG Titanium 相比,UI 体验更加原生,但对于 Android 来说有点问题。因为它最初是为 IOS 设计的。

Android 版的 Titanium 有很多问题,可能会让你陷入困境,你必须想出解决方法,如果你找不到任何解决方法,那么你就会陷入困境。

但如果你同意这一点,我可以很容易地建议钛是一种可行的方法,尽管它几乎是原生的(不完全是),接近于完全。我认为普通用户不会理解钛。

Compared to PG Titanium is more Native like UI experience but it's kinda problematic for Android.Since it's originally intended for IOS.

Titanium for Android is pretty buggy and can mess you up and the thing that you have to come up with workarounds and if you cant find any then you are stuck.

But if you are okay with that and i can easily advise that Titanium is way to go though it's nearly native (not exactly) which close to exactly.I dont think an average user would understand Titanium .

探春 2024-12-22 04:34:26

2)是的,因为钛使用原始的UI。您的 javascript 代码被包装到创建本机元素的本机 Objective c 代码。唯一的限制是您的灵活性不如您自己编写的真实本机代码。但您可以编写本机模块并将它们添加到您的项目中。因此您也可以使用自定义 UI 来扩展您的项目。

2) yes, since titanium uses the original UI. your javascript code is wrapped to native Objective c code that creates native elements. only constraint is that your are not as flexible as with real native code written by yourself. but you can write native modules and add them to your projekt. so you're able to expand your project with custom UI too.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文