Community Questions & Answers
Buttons in toolbar can't have background changed?
The button has the correct images when initially rendered... and the click event fires... and e.source is the button and the label changes.. but the background images will not change as they do in the kitchen sink app... the only substantial difference I...
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...
Java Error Loading Preferences? also [ERROR] apkbuilder.bat?
I'm having a problem with getting it all to work. I've installed everything (I think) and when I try to test anything in the Android emulator, a Java window pops up saying 'Error Loading Preferences'...wait now... I was about to say that the emulator...
Automatically opening a new window does not render controls
I want the user to view a "My Account" Section, but if the user is not logged in then they should be forwarded to the "Sign In" page. My code is opening the correct page, but does not render any of the controls on the sign in page. My...
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?...
evalJS very slow. Is this a emulator-only issue?
Hi having not a real Android device to test applications, I ask you if one of you has ever experienced that sending a JS with evalJS to a webview is working, but it is very slowly. It is slow on the emulator, let's say, if I have a simple javascript...
Specific App Store process for Applications developed using Titanium?
I am planning to release an App using Titanium in App store. Should the Applications, developed using Titanium go through any special Approval process? Should I do anything special to submit an App to app store, if I use Titanium?
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...
System Icons on Android
Hello, **How to put a standard system icon into an option menu item on Android?** I found this...
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...
Navgroup, change orientation, window shows
Is this possible? I can not get work. <img src="http://darkant.com/files/titanium/windows.jpg" /> And when I got it, that window remains in the entire application and guidance that the event runs on all navigation.
Uploading photo and location and info to server ? How to ?
Hello, I am making an app where people who succeed can place their info on a wall with their picture, location, name and comment. Does somebody know what I should use best to store that info and how to do it ? I would like to show the info than per...
Live Radio streaming
Hi, I am posting this question third time but still no one give me clue what should I do to run live streaming radio aacp file, here my code var url = "http://demo.icy.ast.com/na-live-64"; var streamer =...
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...
Crashing on iPhone with Outlook Contacts
My app is crashing when I select an Outlook contact (e.g., synched from an Outlook account) using the Kitchen Sink code or other code. The code works fine for "All from my Mac" contacts. ~~~ // Way...
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 :)
Grid view is Possible or not?
Is there is any method is available to create grid view in titanium?
Large image viewing in Android
I have a large image, a map of a trade show floor (1159X1014), that I want to view in Android, but I am having some issues. I first tried putting the image in a imageview within a scrollview, but ran into the limitation that the scrollview only scrolls...
Streaming Radio
Has anyone had luck streaming .m3u & .pls
Console spams masses of strange, non JScript related warning lines
About 50 lines... It started when i added a Webview. I used the same Window.js containing the webview before and got no warnings, i think it has something to do with the URL i feed it. All Warnings are like: ~~~ could not extract from...
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...
Table view with index without row headers?
is it possible to define a working index for a table without specifying headers? or is it possible to custom style the row headers?
using Appcelerator and foursquare api with xauth / oauth
Hello, I have been using titanium to build an iphone app that has successfully received and saved oauth tokens from foursquare.com. However, the problem I am running into is in not being sure how to pass those tokens along to make API calls that require...
Titanium.Media.AudioPlayer with iPod Library
I am considering converting my iPhone app to Titanium, but the most crucial piece is that I need to be able to play two different songs at once from the iPod library. This is possible using objective-c with AVPlayer. In the Titanium SDK, I assume playing...
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...
Getting errors when calling current window - Newbie
Im just starting to use Titanium and running into a problem. First I am on XP 64 bit. Im using example codes find in the api section just to see how it works but I keep getting errors. Below is the code Im trying to run: var win =...
toImage(), return a screenshot of a tableview largen than screen.
Hi, I use toImage() to get a screenshot of a tableview. The problem is that the tableview has more rows than are displayed on the screen. Is there a way to take a screenshot of the entire tableview?
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...
Error on installing (Exception detected in script)
I am unable to install the app on my device due to this error. I have regenerated my certs over and over trying to fix the error, but I guess that's not the issue. Exception detected in script: Traceback (most recent call last): File...
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...
How to get a Mobile TiBlob as string
I am using Titanium Developer 1.2.1, iPhone sdk 4.1, Android 1.6 sdk, Titanium sdk 1.4.1.1. I need to be able to see the bytes in a TiBlob as a string. I'm using the mobile version of appcelerator. I have tried this but it doesn't work inside the success...
Uploading Image From Library in a HTTP POST using HttpWebClient
I am trying to upload an image from the photo gallery using a multipart POST. I have the following code in the success callback of the Titanium.Media.openPhotoGallery function ~~~ var image = event.media; var tempFile =...
Removing all existing annotations on MapView
Not really a problem , just a question... Do someone know how to use `removeAnnotation()` function to remove all annotations on a map view?
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...
Js to webview working on iPhone, not in Android...
Hi, I have a webview, declared as webview1. Then, I have a button, whose action is: ~~~ loadCapitoli.addEventListener('click',function(e) { webview1.evalJS('document.bgColor="black";'); } ~~~ Now, if I preview it in iPhone, everything is...
Simple code - Doesn't work !! Why?
Hello, I just created a simple tableview with "touch"-listeners (Android). That's a extremely simple code, but why does it not work ? Please help me, I'm becoming desperate! http://pastie.org/1200471
Unable to create new mobile project, import works fine
Hi, I am using SL 10.6.4 & Titanium 1.2.1 I have successfully installed Titanium and all SDKs. The Kitchen Sink builds and runs fine in simulator and on my iPod touch. However whenever I try and create a new project I get the error: Project Error:...
OAuth_authentication
Hi, I am trying to create log in in my app throgh facebook,twiiter and other ids so trying to do this with the help of oath.js, sha1.js, and oauth_adapter.js but i am quite bit confused in how this files are used and where should i put them in my...
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...
Application Name with special character
Hi All, i have install titanium on a Mac and i try to generate a Application with a **special character on the Name**. But they don't works... The Application name is: **Schön** If i compile it on iPhone i become only this code in the Debug...
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 =...
Video streaming from iphone to server
Can I stream Recorded video(captured via iphone camera) to a server using titanium appcelerator..? Thanks in advance.!!
Showing 40,951-41,000 of 47,721 1 … 815 816 817 818 819 820 821 822 823 824 825 … 955