javascript - 如何部署钛工作室制作的应用程序?应用商店和安卓市场都有。为此需要做哪些事情呢?

标签 javascript iphone android appcelerator-mobile

我是钛工作室的新手。在此之前我一直在使用 X-code。我有一些问题要问。如果我的问题得到解答,那么我想从 Appcelerator 购买成员(member)资格以进行开发。请给我有关在 iPhone 和 android 中部署应用程序的详细信息....

  1. 这是否类似于“编写一次并在 Android 和 iOS 平台上运行”?
  2. 除了 Titanium 工作室之外,我们是否还需要做任何额外的事情才能在两个框架中运行相同的代码?
  3. 除了 Titanium 工作室之外,我们是否还需要做任何额外的事情才能将应用程序放入应用程序商店或部署到设备中?
  4. 应用程序的最终输出是什么?(与 Xcode 中的输出相同吗?如果不是,请提供详细信息)

请向我提供完整的详细信息,以澄清我的疑虑。

谢谢你,Sreekumar KU

最佳答案

以下是我的回答got from Kami on the Appcelerator Developer Center :

  • Its not entirely write once and run on both platforms, even tho titanium does a great job at making the same code work for both platforms. An iPhone just is not an Android. In most cases you will need to make seperate code sections for Android and iPhone. Which is not difficult to make. Just look at the titanium kitchensink project. This will learn you the basic with ease and shows you what titanium is capable of.

  • Also tweetanium, a twitter app made in titanium, is 1 app that works great on both iPhone and Android. Its an open source app so you could look into their code for examples.

  • There arent more steps to deploy or run on device. I havent gone to the studio version. But there will always remain an xcode project in the build folder. This you can open and then run on device or make an .ipa file the way you do it normally.

  • This one im still not 100% sure, but in the end you have an exacutable in Xcode and Java. Titanium compiles javascript code to their native code. If i recall on iPhone this was done on run time, but not so sure about that.

Correct me if im wrong somewhere, whole lot of info.

关于javascript - 如何部署钛工作室制作的应用程序?应用商店和安卓市场都有。为此需要做哪些事情呢?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6531182/

相关文章:

javascript - 引用错误: Can't find variable: goToByScroll using CoffeScript

javascript - onclick 不会转到 javascript 函数

iphone - 如何从 iPhone 中的 C++ 代码调用 C 函数?

ios - 如何更改 UIPageViewController 中页面指示器的背景颜色

iphone - (iPhone)如何使用AVAudioPlayer顺序播放声音?

android - 如何在 Firebase Phone Authentication Android 中重新发送短信验证?

javascript:将局部变量传递给匿名函数

javascript - 如何清空div

android - 当日期更改且未调用 onCreate 时更改数据库中观察到的行

java - Activity 重现和闪烁