Community Questions & Answers

Pass Details to Remote 3rd Party Form

Hey folks, I'm doing some research on trying to pass data to a form. What I am hoping to do is pass some data from my app into a remote webpage that I don't control. The remote page is a third party booking form which I would like to prefill with some of...

Facebook log in on iOS 8 seems to be broken

The following code: ~~~ var fbmod = require('facebook'); fbmod.appid = 1376404972593019; fbmod.permissions = ['read_stream']; fbmod.authorize(); fbmod.addEventListener("login",function(e){ fbmod.reauthorize("email",...

Strange issue with Base64 encoded string

I am trying to do a receipt verification for iOS. So I receive the purchase receipt no problem. I have to Base64 encode it and create an Object to send to my server with the base64encoded receipt as the "receipt-data". No problem encoding the...

SImulator failed to launch after ios6 upgrade

Hello: I updated XCode to 6.01 and iOS to 8.0 and Appcelerator to 3.4. When I tried to launch the iOS simulator, I received the following log entries: [INFO] : Launching application in iOS Simulator [INFO] : Focusing the iOS Simulator [ERROR] : ...

iPhone 6: Wrong app scaling?

Hey there, i just deployed my current Ti apps on iOS8 on an iPhone 6using the latest 3.4 master and noticed, that the screen appears to be scaled bigger than it should be. The problem is also noticed in the latest WhatsApp version as the fontSize seems...

listview pull to refresh example code ?

Hello guys i have problem with this example http://docs.appcelerator.com/titanium/3.0/#!/api/Titanium.UI.RefreshControl its good example and working fine but its for sections , how i can make listview use custom template + pull to refresh i really...

Dynamic picker for Android

I am trying to make a dynamic picker which is working fine on iOS but on android there's no chance, here is my code ~~~ function showPicker(data, lbl, parentView) { var picker_view; var pickerHeight = 251; var slide_in =...

Network Connection Lost on XHR request

Hello, I am using the 3.4.0 20140918 release to compile for iOS 8. I am using an XHR request to send data to a server, but I always get "network connection lost" responses in onerror. ~~~ Alloy.Globals.login = function(user, pass, lang){ var...

Alloy - decide which view to show on startup

I'm building a small app that requires a login screen. Once the user logged in once, the next time he open the app he'll be already logged in. In a classic Titanium project in app.js I used to check if the user was logged in, if he was open the main...

Titanium SDK version 3.4.0.v20140919113314 build errors

Running into this error when i try to compile my project: Titanium Command-Line Interface, CLI version 3.4.0-rc4, Titanium SDK version 3.4.0.v20140919113314 Copyright (c) 2012-2014, Appcelerator, Inc. All Rights Reserved. Please report bugs to...

Back Button Destroying Android Menu

Hello, I am using Titanium 3.3 and Alloy. I have an app that works fine for Android 4.2, but on Android 4.1 when I click back I lose the back button and any other buttons on the menu. For example, page 1 has a back button to leave the app and a preferences...

Remote images @3x - ios8/iphone6+

What's the recommended approach for dealing with remote hires images. i currently have images on s3 i pull into my app at runtime (@2x size), i use the hires flag on imageview. Will the hires flag work the same for @3x, assuming I put the @3x size in my...

Retrieve all possible properties of a UI object

Here is my scenario, I have a group of properties that I am trying to apply to a specific UI object, let's call it a button, but it could be any UI object. I am retrieving the list of properties from a web server so I can dynamically change the button...

Problems with Localization

I am using the exact same project as my colleagues, however, when I get to the step in the compiler of generating i18n files, it skips the "Compiling Localization Files" step. I have the latest dev version of alloy which we originally thought was...

ACS push AND invalid-sender-error Android GCM

ACS push AND invalid-sender-error Android GCM i have followed the steps to create titanium acs push notifications to the word how ever i am getting invalid-sender-error i have used the GSM API KEY and product no(FOR SENDER ID) provided by google in acs...

Handling iPhone 4 (Retina)

I am currently developing a cross-platform application. I have assets for the following android densities: res-long-port-ldpi, res-long-port-mdpi, res-long-port-hdpi, res-long-port-xhdpi, res-long-port-xxhdpi & not-long versions. I have non-retina and...

use $. prefix with a variable?

Hi Everybuddy, I was wondering if it is possible to use the $. prefix with a variable name? ~~~ var pickerType = "SomePicker"; var pickerName = pickerType.toLowerCase()+"Picker"; $.pickerName.setSelectedRow(0, sel);' //gives an error:...

Time Picker in Android gets wrong value

I have a picker with type Ti.UI.PICKER_TYPE_TIME that calls onTimePickerChanged() on change. Works fine on iOS but in Android, getValue() returns the previous picker value. For example, current value of picker is 1:30PM, when I scroll to 1:29PM or 1:31PM...

Remove Android ActionBar on Android 2.3

I am trying to remove the action bar from an Android app. I followed this guide http://www.appcelerator.com/blog/2014/08/hiding-the-android-actionbar/ however the custom style does not work on Android 2.3 devices because of the min-sdk 14 constraint. Does...

ScrollableView Question/Feature request

I always liked the ScrollableView component. Now, I have 4 views (pages) inside and I need to go from page 0 to page 3 WITHOUT showing page 1 and 2. I know there is a method "scrollToView(numberOfTheView)" but this one doesn't do what I'm...

Title of tableview

Hii, i have a Tableview and only is visible when i push a button. My problem is there are one table and 7 buttons and i need to change the title of the table when i push a button. In IOS runs ok but in Android no. What can i do?? Thanks PROG.xml: ' ...

Open Alloy Elements does not work

Hello, Somehow, Titanium does not always seem to recognize the corresponding files, according to the Alloy MVC structure. How can this be possible? The files are actually there. The items in the "Open Alloy Elements" menu are greyed out. Thanks!

Cannot use 3.4.0 RC SDK

Hi. I followed the steps in: http://www.appcelerator.com/blog/2014/09/announcing-our-ios-8-support-with-appcelerator-sdkstudio-3-4-0-release/ When I run 'ti sdk' I get the right SDK selected: Installed SDKs: 3.4.0.v20140918112758 [selected] ...

Aport Upload File Stats in Ram SDK 3.4.0

With Titanium SDK 3.4.0 and I think this happened in 3.3.0, specifically I'm using 3.4.0.v20140917120000 on iOS 8 if your upload a file and abort the file upload, the file stays in ram. If you let the file upload finish the ram is cleared no problem. When...

SSL user/pw problem when starting Titatnium Studio

Running OSX 10 10.9.4 and java 1.7.0_67-b01 and titatnium studio instal downloaded today. Unable to authenticate (get an SSL error) Curl command to test my login name & password is successful. Followed instructions from troubleshooting to get the...

Showing 251-300 of 63,795 1 2 3 4 5 6 7 8 9 10 111276