Questions tagged [titanium-alloy]

An MVC-inspired Appcelerator framework for the Titanium SDK, with focus on rapid development/prototyping. Contains built-in support for Backbone.js and Underscore.js.

918 questions
2
votes
1 answer

Property list invalid for format: 200 (property lists cannot contain objects of type 'CFNull') Attempt to set a non-property-list object

I'm getting a weird error when using Ti.App.Properties.setList() method. Here you can see that i have some values. Console: [INFO] : id==2251378 [INFO] : category==[object Object] [INFO] : localteam.id==18650 [INFO] : …
2
votes
1 answer

How to get identifiers for Uielements using appium inspector for an app generated with appcelerator

I'm trying to get identifiers for Uielements using appium inspector for an app generated with appcelerator When I used Appium inspector to get UIElements IDs the result for both elements is similar to name: type: UIATextField value: label: hint:…
2
votes
1 answer

Unable to change backgroundColor of a label inside a TableViewRow onClick (android) - appcelerator titanium

I am trying to update the background color of a Label inside a TableViewRow. I am using a View/Controller for the rows, creating them in code and appending them as an array to the TableView. Using onClick of the TableViewRow and…
2
votes
1 answer

How to set request headers in titanium

Is there any way that i can set request headers in titanium?. eg: API = abcdefgb56432142345234534; my xhr: var url = "http://www.appcelerator.com"; var client = Ti.Network.createHTTPClient({ // function called when the response data is…
user3475082
2
votes
1 answer

memory management in appcelerator alloy application

I have 2 controllers. Controller 1: var x = 1; var y = ImageView; Controller 2: var Z = 1; var K = ImageView; I close controller 1 to go to controller 2 and want to know if I must set x and y to null to free memory.
bayethierno
  • 159
  • 1
  • 12
2
votes
3 answers

Alloy compiler failed

Hi I running my app on: Name = Microsoft Windows 7 Professional Version = 6.1.7601 Architecture = 64bit # CPUs = 4 Memory = 4176924672 Node.js Node.js Version = 0.10.29 npm Version = 1.4.14 Titanium CLI CLI Version = 5.0.3 Titanium SDK SDK…
Raghu
  • 174
  • 13
2
votes
1 answer

Get the row id in TableViewRow

The following code to print the "local" model in tableview, its working, now my problem is to fetch the row id or row detail by clicking the each row. I have attached the showDetail function on each row to get the row detail.But unable to get the…
madhurjya
  • 160
  • 1
  • 9
2
votes
1 answer

Unable to submit app for distribution (Titanium)

I have set up the relevant certifications and app , however when I build it for iTunes it will always build a development version of the app. I have tried to change the certification by doing this: Titanium iOS device - > Manage configuration but I…
bobo2000
  • 1,779
  • 7
  • 31
  • 54
2
votes
0 answers

Why does the click event not work in TableView set to editing?

In my Appcelerator Titanium iOS-App I have a TableView with different Rows representing a menu for my app. The first row is a link back to a different navigation level. On this row editable is set to false. When call setEditing on the TableView I am…
2
votes
1 answer

Titanium SQLite Database Migration : Is it possible to manually call the migration.up and migration.down functions in Titanium?

I am working on developing a module for Titanium project. Now I need to call the migration.up and migration.down call backs from my own function. Is it possible to do ? I tried migration.down(AnyObject) and migration.up(AnyObject), but both didn't…
user4226071
2
votes
0 answers

White color issue for JPEG remote images on Android

Since January 2011, we are using Appcelerator Titanium framework for our Android app. We recently decided to improve our "home" listView. Now, each row of this listView contains an imageView with a remote JPEG image. The white background color of…
Ribens
  • 208
  • 2
  • 8
2
votes
0 answers

Titanium iPhone app crash - assertion failed

I am developing an iPhone app using Titanium Alloy. But my app is crashing at random with the error message : assertion failed: 12F70: libxpc.dylib + 71768 [B870B51D-AA85-3686-A7D9-ACD48C5FE153]: 0x7d I am not being able to understand the…
bably
  • 1,065
  • 5
  • 17
  • 27
2
votes
2 answers

Titanium Alloy: Saving a View as image to the photoGallery?

So I currently have a window with a view (id="newPhoto") in which I put an image from a previous step. Onto this newPhoto-view I position a new view (id="content") via css with an icon and some text on it. Then I want to save the parent view with…
thms
  • 97
  • 1
  • 10
2
votes
6 answers

how to change hintText color in textField Titanium?

this is my code,and I want to change the hintText Color, how to do? "#email":{ width: '70%', left:'13%', font:{ fontSize:'20sp' }, color: '#fff', hintText:'请输入手机号', borderColor:'transparent', bottom:'2%', …
wind
  • 440
  • 4
  • 14
2
votes
1 answer

Create view as popup in Titanium

I'm trying to create a popup like this A user presses a button and a selection of options appear, which I call a popup. In the meantime the background goes black transparant. I've spend the last few hours online trying to find a good example of…
Falcko
  • 115
  • 1
  • 1
  • 10