Community Questions & Answers

Strict build

I'm currently learning Appcelerator are really enjoying the posibilities that it gives me. There is however one posibility that I don't enjoy, which is that the builder is allowing many of my errors to compile without even giving me a notice. My question...

[ERRNNO 2] Wrong directory

I got this error when I try to launch an emulator: ~~~ File "C:\Users\newpc\AppData\Roaming\Titanium\mobilesdk\win32\1.7.5\android\builder.py", line 15, in <module> from compiler import Compiler File...

Sharekit from Camera?

Is it possible to open Sharekit from a camera shot? I've added this code, but it seems to crash everytime it launches (sharekit key info removed): ~~~ var win = Titanium.UI.currentWindow; win.title = "Camera"; win.backgroundColor =...

Array of UI elements?

Hello, Is it possible to create a dynamically generated array of UI elements? For example, I'd like to download a list of string and attach a Titanium.UI.Switch to each string. I tried something like that but it didn't work: ~~~ var switchArray =...

camera in background in a view

hi, Id like to put the camera view in another view so that it doesnt take the whole screen and so that it is in the main page, I need the camera to act as a 'video background' for the page, I suppose it has to be in a view. I mafe a mockup of what I want:...

Walking the Window Hierarchy

Trying to write a function that gives a rough idea of window usage. What windows / images do you think this misses? Not meant to be precise, but a sanity check to dump the window tree without using XCode. function showResourceTree(startWindow) { var...

Posting to online MySQL

I have a bunch of code that is more or less not working. I'm trying to post info from my app to an online database. The database is up and running, and reports inserted rows, but I cannot get the app to send the data or receive a confirmation. The...

Android Emulator Launches... but not app

Just installed Titanium studio etc. I made my first sample app and launch it in the android emulator. The emulator comes up but it does not launch my app. When I click on apps I dont see my test app there. Any tips?

Problems removing XML nodes

Hello again, My problem is that when I want to delete an specific node from an xml document an exception is thrown. I am working in Windows7 with Titanium 1.7.5 and compiling in Android SDK 2.2 My code is somethink like this: ~~~ //the XML is read...

addAnnotatino Android bug

Hi, I found this topic a few times in the Q&A, but can anybody tell me if addAnnotions works on Android? I tried with 1.7.5 and 1.8 on the emulator and on device, but i get allways the same error: cannot find function addAnnotations So, what is...

CommonJS packages

Are CommonJS packages supported? If not, when will they be? They seem very important from OOP point of view, NodeJS implemented them: [http://nodejs.org/docs/latest/api/modules.html](http://nodejs.org/docs/latest/api/modules.html), so that could be good...

[Android] Application is not Closed??

Hello folks... i just notice something.. i dont know why is this happening but.. when I close the whole app.. it is still running in application.. and it has RAM.. although i closed my app..in my app.js.. i have exitOnClose.. also i see that RAM grows as I...

how to authenticate username and password

Hi i was trying to to do login page in titanium.In that im using aspx page to fetch values from sql server.bt it is nt cmg fr me can any one help plz and here is my code var curWindow = Titanium.UI.currentWindow; var scrollView =...

iOS5 back button no animation of main content

Hello, There is a bug in iOS5 where when tapping the back button in a window the main content of the previous screen is just show instantly but the navbar is animated. There is a ticket in JIRA about this but it was closed directly by Appcelerator and...

XML file Read

Hi all, I am trying to read the xml file and get element by tegName.But the problem is the xml file has two tags with same name. I want to access bot of them. here is the xml...

Terrible

Is there a specific reason this is the worst RIA app I have ever used? [jsFiddle - Bouncing Particles](http://jsfiddle.net/XTREME104/zgxKu/) looks fine in Safari, with a million tabs open in both windows, but the exact same code creates the worst...

Validating a Mobile User

I wish to create a php page that will receive variables and post them for viewers. That's the easy part thanks to the many examples and documents online. I'm not sure how to validate the user without asking for a username/password. What's the easiest...

Regarding webviews

based on research and a past development with phonegap, I realized that making use of CSS3/JQuery/HTML really slows down an app. That is why I went here to start working with appcelerator because I heard that this platform formulates a native-app feel in...

Showing 40,951-41,000 of 65,458 1815 816 817 818 819 820 821 822 823 824 8251310