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
0
votes
1 answer

Titanium SDK 3.1.1 [ERROR] TypeError: argument of type 'NoneType' is not iterable on building android app

I´m trying to run an android app with Alloy framework and got this error: [TRACE] Writing out AndroidManifest.xml [ERROR] Exception occured while building Android project: [ERROR] Traceback (most recent call last): [ERROR] File…
hardikdevios
  • 1,779
  • 14
  • 33
0
votes
1 answer

Joining model objects in titanium alloy

Suppose I have the model as follows. This represents a gym. I have an exercise and I have an exercise type. They have a many-to-many relationship Exercise { EXERCISE_ID NAME } Exercise_Type { EXERCISE_TYPE_ID …
0
votes
1 answer

Different URLs for Model and Collection in Titanium Alloy

Env: Titanium 3.1.3, Alloy 1.2.2. I'm using the following adapter for persistence on the models/collections: https://github.com/viezel/napp.alloy.adapter.restapi I have an API that has a different URL structure for a collection than it does a…
Justin Davis
  • 305
  • 1
  • 3
  • 16
0
votes
2 answers

How to extract data from returned facebook graph api hash

I have successfully logged into my android titanium alloy app. I have requested some data via the facebook graph api and on success i bring up an alert to display returned data. if (e.success) { alert(e.result); } the returned data is…
Hishalv
  • 3,052
  • 3
  • 29
  • 52
0
votes
2 answers

Titanium Appcelerator Social logins

Without using plugins like social.js, birdhouse.js or codebird.js.. Is it possible to create social logins, tweets and so on using authentication provider api docs.. Because javascript approach for google login is same for all web projects so if we…
Guts
  • 81
  • 4
  • 20
0
votes
1 answer

Android: Developer option "do not keep activities" cause Titanium apps to close

When I tried my android application developed in Titanium on galaxy s3 it was just opening for a second and than closing without any error. Realizing that if was fault of "Do not keep activities" under "Developer options", after some researches I…
linnal
  • 99
  • 1
  • 10
0
votes
0 answers

Am getting #100 Invalid parameter facebook error when using Titanium Appcelerator

Am trying to create an event in Facebook user and am using this code var startDate = new Date(2013, 9, 5, 17, 0); var endDate = new Date(2013, 9, 6, 17, 0); var title = "Name"; var description = "My description."; var data = { start_time :…
0
votes
2 answers

Titanium Alloy MVC Architecture

I don't get completly the architecture of Titanium Alloy. Maybe someone can explain it better or draw me a picture? :) What I understood is that it is a mvc architecture but not in the "basic" way... The Model is only a blueprint for the intern…
fr34ky
  • 3
  • 1
  • 2
0
votes
2 answers

How to use UI object inside an included view in Titanium Alloy

I have four files that look similar to these: index.xml
Sparragus
  • 883
  • 1
  • 9
  • 24
0
votes
1 answer

Titanium Alloy using jquery

Am new to Titanium Appcelerator and am using Titanium Alloys to develop my Mobile App Module. As I read in Titanium docs, Alloys have built-in support for underscore.js and Backbone.js. Is it possible to use jquery to develop apps with Titanium…
Guts
  • 81
  • 4
  • 20
0
votes
1 answer

Titanium- JavaScript : How to set check mark of a particular row if the values of row existed in a selected array

I was very new to titanium and java script I have populated a table view with an array myArray as follows $.table.setData(myArray); in that myArray contains JSon formatted values like (title:value1, title:value2) And i have an another array…
user2696469
  • 101
  • 2
  • 6
0
votes
1 answer

Filtering a collection in Titanium Alloy

From one controller (Convos) I fire up a Messages controller. I pass in an id, and am trying to use that id to filter which Messages are bound to the new view. For some reason, the filtering is not working, and all Message records are being shown.…
Benjamin Allison
  • 2,134
  • 3
  • 30
  • 55
0
votes
1 answer

How to load an Alloy project in Titanium?

I am new with Alloy in Titanium. I see a lot of Alloy's project in GitHub but i dont know how to load into my workspace. I download a file's structure like this: assets (folder) controllers (folder) models(folder) styles (folder) views…
Panecillo
  • 43
  • 2
  • 8
0
votes
1 answer

Titanium, adding a view to a windows view

So i have file1 which is:
Mikecit22
  • 157
  • 1
  • 14
0
votes
1 answer

Titanium Alloy: get element (node) by tag- or classname

How can i get an element collection by tagname or classname in alloy? Are there javascript equivalents on a object (I know its not on the controller or $) like .getElementsByTagName() and .getElementsByClassName()? Or how can i retreive a xml…