Community Questions & Answers
How to get Facebook Access Token without logging in
I am having trouble finding a way to get a Graph API command to get information from Facebook. Here's what I'm trying to accomplish: I need the app to access public, and only public, event information. Here's the test...
Cannot access Support Portal
Was trying to report a bug with the videos from the CodeStrong conference but cannot access the Support Portal. If I go to the Web site and click Get Help --> Support Portal I get a login screen (although I'm already logged in). Re-enter login...
How can i access a variable in an event on android?
Hi, what I want to do works fine with iPhone, but not with Android. I have to say that I'm not an JavaScript expert, may be I do some basic thing wrong. This is my code snippet of file DatasetListController.js: ~~~ function...
Server error at accessing
Application type: desktop; Platform & version: Windows XP. I get the error message when trying to enter. It's the first entering to studio. Message: "The login server returned an error. Please consult http://goo.gl/evWsr for more...
Access controls generated inside of a custom event listener
Hi, My first time here so be gentle :D Basically i have this piece of code here: ~~~ exports.httpTest2 = function(file) { var xhr = Ti.Network.createHTTPClient(); xhr.onload = function() { Ti.App.fireEvent("generateControls",...
Access to the rows of the table is not correct. Android 2.1
Good day!!! I have: - Application type: mobile - Titanium SDK: 2.1.1GA - Platform & version: Android 2.1, - Device: Android emulator, Motorola Xoom and couple android devices - Host Operating System: Windows 7 - Titanium Studio: Titanium...
Objects properties can't be read after view is changed
I have 2 views, each one has a set of other views, let's say two text fields each. Now a window opens the first view using an animation. I write something on both text fields of that view and it works - the value property of each text field changes. Then...
Acess data inside picker
Hi guys ! So, I have a picker with 4 elements and I want to do, for exemple, an alert of one of those elementes. How can I do it ? I can't access to any of those elements and I need. ~~~ var data = []; data[0] = Ti.UI.createPickerRow({ title : '5...
Where to find Titanium.Filesystem.applicationDataDirectory locally?
I want to put some files that needs to be writeable into the Titanium.Filesystem.applicationDataDirectory directory. Where can I find this directory on my local hdd?
Get value of multidimensional array with string variable
Hi, i have next code: ~~~ var gasolinerasArray = new Array(); for (var c=0;c<gasolineras.length;c++) { gasolinerasArray[c] = { 'id': gasolineras[c].id_gasolinera, 'provincia': gasolineras[c].provincia,...
How to handle login sessions and cookies for mobile
Does anyone know a good tutorial for handling sessions and cookies for login on iphone using titanium appcelerator? I want to do the following things for my login, (1) open the app (login page as opening window and login for the first time. (2) login valid...
Accessing Ti.App.Properties from a Module (Java)
I am using push notifications and have not managed to have them work properly if the app is closed (because my callback function cannot run)... Therefore, I want to save the information and do something with it later when the app starts. What I want is to...
Preferred way to access variable inside eventlistener
What's the preferred way to access variable inside an eventlistener? I found there are many ways to achieve this and curious which method could be used to avoid memory leak ~~~ var win = Ti.UI.createWindow({ objImg: null }); var img =...
Package Links: Access denied
After packaging a Desktop App I get the download links. But the links do no work. I get fancy code within the browser including "AccessDeniedAccess Denied2DFAAA6ADE41A801vvbN5E+VdruYAjS+F57/....". I tried all packaging options. I also logged me...
Can't access variable?
Hello there. I am working with my little app and i smashed into a problem whitch i cannot solve. This is my code: ~~~ var Insect = m.extend({ name : 'Insect', size : Size.medium, imagePath : '/m/insects/insect.png', speed : 2, scoreValue :...
Accessing filesystem with php or js (desktop)
I want to make a very simple desktop app that displays a list of files in the users document folder (OS X). I have made a html5 + css3 layout for the listing. Thats was the easy bit. Now I have to write some code that looks in the document folder and show...
Network interface or Android "core" access.
Hi! In the Titanium, I can access or use the Android "core", i need to access network interface, like this code: ~~~ WifiInfo wifiInfo = wifiManager.getConnectionInfo(); int ipAddress = wifiInfo.getIpAddress(); byte[] bytes =...
Stop videoplayer from a different tab
Hi. I have a tabgroup with 3 tabs. 2 of them have a videoplayer streaming from 2 different sources. The 3d one is just text. What I want is: 1. When you go to the 2 tab, stop the videoplayer of the 1st one and start the video of the 2nd, and...
Top-Level Windows
In the Desktop API Docs: Titanium.UI.createWindow: http://developer.appcelerator.com/apidoc/desktop/latest/Titanium.UI.createWindow-method.html EDIT: Guess I can't post links: it states: > If this function is called outside of the context of a...
How To Access Files With PHP In The Resource Folder Of The Packaged & Installed Desktop Program?
[I asked a question here](http://developer.appcelerator.com/question/118390/fopen-unable-to-find-the-wrapper-app) about fopen() and the use of "app://", I am now guessing that this whole time I have been confused on its real use. It is NOT used...
Where does Ti.Facebook.session come from?
Hey, I feel like i'm asking folks to do my home work for me but I can't find any documentation on it and how to use it (so many little pieces parts). I'm logged in and `var session_key = Ti.Facebook.session.session_key;` gives me `[ERROR] Script Error =...
Access the first row in a tableView and do stuff to it
Hi, I'm currently developing for iPad with the latest Titanium 1.6.1. I know how to access a row from a tableView when clicking on it, like: function(e) and so on. Anyhow, I don't know how to access the first row of a table. Been trying everything, for...
Change views background on a page with multiple views
Hello I have created a floorplan based on an XML File. For each booth on the plan I made a boothView. Now when I have a list of all my booths on a tableview, and I click one and ask for the map, can I access this specific view by it's ID or something...
Access a file outside of the application sandbox (Android)
I'm searching a way to access a file at the root of the sd-card. It seems that Titanium.Filesystem.getFile is always relative to the path of the application directory. In fact the file I try to access is written by an intent...
Access a window childwindow as CurrentWindow?
Hi, I'm trying to access my childwindow of a "main-window" from a tabGroup, so I can remove the title from the childWindow when for example using "Ti.UI.currentWindow"? I create a window, and then adds it like this (opens...
Accessing child objects and functions inside an object.
I have something like this: ~~~ var data = []; data[0] = ... data[3] = createRowWithLabelAndTextField(rowName, initialTxtFieldText); ~~~ And the `createRowWithLabelAndTextField()` function is defined as: ~~~ function...
Exclusive Ruby Usage
Can you write titanium apps exclusively in Ruby or Python, or do you really need to use the custom Titanium JS in addition. Do the ruby and python libraries have direct access to writing a GUI?
Facebook Login Button Exhanging Session Tokens..
ok guys after doing some manual experimenting it seems that you can exchange session tokens for access keys by building a request url that should return the access key in Json format. So I plan to use a use a **Ti.Network.HttpClient** to build an address...
How and where to access an email's file attachment?
As title says... can it be done with an iphone app with titanium?
Can I work with titanium developer without network access or via proxy?
I can't get Login on Developer screen because I am behind a firewall and proxy on port 80, so how can I configure Titanium Developer to get in? Is it possible to work with, without network access, it means in off-line mode? thanks Flavio.
What is the idea of this section os Q&A, if no ones from appcelerator gives any responds???
sorry, but I left a question regarding how to get access on login screen when you hava a proxy with authentication. If I am going to test your tool and you expect to sell me that tool, I just wish to start working on it, so I need to log in. Therefore, no...
Showing 1-31 of 31