Community Questions & Answers
Youtube Twitter API
Hi, Please guide me to implement Youtube API and Twitter API for my mobile applications. Please provide me help. Thanks and regards, Venkatesan.R
Chat module in titanium application?
Any one done the chat process in app using titanium module, or any other idea to integrate chat in an application.
Textarea not wrapping Titanium Mobile Android 1.4.0
Of all the SDK's 1.4.0 seems to be the most stable except for the textarea not wrapping when you type in it. I tried compiling under 1.4.1 and 1.4.3 and 1.5.0 and textarea works (wrap) but those other sdk's introduce new bugs (IE: create a view, put some...
New install - iPhone emulator not running
Hi, I've just installed Titanium Developer, along with the latest Xcode and iPhone SDK from Apple's website, and the Android SDK. Both the iPhone and Android SDK's are coming up as being available in Titanium's "New project" window. I've also...
Get Facebook Page Wall Posts
This is what I get when I do JSON.stringify(r); I'm trying to pull a FB Page wall with the number in source_id, is that correct? ~~~ 2010-12-01 20:41:56.613 DISTRICT[28152:207] Connecting to http://api.facebook.com/restserver.php { "api_key" =...
Problem with the emulator
Hello, I just got Titanium for mobile development and am having some problems. Every time I try to run an app on the emulator I get an error message and the app does not run. I did not write the app, I am using the "Kitchen Sink" app from the...
Problem with the emulator
Hello, I just got Titanium for mobile development and am having some problems. Every time I try to run an app on the emulator I get an error message and the app does not run. I did not write the app, I am using the "Kitchen Sink" app from the...
createImageView() on iPhone simulator throws serious error - it's killing me!
Using Titanium Developer 1.2.1, Titanium SDK 1.4.2, iOS SDK 4.2 Trying to get an Image View to pull in an image - should be simple, right? root.js file is Resources/windows/ and snowperson.png file is in Resources/images/ Using a relative path in this...
Is there a way to programatically scroll to the bottom of a table view?
I have a table view with variable-sized rows and a footer for entering data. I need to be able to programatically scroll the table view to make the footer visible.
Stop All Sound on Button Click
I am designing my first project, a sound board. Yeah, I know...but its just a project to familiarize myself with Ti/droid deveopment. I have a loop that creates and assigns sounds to buttons. ~~~ var pos = 1; while(i<(itemCount)) { var position =...
iAd Orientation
Hi, I'm trying to display horizontal orientation iAds. I see that there is a property called: SIZE_480x32 and SIZE_320X50, but I'm a little confused on how to use them in my project? Thanks.
Optimizing Tableview
I have fairly complex rows within a tableview. Each contains a remote image, and a few labels. On both iOS and android it is slow to load and scroll (even with only 20 rows). Does anyone have tips or tricks for improving the performance of a tableview?...
TableView leftImage parameter can't be a URL ?
Hi I am trying to create a tableView that has a left Image, when I use local image files it works fine. when I use URLs the image does not display at all on the iPhone simulator but works well on the Android simulator... what am I doing wrong ? ~~~ var...
Corona + Appcelerator
Anyone know if you can run/wrap a corona 2d "game" in Appcelerator?
iOS 4.2 Build onto Device Fails
Hi I am trying to deploy my final BETA onto the device before I build for distribution, however I keep getting an install failed. Below is the report from the build.log, can anyone shed any light? I am on a really tight timescale :( ~~~ ** BUILD FAILED...
Is it possible to get pixel data (rgb, alpha vs.) of touched position on an image?
Hi, I wanna get rgb or alpha values of touched pixel on iphone application.Is it possible to do it with appcelerator? Thanks
TableView crashes on focus in text field in header or footer view with empty table
I have table view headers and footers with text fields. If the table view is empty, the app crashes when the text field gets focus. The following error *sometimes* appears in the developer log: [ERROR] Value was not the value expected. in...
Any good canvas, image sprite + clock samples or guides? (Android)
After getting all setup and running (it took a bit of sweat and help via twitter). I started writing my first game. It's very simple and I'm just porting code I had already written. I'm trying to find how to use the Titanium API for generating Canvas,...
What's wrong with setInterval?
Right so if there's one single thing that is most important out of everything else for a programming language/framework it's the ability to have accurate reliable timers. So.....who wants a go at solving this puzzle: setInterval (seems) to work fine when...
Using HTTPClient with setInterval and handling pause resume events
I'm using setInterval() to make an XML HTTP Request with Titanium.Network.HTTPClient every 60 seconds. This works fine, but when the handset (iPhone) goes idle after 30 seconds or so of inactivity and locks, when I unlock it and return to the app, the XHR...
Do not see debug-iphoneos directory after building app
I have loaded my first app to my ipod and it works fine. Now I would like to distribute to beta testers. Followed your instructions, "Distributing your iPhone app to Beta Testers." In the second column from the right on your screenshot I see only...
Looking for a developer for enterprise app
Hi, We are looking for a London UK based developer to give us some time/cost estimate for an iPhone/Android app for us which will include. News section, games section with 4 puzzle type games, leaderboard functionality with rankings by team and player,...
setRecipients not working on android emailDialog?
I am trying to get a simple emaildialog to open in my android app. Here is the code (exactly the same as the Kitchen Sink email_dialog.js example, but without the attachment stuff). ~~~ var emailDialog =...
Gmail
Hi, My question is how to connect gmail account through Titanium. Please provide me solution to solve the problem. Thanks and Regards, Venkatesan.R
is the JSON.parse included in Ti broken?
i tried to get array of objects from server and populate the result to table view,... here's an example of the response text: ~~~ [{name: John, group: [foo, bar, baz]}, {name: Bob, group: [abc, def, ghi]}] ~~~ (i know it's missing all the quotes, but it's...
Facebook Dates and Pulling my (little) hair out!
Hi All I am retrieving event information very cleverly using Facebook's graph API. Alas it returns the date in the following format: 2010-12-12T05:30:00+0000 Now I have done the following to make it look more useful to the user, however I have noticed...
Newbie - can Titanium deliver?
Hi We're new to mobile apps and are currently deciding on a dev platform. Many thanks for your advice so far. Our apps will share much of the UI concepts/charting found in the Apple "Stocks" app. We will be building identical apps for iPhone and...
Very basic example with Python
Hi, I'm a totally newbie with Titanium Desktop and I wanna just making a very simple app using Python module. This is my [index.html][id] When I push the button, I obtain an error from console: ReferenceError: Can't find variable: hello I have follow the...
new version of Titanium?
I heard that there will be a new version of Titanium that will fix the drawbacks of this one such as facebook login in Android, applications for different screen resolutions, customization of slidebar background color, the use of external fonts etc. Do...
httpclient broken for 1.5.0 > githash=1dd0106
CORRECTION githash=3ee6a97 Hi What's going on with the httpClient? The version with **githash=3ee6a97** is the last working fine, all that are above this breaks httpclient trying to parse a html code as xml. Of course this breaks the yql too. Any ideas?
Will a TableView pre-load all data or only as needed
I am creating a simple application which tracks events. As the users enter events, the database will get larger and larger. Let's say the application is used a lot, and there are 10,000 entries. I am using a custom TableView to show the data in date...
Realtime Prototyping Solution
Hello everyone! I just want to share our latest experiment named [Livetanium](http://blog.krawaller.se/livetanium). [](http://krawaller.se/livetanium.swf) Made out of titanium,...
StoreKit
Have there been any further development's regarding iOS' StoreKit?
Call Parent Window
Hi, My question is,In a new window I have a button when a user is clicked that button it will returned to the main window. Please provide me solution to solve the problem. Thanks and Regards, Venkatesan.R
Password and TextBox Value.
Hi, My question is how to create a password field in the Titanium.For an example to create a text field we have var textfield = Titanium.UI.createTextField. In a new window I have added a label,textbox and a button.When I have clicked that button how to...
Search twitter with appcelerator
Im following the twitter example in the kitchen sink. I am trying to utilize the twitter search api. Eg of a url will be http://search.twitter.com/search.json?rpp=30&q=#marketing If I want to search more than 1 term, the following is the...
Audio stream metadata
I was wondering if it is possible to read the metadata from an audio stream using Titanium.Media.AudioPlayer, or maybe there is module that allows for this?
Label and TextBox
Hi, My question is When I have click my Add Button in the window , a new window will be open in that new window I need to add Two label,two text box and a submit,cancel button. Please provide me help to solve the problem. Thanks and Regards, Venkatesan.R
[mobile] how to remove(hidden) title(title bar) on window?
I do not show title on window. app.js ~~~ var win = Ti.UI.createWindow({ url: 'win.js' }); ~~~ win.js ~~~ var curWin = Ti.UI.currentWindow; ~~~ I have not set title of window. mobile sdk version 1.4.2.
Trigger click on rightImage or hasChild on Android?
I'm currently working on an application for Android and we're using the latest 1.5 daily build due to a bunch of features not being supported in the current "stable" release. On the iPhone version we have a tableview with hasDetail: true - That...
Database SELECT using two conditions???
I am trying to query a database and retrieve a row matching two conditions Titanium Code: I have tried both of the following ~~~ var resultSet = db.execute('SELECT * FROM goals WHERE goal_type= "current" AND client_id = ?', id); var resultSet...
Minimum width for elements?
I want an auto-width label that stretches like a width:'auto' element but also has a minimum width. Is there any way to declare a minimum width or perhaps a left/right padding in a label?
Coverflow Label and not reading all images
I have a coverflow view based off of the Kitchen Sink view and I set up an array of captions for a title label. The initial label is there but it doesn't update when a new image is swiped into view. Also I have 16 images, and CoverFlow isn't loading the...
Anyone else experiencing problems running Kitchen Sink for Android?
I have the latest jdk and Android sdk. I have set the right path to the ASDK in my profile inside Titanium. I can import KitchenSink easily, when I go to run it, it just won't start. No output to console or errors. Help is much appreciated. (Occurrs in...
Using Drillbit to test mobile apps
I was trying to get started using Drillbit and I can't even run the python script as is. I run the following at command line on a Mac and am using the Titanium 1.5.0 Mobile SDK nightly build. It's run from the base of the repo directory...
ImageView fails to load with pre-escaped URLs (TI Mobile 1.4)
It appears that using properly escaped URLs fails? For instance, this works: (notice the spaces in the URL!) ~~~ var coverArt =...
Backbutton eventListener
How to get the eventListener for the backbutton that appears in the navigation-bar and tab-bar when we navigate from one window to another. Is it possible. Please help me.
Post the kitchensink to the app store
I've been trying to work through the development cycle with a few clients and they almost always ask to play with some sort of a kitchen sink to know what is possible. Is there a reason why no one has posted it to the app store? It would be so much...
[mobile] error mobilesdk update to 1.5
I change mobilesdk to 1.5.0, but runing error this is error log ~~~ [INFO] One moment, building ... [INFO] Titanium SDK version: 1.5.0 [INFO] iPhone Device family: iphone [INFO] iPhone SDK version: 4.0 [ERROR] Error: Traceback (most recent call...
Showing 39,101-39,150 of 47,603 1 … 778 779 780 781 782 783 784 785 786 787 788 … 953