gpt4 book ai didi

apache-flex - 移动和桌面 AIR 之间的差异

转载 作者:行者123 更新时间:2023-12-04 12:24:41 25 4
gpt4 key购买 nike

我试过在黑莓论坛上询问,但没有运气......也许这里有一些黑莓/Adobe专家......

我即将开始一个使用 Adob​​e AIR/flex 的 Blackberry Playbook 项目,我有几个问题:

  • 如果我为 playbook 开发应用程序,相同的应用程序是否能够在桌面上运行?如果是这样会有什么不同吗?
  • 桌面库和移动库有什么区别?与桌面相比,我只能在移动设备上访问 SDK 的子集吗?
  • 我可以创建一个可以调用方法到位于我的服务器上的 JAVA 后端的剧本应用程序吗?

  • 谢谢
    菲尔

    最佳答案

    What’s different about developing a mobile application versus a web or desktop application? While many existing Flex concepts and patterns carry over directly to mobile development, developers will need to take into account the differences in interaction patterns, screen real estate, and performance characteristics of mobile devices compared to desktop computers. As a result, we recommend using the new mobile features in Flex to craft UIs specific to mobile devices, while sharing underlying model and data access code with your desktop or web application. Additionally, we recommend certain best practices when developing mobile applications with Flex, such as using ActionScript and FXG rather than MXML for creating item renderers and skins.



    取自 http://labs.adobe.com/technologies/flex/mobile/faq.html#differences

    根据我通常的资格声明:我没有尝试过。因为这对我很感兴趣,而且我有一些空闲时间,所以我将制作一个英雄应用程序并将其作为桌面应用程序运行,而不是作为移动应用程序运行,并在我运行后发回这里或找一堵墙。

    The runtime: Adobe AIR 2.5 on mobile devices The initial versions of the mobile development features in "Hero" and "Burrito" are targeted at creating standalone installed applications using the Adobe AIR runtime for mobile devices. By focusing on AIR, Flex can take full advantage of the integration AIR provides with each mobile platform, such as the ability to handle hardware back and menu buttons and to access local storage.

    Running on AIR Finally, it's important to realize that in addition to all the mobile Flex components listed above, you can also directly take advantage of all the APIs that are available in AIR on mobile devices—geolocation, accelerometer, camera integration, and so forth. While some of these features are not exposed as Flex components, they are easy to access directly using ActionScript. For more information on developing using the APIs provided by AIR on mobile devices, see AIR mobile docs.



    http://www.adobe.com/devnet/flex/articles/mobile_development_hero_burrito.html

    基本上看起来所有问题的答案都是肯定的。
  • 是的,很可能是的。 (当他们重复我在该主题上找到的所有内容时,Hero 中的控件是专门为触摸而设计的,考虑到胖手指与鼠标指针,我的猜测是它在桌面上的渲染会略有不同,这是最好的实际单独开发 UI,尽管 Web 服务/模型可以组合成一个共享库/项目)
  • 您应该可以访问提供给桌面的所有内容(加上来自 GPS/加速度计等的信息,但显然不会在桌面上获得这些信息),但没有几乎一样好的处理器,所以在桌面上可以工作的东西可能不会在性能较低的计算设备上,但对于低资源消耗的任务,这不应该是一个担心。
  • 是的,这是 Flex 的核心功能,我不明白如何在没有 Web 服务的情况下制作(有用的)RIA。要确认这一点,请看 Adob​​e TV:http://tv.adobe.com/watch/adc-presents/flex-mobile-part-1-beginning-a-mobile-application/ <-- 该应用程序正在使用 Web 服务(对于 Flex 来说,底层服务器技术是什么并不重要,只要它可以针对它发出 HTTP 请求,RemoteObject/AMFService 应该可以满足您的目的)
  • 关于apache-flex - 移动和桌面 AIR 之间的差异,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5434532/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com