titanium

Downsides of using Appcelerator Titanium (or equivalent)?

巧了我就是萌 提交于 2019-12-03 08:49:55
At our company there is a huge push for cross-platform (iOS and Android) development. Appcelerator Titanium is being considered (and seems to be the only thing that's being considered) to achieve multi-platform development without extra development time. Everyone here can think of reasons to use Titanium. For reasons against using Titanium I guess the performance of the resulting "native" app from Titanium may not be as good as an app written in Objective-C for iOS. How significant would the difference be? Are there other reasons to not use Titanium (or equivalent)? Note: I may write Titanium

Titanium Android module upgrade to SDK 6.0.0

一曲冷凌霜 提交于 2019-12-03 08:07:48
I am trying too recompile my old modules to 6.0.0.GA sdk as its mandatory to make it work on 6 and above sdk. But I am not able to build it as its giving error. Development environment: Android NDK r13b Titanium SDK 6.0.0.GA Appcelerator studio 4.8.0 CLI version 5.0.10 Android SDK 23 I am getting this error : BUILD FAILED /Users/krishna/Library/Application Support/Titanium/mobilesdk/osx/6.0.0.GA/module/android/build.xml:347: The following error occurred while executing this line: /Users/krishna/Library/Application Support/Titanium/mobilesdk/osx/6.0.0.GA/module/android/build.xml:302: exec

SetupDiGetDeviceProperty usage example

匿名 (未验证) 提交于 2019-12-03 03:06:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Can anybody provide me with an example of using SetupDiGetDeviceProperty ? 回答1: The following code #include #include // for GUID_DEVCLASS_CDROM etc #include #include // for MAX_DEVICE_ID_LEN, CM_Get_Parent and CM_Get_Device_ID #define INITGUID #include #include //#include "c:\WinDDK\7600.16385.1\inc\api\devpkey.h" // include DEVPKEY_Device_BusReportedDeviceDesc from WinDDK\7600.16385.1\inc\api\devpropdef.h #ifdef DEFINE_DEVPROPKEY #undef DEFINE_DEVPROPKEY #endif #ifdef INITGUID #define DEFINE_DEVPROPKEY(name, l, w1, w2, b1, b2, b3, b4, b5,

Titanium HTTPClient returns too 'fast'

匿名 (未验证) 提交于 2019-12-03 02:27:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have the following function: getTasks: function() { var taskRequest = Titanium.Network.createHTTPClient(); var api_url = 'http://myawesomeapi.heroku.com/users/' + Ti.App.Properties.getString("userID") + '/tasks'; var tasks = []; taskRequest.onload = function() { var response = JSON.parse(this.responseText), len = response.length, i = 0, t; for(; i < len; i++) { task = response[i]; var newTask = {}; newTask.rowID = i; newTask.title = task.title; newTask.description = task.description; newTask.id = task.id; newTask.hasChild = true; tasks

Recreating this animation in Titanium SDK

徘徊边缘 提交于 2019-12-03 00:50:39
I was previously developing my application in Xcode but decided to move over to Titanium to allow for Android development. I'm still getting used to Titanium so I'm running into some problems when trying to rewrite my app. For instance: how would I go about recreating this animation in Titanium? Basically I have UIView that contains a MKMapVIew, a UITableview and a button that toggle between them. Any help is greatly appreciated! http://www.screenr.com/2kts Sagar B. You can use this code to flip window in ios and android both. Create two animation objects var anim_minimize = Titanium.UI

appjs - compile into single executable?

≯℡__Kan透↙ 提交于 2019-12-02 21:14:04
I've spent all night trying different tools for building cross platform desktop apps via html5 and so far appjs seems to be perfect. I've only been playing around with the windows executable-based demo project but I'm wondering if there is any guide or tutorial on how to convert the project to cross platform executables (single files) instead of the appjs loader executable with all the sources in a subfolder. I've also tried adobe air however css animations is beyond poor, slow/choppy (might be doing something wrong not sure). A year or so ago I was tinkering with titanium however they've

Appcelerator vs Android SDK

♀尐吖头ヾ 提交于 2019-12-02 17:33:58
I have been looking at appcelerator it seems pretty fine! Without a doubt, one of the advantages of appcelerator is its support for multi-platform. I am interested in building an android app and maybe a iphone app later on. So it is not crucial to support multiple platforms at the moment. If you disregard supporting multiple platforms and just focus on android development. Is appcelerator still advantageous? Does it lack any features of "Android sdk"? (When I say "Andorid sdk" I mean development with Eclipse with native Android sdk, if it makes any sense) We looked at Appcelerator when

changing Android picker font color on titanium appcelerator

北慕城南 提交于 2019-12-02 17:30:24
问题 I am using a picker on my application of type time picker. The picker works fine on iOS devices, however when I go to the android application, it appears, but the font color is white, and cant see the numbers. I do not want to change the background to a darker color because it doesnt match the rest of the application and wont be matching the ios app. I was wondering if there is a way to change just the font to black or gray color. I have already tried some of the solutions posted, and

Titanium Developer

折月煮酒 提交于 2019-12-02 15:59:26
Titanium Developer 是跨平台的开发的程序,虽然还不是一个完整的IDE,但是它提供的跨平台编译能力以及创建桌面、手机应用的能力确实令人耳目一新。 根据站点的介绍,这个开发平台的重要特性包括: 支持创建Windows, Linux, MacOS平台的原生桌面应用程序; 支持创建Android, iPhone平台的原生手机应用程序; 支持使用JavaScript, PHP, Python, Ruby等多种脚本语言编程; 支持HTML5和CSS3; 支持使用基于HTML的DOM模式编程以及支持基于Titanium UI的编程; 支持几乎所有的主流AJAX库,如jQuery,Entourage,Dojo,Yahoo YUI,Prototype等; 支持项目创建、编译、调试、分发,但是不支持源代码的编辑,而需要在外部的程序中进行; 截几张图看看 helloTitanium2 就是部署在android上的小程序 来源: oschina 链接: https://my.oschina.net/u/125520/blog/16537

Appcelerator Titanium: Facebook Image Upload fail

泄露秘密 提交于 2019-12-02 15:03:40
问题 i have an error with the Image Upload from Facebook in my Titanium Software, everytime i want to upload an image from my App i get this: Fail: REST API is deprecated for versions v2.1 and higher But if i try the same code in the KitchenSink example app, it works perfect: var xhr = Titanium.Network.createHTTPClient({ onload: function() { // first, grab a "handle" to the file where you'll store the downloaded data var f = Ti.Filesystem.getFile(Ti.Filesystem.applicationDataDirectory,'mygraphic