appcelerator

Empty array after adding elements using Titanium Appcelerator mobile 1.7.2

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-24 03:05:31
问题 I'm using Titanium Appcelerator mobile API 1.7.2. When creating an array, I'm getting some odd results. Is it my syntax? container.textBoxArray = new Array(); container.textBoxArray[0] = createPasswordTextField(options, '0%'); container.textBoxArray[1] = createPasswordTextField(options, '25%'); Ti.API.log(container.textBoxArray == null); Ti.API.log('len: ' + container.textBoxArray.length); The results of the output are 0 (for false) and 'len: 0' respectively. Anyone know why? Adam Edit:

Apple’s World Wide Developer Relations (WWDR) intermediate certificate is not installed

荒凉一梦 提交于 2019-12-24 02:16:27
问题 I am not able to publish my app (AdHoc) via Appcelerator Titanium today, I started to get this error: [ERROR] : Apple’s World Wide Developer Relations (WWDR) intermediate certificate >is not installed. [ERROR] : This will prevent you from building apps for iOS devices or package >for distribution. I checked online and installed the required certificates and even restarted the mac, I still can't build. This is my keychain entries: Any idea how to fix this? 回答1: This bit me today as well. See

Appcelerator login API getting error in response Unexpected identifier

此生再无相见时 提交于 2019-12-24 01:36:08
问题 I am using Appcelerator iCloud·Cloud.Users.login·API its callback is giving me following response: {"success":false,"error":true,"message":"JSON Parse error: Unexpected identifier \"An\""} I am stuck on the things and not able to move forward, Our live App users on App Store are also affected from this. Problem comes when we open Appcelerator Titanium project from Xcode and build the app from there and run on iOS simulator or device. Here is the code which I am using: Cloud.Users.login({

Opening Camera Instance from a Web App

僤鯓⒐⒋嵵緔 提交于 2019-12-23 05:14:25
问题 Is it possible to open Camera instance from Web App? I have a Web App. displays something, and I want the user to be able to Take a picture and send it to the server. How can I achieve this? 回答1: Using cordova apis it's easy Check out the following code sample: JS: // A button will call this function // To capture photo function capturePhoto() { // Take picture using device camera and retrieve image as base64-encoded string navigator.camera.getPicture(uploadPhoto, onFail, { quality: 50,

Alternative ways for developing for Android

巧了我就是萌 提交于 2019-12-23 04:29:43
问题 I am an Android developer. I know of a few cross-platform development tools such as Rhomobile Anscamobile's Corona SDK Phonegap Titanium Appcelerator Google App Inventor. If you know any tools apart from the ones I have listed please reply. Thanks in advance. 回答1: Of course there is Monodroid... 回答2: Sencha Touch 回答3: Air for Android Monodroid Android scripting http://google-opensource.blogspot.com/2009/06/introducing-android-scripting.html 回答4: App Inventor is fun. This is what I have 回答5:

No Android SDKs were found under the specified SDK location

喜你入骨 提交于 2019-12-23 04:03:39
问题 I tried using Titanium for the first time, but even if I keep giving him the path to my SDK folder, it tells me that it doesn't found it. I created some user variables as I found on the net, but nothing works ANDROID_SDK = D:\Program Files\Android SDK\android-sdk-windows JAVA_HOME = C:\Program Files\Java\jdk1.7.0_75\bin PATH = %JAVA_HOME%\bin;%ANDROID_SDK%/tools;%ANDROID_SDK%/platform I also tried to follow this http://docs.appcelerator.com/platform/latest/#!/guide/Errors_Configuring

No Android SDKs were found under the specified SDK location

爱⌒轻易说出口 提交于 2019-12-23 04:02:50
问题 I tried using Titanium for the first time, but even if I keep giving him the path to my SDK folder, it tells me that it doesn't found it. I created some user variables as I found on the net, but nothing works ANDROID_SDK = D:\Program Files\Android SDK\android-sdk-windows JAVA_HOME = C:\Program Files\Java\jdk1.7.0_75\bin PATH = %JAVA_HOME%\bin;%ANDROID_SDK%/tools;%ANDROID_SDK%/platform I also tried to follow this http://docs.appcelerator.com/platform/latest/#!/guide/Errors_Configuring

Appcerator - Android 6 image don't load

梦想与她 提交于 2019-12-23 02:25:10
问题 External images don't load in image view in Android 6, using de sdk 5.1.2GA Any tip ? This error in console: Exception:java.io.FileNotFoundException $.img.image = "http://matematicazup.com.br/wp-content/uploads/2014/03/prof-marcelo-ferbat-perfil-300.png"; 回答1: There is a JIRA-ticket regarding this issue (https://jira.appcelerator.org/browse/TIMOB-19899) which has been resolved. The fix is included in Titanium SDK 5.2.0+. Thanks! 来源: https://stackoverflow.com/questions/35315532/appcerator

app icon is missing for iTunes app accelerator in Xcode Organizer (appcelerator)

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-23 01:46:16
问题 When I build my titanium app in appcelerator, the app icon is missing from the organiser when I build it for app store submission How can I resolve this thanks Edit: In itunes connect, this is how it appears after I select the build: Icon is missing. 回答1: Yes we need to have the iTunesArtwork(512X512) and iTunesArtwork@2x(1024X1024) in the folder Resource->iphone-> here we need to have that 2 files. 回答2: I've met the same problem recently. I don't know the real reason behind that, but I find

Unable to Open Appcelerator Studio after fresh Install

吃可爱长大的小学妹 提交于 2019-12-22 18:49:12
问题 I am stuck with an issue. I have installed the Appcelerator studio on my Macbook from Appcelerator dashboard and it was installed successfully. But when I try to open it, below message appears. I also tried to install using the command-line but no success. After opening the log file mentioned in the message I found below log !ENTRY org.eclipse.osgi 4 0 2018-03-06 23:19:28.145 !MESSAGE Application error !STACK 1 java.lang.RuntimeException: Application "com.appcelerator.titanium.rcp.application