Community Questions & Answers
Something is wrong in the documentation
In titanium, i am trying to get "local documentation" for some api in the code, but i keep getting page not found, and it appears like the help is trying to access a "localhost" service port. But i think i have not installed any local...
"backgroundImage" for searchbar
The documentation states that you would be able to set a background image for the searchBar view. My own tests, the Kitchensink and the rest of the documentation for the searchbar view make me doubt that this is actually accurate. Anyone know the facts?
Alloy List of Tags?
Am I missing where to find a list of all of the tags implemented in Alloy? The API only has a list of objects. I'm not finding the tags.
Ti.Media.camera is missing from the docs
http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.Media There is no reference to Ti.Media.camera. I found out about it after Googling and seeing people reference Kitchen Sink. As a new developer to the platform, having incomplete docs makes it...
Alloy: Kitchen Sink? Documentation? Samples?
I've created several apps using Titanium Studio the "traditional" way, and I'm pretty excited about Alloy. But I'm having trouble finding good examples, tutorials, documentation, etc. Where/how can I really sink my teeth into Alloy?
Cannot access Quick Start or any other documents?
Hi, New user here. I've been trying for an hour to load the Quick Start Guide and any other training documents, but keep getting a red/pink gear in the centre of my screen. Is there any other way to get the docs?? B.
Documenting javascript functions
Hi, I just figured out that there is a default way for documenting javascript functions in appcelerator titanium function, which i will demonstrate in the next bit of code: ~~~ /** * Function foo is a funny bit of function */ function foo() { ...
Bug in new documentation search - loses focus when cycling through
When using the search-bar on the new documentation (v3.x.x) the focus is lost after clicking the > (next) button to get the next set of results. I ***think*** it only occurs ***after*** the first click of the > button. Steps to reproduce: * Search...
Where can I find a list of HTTPClient e.errors...?
The documentation is a little sparse with regards to the xhr.onerror(e) values... I've just encountered one (now resolved with setTimeout): * java.net.SocketTimeoutException My questions: * Where can I get a list of the error messages? * Should I...
YQL Sample, keys, and misc.
So the kitchen sink has a great example of using yql, but when I use the same code in my application (slightly modified to work properly with a sible tab) it provides a error with NSDomain... Simply put, I cannot find any good documentation on using yql...
This here Q&A - why do the oldest results always appear first?
When I'm searching this Q&A forum the oldest results appear first, quite often these apply to older versions of Titanium and are no longer applicable - would it be possible to reverse this? Or to use a more sophisticated ranking algorithm that combines...
How to use JSDuck to document CommonJS modules?
I'm trying to run JSDuck in my project but it's not finding my classes. Example: ~~~ /** * * @param {Object} idOrProperties * @param {Object} callback */ function User (idOrProperties, callback) { } ~~~ When I run JSDuck on the folder it cannot find...
Offline documentation generation?
Can someone explain how to generate the pretty jsduck documentation or if there's a better generator to get offline docs than just running python docgen.py inside apidoc? Would be really helpful to have documentation offline for plane rides, etc.
Popover docs
From the documentation it shows this line in the example: ~~~ popover.show({view:button}); ~~~ but in the documentation for the show method it doesn't list any parameters. In the list of properties, there is no "view" property. What is...
JS Doc Generator for Titanium Studio ?
Hi, I'm looking for an efficient way to generate documentation from my javascript (titanium mobile) source code. Is there an easy way to do that and generate, for example, html pages out of my js files and their functions? Assuming that I am using a...
Problem accessing online documents and support website
I am having problems accessing the document site http://docs.appcelerator.com/titanium/2.1/index.html Tried opening the page with Chrome & Firefox and I only see the spinning sprocket icon. If anyone is able to access the page, which browser are you...
Very nice Appcelerator documentation
Hi everyone This is very nice project http://code.google.com/p/titanium-mobile-doc-ja/ I like how they write examples for each document with screenshots. Do you know anything like this in English?
Where can I submit errors I found in the docs?
Hi I find a lot of errors in the API docs. Example: http://cloud.appcelerator.com/docs/api/v1/messages/create "The thread_id of the first outgoing message is its own id." --> The id/thread_id's are different. Even in the example they are...
Q&A About This Q&A "Forum".
This question sounds like I'm being a jerk... because I am. This has got to be one of the worst forums/knowledge base/whatevers that I have, attempted to, use. What makes it worse is that there is no link to find help on using this thing. Can I use...
Getting Api documentation in pure json?
Hi Is there a json or some kind of text dump of the appcelerator API docs? So I can build something like http://www.codeboxed.com/titanium-api-browser/ ?
Global / App events list
Where can I find a list of all application level events, i.e. things like "application exits" and similar? I would assume that there are such events, but I can't find documentation for them. If there is no such list to link to, can someone...
Desktop documentation and Kitchen Sink
Application Type: Desktop Titanium SDK: Unsure how to find Desktop SDK OS: OSX 10.7.4 Titanium Studio, build: 2.0.1.201204132053 (c) Copyright 2012 by Appcelerator, Inc. All rights reserved. Build: jenkins-titanium-rcp-master-185 (origin/master) Date: 13...
"Building Mobile Applications with Titanium" book example error
At section "Coding Strategies", the example under "Creating High Quality Javascript Based Apps" section, "Namespaced pattern with selfcalling functions", app.js and ui.js, produce the following error: [ERROR] Syntax Error =...
Where can I find the JSON formatted API docs for the 2.0 SDK?
I'd like to know where I might be able to find the 2.0 version of the api-docs. Previously (and still available) the 1.8.2 docs can be found at: http://developer.appcelerator.com/apidoc/mobile/1.8.2/api.json, no later releases appear in this form.
On Windows XP, are the system environment variables "android_sdk" and "JAVA_HOME"
Very likely I'm missing something, or have misunderstood something, but it appears on Windows XP the system environment variables "android_sdk" and "JAVA_HOME" need to be set, and I'm not seeing this in the [documentation for the...
Turning off pointless "app" interface on 2.0 documentation?
My desktop web browser has support for tabs so I don't really understand why the documentation web site now has to simulate what the web browser's already capable of doing. Is there any way to turn this "app" interface off and just get back to...
MVC Style App Framework Sample
Hi, In the documentation, there is a sample of MVC App (http://docs.appcelerator.com/titanium/2.0/index.html#!/guide/MVC_Style_App_Framework), but when I downloaded of the sample zip file (scaffold.zip) It seems the code is outdated. Where can I find the...
Urbanairship.js missing
I am looking to include push notifications in my application and the documentation refers to a file that is now missing: urbanirship.js. Anyone happen to know where I can get that?
How to report API Documentation issues?
I found some documentation issues. How should I report it? The problem is in Titanium.Database.ResultSet reference. fieldCount is in Methods section although this is Property and getter for this property is getFieldCount() is missed from methods list.
Documentation for layout, heights + tableview events.
First off, this appears to be a great product, I've been hacking away with it for a few days now, but a few things have irked me, mainly around the lack of documentation.. I'd love to see an O'Reilly book on it !! 1. I can't find any documentation about...
How can I check if a UI element is already added to another?
I want to see if a child element is added to a parent view... is there some kind of undocumented property or method for this?
Box2D Documentation ? Tutorials?
I recently installed the box2d module for iphone and got the pinball game working but after that i have not been able to learn much since i don't know where the official documentation is. If you know where the official documentation / ANY TUTORIAL is...
Examples in API Docs
In the old docs we could go in and add examples. Is there a way to add / edit examples in the new docs? I am not finding it. I had done this numerous times in the old docs and felt that it helped us help the community. Especially while documentation is...
Best method to document applications
Hi everyone, since beginning creating mobile apps using Appcelerator I have been having a look around for options to comment/document my code such that documentation can be automatically generated in a doxygen like manner. I have found a few methods that...
jsDocs for Titanium Mobile
Hello, has anyone managed to create jsDocs (javascript documentation in html format) for their Titanium code? I was using [jsdoc-toolkit] (http://code.google.com/p/jsdoc-toolkit), but it gives me an error saying `Titanium` or `Ti` is undefined. Has...
Proper documentation for integrating a third party library into an iOS module?
Can anyone tell me where Appcelerator provides the proper documentation OR a working example of integrating a third party library into an iOS module?
Image folder structure
Could anyone please say a word about the image folder structure in Titanium?! How do I load an image which in: Resources/iphone/bla.png And Resources/android/images/bla.png ?? I am trying the folowing: ~~~ var ivLogo =...
Where are all the docs and examples?
I am new to Titanium, and I must say, I'm becoming rather frustrated with the docs, examples, etc. I look in the "Docs" section, but it seems incomplete to me. For example https://developer.appcelerator.com/apidoc/mobile/1.1/Titanium.UI.Button...
Is the documenation openly available for bug fixes?
Hi, is there a way to get and/or submit changes and/or bugs in the documentation? It could be improved A LOT in my opinion, and I know that others have complained about it as well... Is there a way to get in touch with the Appcelerator guys in any form...
Incoming links to API docs should maybe redirect to latest version?
Several times, I've found that Googling for something gives you a link to an outdated version of the API. Not a big deal if you notice, of course, but it would make more sense to just redirect the user to the latest version (maybe with a notice at the top...
Best practice with app-level event listeners (or NOT in my case).
After asking [this question](http://developer.appcelerator.com/question/122650/named-function-vs-app-event-listener) and working more with named functions, I have gone back to read [this...
updated documentation
the documentation could use a lot of new information, and it looks like the community is coming up with quite a few examples/explanations/scenarios that would be great for the documentation- so that the appcelerator team doesn't have to spend so much time...
Titanium.UI.TabGroup.open
Hi, I look in the documentation about Titanium.UI.TabGroup.open method and I read that it doesn't have parameter. But in KitchenSink I see tabGroup.open({ transition:Titanium.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT }); I wonder if this is just a...
Rename a module (Android)
I can't seem to find much in the way of documentation on how you change the name of a module from the default that comes with the example project, mod.test. Am I missing something? ----------------------------------------------------------- I have...
Comments in the doc?
Hello, I don't know about you guys but I personally often find myself looking for a bug in my app and discover 30 minutes later that some property or method isn't working at all but is still documented and some others not documented but working. So I...
PickerRow Selected Property
Setting a pickerRow's selected property to true (in the constructor object) seems to have no effect, I had to use picker.setSelectedRow(0, myIndex); This documentation is either misleading, or there is a bug in my opinion. Either way I've wasted 30...
Why isn't this documented in the API docs?!
Ti.UI.Button systemButton is missing. var add = Titanium.UI.createButton({ systemButton: Titanium.UI.iPhone.SystemButton.ADD }); http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.Button-object.html
What is the right code for nesting animations? Documentation example is wrong
This code from this page is wrong: http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.Animation-object ~~~ var view = Titanium.UI.createView({ backgroundColor:'red' }); var animation =...
JSS Documentation?
Hi, does anyone know whether there is a good JSS documentation available, anywhere? I just found a few lines in the appcelerator wiki. I completely refactored my app to use JSS. It works great on iPhone but most selectors/properties does not on Android....
Where is documentation for Titanium plus modules?
Where would I get my greasy little Indie hands on documentation for the Ti+ modules - specifically Barcode?