appcelerator

Mac Appcelerator Studio: An error has occurred

旧城冷巷雨未停 提交于 2019-12-11 12:40:05
问题 When trying to run Appcelerator Studio getting this error Ive tried to reinstall Studio with all libraries and caches, nothing works. OSX 10.10.4 (14E46) Java 8 Update 60 An error has occurred. See the log file ~/Appcelerator_Studio_Workspace/.metadata/.log. !SESSION 2015-08-20 19:53:03.688 ----------------------------------------------- eclipse.buildId=unknown java.version=1.9.0-ea java.vendor=Oracle Corporation BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=ru_RU Framework

Titanium Android: View not attached to window manager chrash

烈酒焚心 提交于 2019-12-11 11:55:07
问题 I have two views.In first view, I have a table view and I am displaying remote data in its cells. I am showing activity indicator while data downloading. Second view gets open when any of row is selected. When I come back to the first view, I am refreshing the table view by downloading remote data. But in Android, when I come back to first view and start downloading data, application gets crash due to activity indicator !!! Application crashes only in Android, its working fine in iPhone !! I

Requiring external JavaScript file

℡╲_俬逩灬. 提交于 2019-12-11 10:22:28
问题 After reading all the relevant answers in SO and posts in the Appcelerator forums I still can't get this to work: I have an application developed in Appcelerator, and I want to load an external JavaScript file in some of my controllers. My App structure is as follows: + app - assets - controllers - models + lib - IndicatorWindow.js ... Inside a controller I have the following code: var uie = require('lib/IndicatorWindow'); But when I run this on an Android phone I get: Uncaught Error:

Android SDK's on Appcelerator

强颜欢笑 提交于 2019-12-11 09:58:26
问题 I used to have a full working system with Genymotion and tishadow. I have Reinstalled Studio numerous times Reinstalled Appcelerator numerous times Removed all SDK's from Appcelerator Installed Android Developer SDK's numerous times I think I have gone through every permutation and still no working development environment. I prefer to use CLI with ST2 rather than Studio as I find it clunky and just a bit heavy of node calls with regular MacOSX beach ball attacks on my screen. So my main issue

Android app hangs on restart (Appcelerator Titanium)

梦想与她 提交于 2019-12-11 08:02:07
问题 I am making an app for Android. I encountered strange issue. Application works perfectly until it is closed with back button. If so, than after restart it is showing splash screen and becoming non-responsive. After some time dialog (if I want to close the app) may show. It happens with any code. For example: var myApp = {}; alert(1); alert(2); If app is closed in hard way (third button and swiping app out) than everything is fine. Problem occurs on every Android version both on device and

Titanium App Apple store rejection due to non-public API focus:

我的梦境 提交于 2019-12-11 05:23:55
问题 I have an appcelerator titanium app that I have summited several versions of to the Apple store for beta testing and have had approved. The most recent version was rejected with the message: Your app uses or references the following non-public APIs: focus: Asking for clarification they replied: Thank you for your reply. Our team has re-reviewed this app to ensure our findings were accurate, we found this app contains references to the following selectors: "focus:" was found in the method -

How to configure Android Push Notifications (GCM) in Appcelerator Titanium Dashboard?

不羁的心 提交于 2019-12-11 05:17:42
问题 I've tried to following the instructions Configuring push services for Android devices However, the steps mention 'Click Push Notifications on the left-side navigation' but they don't exist... Once you've created a Google API project with GCM enabled, you need to update your application's settings page in Dashboard with the API key and sender ID you generated. To configure Arrow for push notifications using Dashboard: Open Dashboard and select your application from the Apps drop-down menu.

Titanium iOS - Facebook SSO not returning to App

怎甘沉沦 提交于 2019-12-11 04:58:07
问题 I've recently added Facebook Single Sign On within my application using Appcelerator' Titanium. Which is working nicely but is failing to redirect back to my application automatically when presented with the "Already Authorized" facebook page. If the user clicks the "Okay" button within facebook the Application re-opens and works as per usual. I'm just looking to get rid of that extra step for users. Any suggestions? I've come across Objective C solutions such as : Does the Facebook iOS SDK

Titanium : Label over lapping issue

此生再无相见时 提交于 2019-12-11 04:47:23
问题 For Android I have two labels in a table row. I am trying to set these two label vertical but the firstLabel overlaps the second one. As firstLabel 's height is " auto " and it contains dynamic text e.g. 10 lines , 20 line. Due to dynamic height of firstLabel I couldn't set secondLabel 's top so it gets overlapped. I've tried all possible solution available on the SO and Appcelerator but couldn't find the fix. 1). I couldn't get height of firstLabel after or before adding it to the view,

APS Cloud Push - Payload is null

走远了吗. 提交于 2019-12-11 03:34:26
问题 Just upgraded my app to Appcelerator Platform and SDK 4.0.0. If I do a fresh install on my android phone, I get the following error. It behaves as if a push notification is coming in, but there is actually none. Any idea? [ERROR] : APSCloudPush: Payload is null! [ERROR] : TiApplication: (main) [4889,4889] Sending event: exception on thread: main msg:java.lang.RuntimeException: Unable to start receiver com.appcelerator.aps.GCMReceiver: java.lang.NullPointerException: Attempt to invoke virtual