问题标签 [titanium]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
4191 浏览

iphone - 如何从钛启动邮件应用程序

如何从 Titanium 应用程序启动邮件应用程序?

我正在寻找相当于 HTML mailto: 链接,我可以在其中指定电子邮件,也可以在 windowView 中指定主题。

我没有使用 web 视图。

将要

0 投票
1 回答
830 浏览

javascript - 带有滚动和滑动的 TableView

我有一个 TableView,我可以在其中滚动查看所有行。但我也可以滑动所有这些行(当我滑动时,它会显示该行的一些选项)。

目前,我正在向表格视图添加一个滑动事件。当它被触发时,我会找到带有它的索引的适当行。我做我该做的。在 SDK 上它运行良好。

但是,在真机上,很难让行滑动。
滚动总是被触发。

不幸的是,我担心这可能是硬件问题,我无能为力。

0 投票
3 回答
4268 浏览

iphone - 如何在 Titanium 中画线?

如何在适用于 Android 和 iPhone 的 Titanium 中绘制一条线?

0 投票
1 回答
542 浏览

iphone - Is there a way to boost the speed of Ti.UI.TableView in Titanium for custom rows?

I'm using Titanium's appcelerator. I've seen the kitchensink example for tableView performance, but that's just for un-customized rows, at around 4ms a row on my 1G iPhone. The performance for 1.4.0 and 1.4.1.1 shoots up considerably when you have custom rows, like one with a picture and a label, to about 20ms per row at the very least. For about 250 rows, it's been taking about 4-6 seconds.

Is there a way to boost the speed of displaying rows in the tableView? I remember reading that it use to be faster in 1.3.2. Will it get faster in 1.5.0?

0 投票
3 回答
1550 浏览

android - 尝试为 Android 运行时出现 KitchenSink 工具/apkbuilder 错误

当我在 iPhone 模拟器上运行 KitchenSink 示例项目时,一切正常,但尝试为 Android 模拟器启动会产生错误:

无论我选择什么 Androig API(从 1.5 到 2.2 或从 API 1.5 到 API 2.2),它都会发生。我正在使用 Titanium Developer 1.2.1,titanium SDK 1.4.1.11

哪里有问题?

据我所知,Android SDK 和平台工作正常,因为我可以从不同的 IDE (Netbeans) 成功编译 Android 项目。

0 投票
2 回答
4240 浏览

iphone - 在 Titanium 中,如何从代码中执行按钮单击事件?

我试过了

错误消息是“无法调用对象 ti.modules.titanium.ui.ButtonProxy@44f61 中的属性单击。它不是一个函数,它是“对象”'

0 投票
1 回答
2442 浏览

javascript - 使用 Appcelerator Titanium 开发 iPhone 应用程序而不是 Apple 开发的优点/缺点

我有一个新项目,它是一个 iPhone 应用程序。为此,我有 2 种可能性来构建它:

  • 使用 Apple 经典风格(xcode、objective-c 等)
  • 使用Appcelerator Titanium并继续使用 javascript 作为界面来访问所有 iPhone 功能来创建我的应用程序。

*我注意到 Titanium 上没有像 XIB 这样的单独接口文件

由于我对 javascript 作为通用开发方式的未来抱有信心,因此我对钛金属方面有更多的期待,但我仍然不确定这是否是正确的做法,或者我是否应该坚持“经典” ' 创建应用程序的方式。

谢谢你的帮助

0 投票
2 回答
1177 浏览

iphone - 使用 Titanium Framework 针对 iPhone 和 Android 开发应用程序的最佳实践是什么?

我计划使用适用于 iPhone 和 Android 的 Titanium Framework 开发应用程序。有人可以根据您对框架的经验列出开发的最佳实践、该做和不该做的事情吗?

0 投票
2 回答
1281 浏览

ios-simulator - 钛显影剂

我正在尝试使用钛开发者 v.1.2.1,但我遇到了一些困难,模拟器没有吃午饭!对于 iPhone 模拟器没有任何反应,它就是这样,模拟器没有显示

对于 Android ti 说

有人有同样的问题吗?如何解决这个问题

0 投票
8 回答
10578 浏览

iphone - Titanium appcelerator 是否值得在 ipad、iphone 和 android 上开发基于相机的应用程序?

我想构建一个手机/平板应用程序,其核心功能是用相机拍照、查看图片和接收通知。我还想针对 iphone、ipad 和 android 平台。

Titanium appcelerator 引起了我的兴趣,因为它具有跨平台的吸引力。但是我很担心,因为我在 SO 和其他网站上阅读了褒贬不一的评论。我担心的事情是:

  • 低于标准的安卓支持
  • 相机支持不完全(例如 ios 4.1 HDR 功能)
  • 相机支持越野车

对我来说,噩梦般的场景是花时间在钛上,但后来发现它是一个主要的 PITA,然后放弃它并“原生”

请分享您的想法和经验。