Community Questions & Answers

UTF8 and special characters

I want to create an app where I will use special characters such as in romanian language. The data comes from a mysql db through xhr, database field is in utf8, my php file adds a header with utf8 charset, the array I'm sending is utf8 encoded but on the...

how to pass soap header

Hi , i am calling a web service using Ti suds client now to authenticate for web service it needs a soap header with parameters how to pass soap header in this pls help . Somesh

iPad: curl effect with new windows, not just views

Hi, I have a standard iPad SplitView with a table at Master. At a click on a row I want to load a new JS-file into the DetailView. And when I click on another row then the detail-window should be replaced with a new file using the curl_up-transition (like...

Multiple read event on socket

I would have this question: if a Bobjour socket receives simultaneously events 'read' can properly manage them all? for example when sending multiple messages from multiple devices, or in the case of a touchmove to another device that shows his drive?...

Youtube player

Hello. I'm trying to reproduce a video from youtube. This is my code: ~~~ var youTubeVideoID = 'r70UpNT_ZUc'; var embedCode = '<html><center><object width="310" height="240"> <param name="movie"...

Push Notification Help Please

I am using Urban Airship to implement push notification in an app. All is going well, the app registers itself for push notifications and I can send a notification and display an alert. I want the app to display a specific page after the alert is...

How do I paint something on top of the navBar?

I need to put the company logo on top of the navBar but I dont have a clue of how to do this. I have tried to create a window that contains another window so the outer window has the logo and the inner window has the navbar but the only thing I get is the...

how to get value from label in rowTable?

hello, i create table with rows that each row have 3 Label with some text value. i want when i have swipe event go to specific row and get the value from specific label. i try this but it not work... ~~~ tableview.addEventListener('swipe',...

Touch Events through Webviews

So I've seen this question asked before, but neither of those anwsers have helped me solve this problem yet. I used the Code to draw through a webview "html5/javscript" combo. While this works on the simulator (and a android phone, although I...

Android: Updating label when window is focused

From what I've read its not possible to use windows focus in android. YIKES! Thats a biggie. So if I have this situation, how can I resolve the issue. i'm in a current tab in Win1. I click through to Win2 and do something that sets a property value of...

apkbuilder.bat deprecated ... see --help

Can somebody please explain this to me? Do I care about it? What "--help" is it referring to? ~~~ [ERROR] C:\android-sdk-windows\tools\apkbuilder.bat [TRACE] THIS TOOL IS DEPRECATED. See --help for more information. ~~~ Thanks in advance :)

what happened to native templating?

i see in titanium 0.8 and 0.9 that there was native templating - so you could write small snippets of json which could "template" your table row views. I'm tempted to write my own DOM parser that can generate UIViews from javascript...

Multiple Images and their events

I am adding 3 50 x 50 png files in imageview. I want to call different click event for them. When I create multiple imageView objects, it does not fire click event for different images, instead it calls the last imgView event. How can resolve this issue?

How to use Titanium.Monkey

I am loading an external file from the internet and I believe to access Titanium functions you have to use "userscripts". So, how do I access a function inside my userscripts folder? I have created a JS file with a simple function to test out...

Titanium Desktop 1.2.1 and Flash

I am running Titanium Desktop 1.2.1 on Mac OS 10.6.4 and flash (such as YouTube) will not display in the windows. The sound plays, however no video is shown. I believe this is a bug that needs to be fixed. When can we expect an update to Titanium Desktop...

why do you use titanium for desktop app?

Hi I am currrently writing a uni dissertation on the different methods of creating desktop apps. I am looking at titanium as one of these methods and was hoping to get some feedback as to why developers use this as opposed to Adobe Air? Also it would be...

webview controls help... please

I am using a webview to open a ticketmaster page and want to add the webview controls functionality like in the Kitchen Sink example. I am using the below attribute to enable controls, but am having trouble adding the rest and making it work...

Dynamic TableView not rendering

Hi there, I have a strange problem with a TableView. I'm dynamically adding TableViewRows to it in response to user actions. This works fine on the iPad simulator, and almost works on the device itself. However, on the device the first time the...

ScrollableView for iphone/android

Hello, I have a question concerning the scrollableView(), it's working but I can't have the effect that I really want to have, see what I have here : http://newsletters.stage.lbigroup.be/titanium/have.gif What I would have...

How to test analytics

I get this error msg: "We can’t find any info for that app! This might be because your app hasn’t been packaged for production—apps that are being tested or debugged don't log analytics data." However, how do I test my analytic tracking my...

click_button

hi, i am new with appcelerator so may be question is little bit stupid but i put one button on image view and i want to give click event on button. What should i write to give click event on button which i put in imageview. the code is, var image1 =...

Showing 40,951-41,000 of 47,721 1815 816 817 818 819 820 821 822 823 824 825955