Community Questions & Answers

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...

How to deal with white space in Alloy

Take the following code snippet: <View id='container'> <View id='child' width=100 height=100/> <View id='child1' width=100 height=100/> <View id='child2' width=100 height=100 /> <View id='child3'width=100 height=100...

Alert Orientation in IOS8

Hi, I am using IOS 8 ( iPhone 5s ) titanium sdk 3.4 OSX mavericks Even after locking the orientation to portrait from tiapp.xml and also locking windows orientation alert's orientation is not getting locked ! is there any solution for it ?

DeveloperPortal build failed

anyone else getting this build error? DeveloperPortal: Using pre-existing current store at URL (file:///Users/tomnguyen/Library/Developer/Xcode/DeveloperPortal%206.0.1.db) Just updated everything. Studio 3.4 SDK 3.4 Xcode 6.0.1

Right, left on imageView does nothing

I'm running Titanium Studio 3.3.0 on OS X and testing on Android 4.4.2 on a Nexus 5. I'm trying to get a next and back button to align left and right but they keep becoming centered. The relevant code is ~~~ var window = Titanium.UI.currentWindow; var...

How to debug lib/custom.js

I've added a lib/customfoo.js Inside it does exports.createCustomFoo = function(args) { ... } Inside my xml I put <CustomFoo id="foo1"></CustomFoo> Clean, delete build folder, run the project: [WARN] : Attempted to load...

Images in tab are not showed. Android device

Application type: mobile Titanium SDK: 3.3.0 GA Platform & version: android 4.4.2 Device: android samsung s4 Host Operating System: windows 7 Hi i have started with titanium last week. And i have a doubt i just simply get the default template in...

Platform Configuration Install

Hello, I'm new to Titanium, and wanted to develop for Andriod, Blackberry, and iOS. While installing Titanium, during the platform configuration install, only Andriod and Blackberry were being installed and configured. Is there a way to get the iOS SDK to...

Image is not uploading in server at android

Hi I have a problem in project that I'm trying to upload the image in server through json. Actually i'm getting the image from gallery after getting the image from the gallery I'm converting the image into base64 format and i'm trying to upload in server ....

transparent listview row ?

Hello is it possible to make lietview row become transparent not white on ios ? i am able to make the listview become transparent but the row's still white on ios any advice ?

Showing 1-50 of 63,529 1 2 3 4 5 61271