Community Questions & Answers

Not receiver notification message

command : ~~~ curl --verbose -b cookies.txt -c cookies.txt -F "login=user" -F "password=pass" https://api.cloud.appcelerator.com/v1/users/login.json?key=API-KEY curl -b cookies.txt -c cookies.txt -F "channel=friend_request"...

Apple TV support in Titanium

Hello everyone, Does Titanium supports for build an application for APPLE TV or is their any workaround available for building it. Please let me know any solution for building an application for APPLE TV using Titanium or any other. Thanks in advance.

Getting reference of previous opened window?

Hey folks, I am opening win2 on top of win1 from win1. Can i get the reference of win1 in win2? Is there a function which can get me the reference of previously opened window. or should i need to pass the win1 when opening win2? Would that make my app...

PHP Library for REST SDK (ACS cloud)

Hi, in my next project I want to use cloud to store datas on website and read it on smartphone. The solution with javascript is horrible, because the app secret is readable for everyone … My plan: sendeing of cloud request to my server and the server...

AdMob vs iAd

Which of the two systems is easier to implement with Titianium? I can use Admob for an iphone app or iAd for android app? What offers greater profitability? thanks!

IOS SDK Missing

Hi all, I just downloaded Titanium last night (ver. 2.1.0.201206251749). After installing, under the configure tab on the dashboard, it says IOS SDK missing. I had Xcode 4.3.2 installed on Lion 10.7.3. I followed the instructions to update xcode and now...

Need video triming code !!

Hi, I want to develop a mobile application for iphone and android which will take a video and can trim to 30 seconds. So what will be the example code can anyone help me?? Thanks in advance.

SDKs configuration error

I using a windows XP 32 bit OS system. After I have installed the studio and SDKs properly, I found the error in the Titanium SDK home path in the preferences tab. The erros says C:\Documents and Settings\Administrator\Application Data\Titanium\sdk\win32...

post a tweet

what's the best way to post a tweet from a titanium app? i see several posts but they all seem to be fairly complicated and some of the suggestions appear to be out of date. thanks in advance!

response is not working

var button = Ti.UI.createButton({ left: 180, top: 180, width: 100, hight: 30, title: 'Go' }); self.add(button); button.addEventListener('click', function(e) { // if(txtUserName.value == 'S0009231839' && txtPassword.value ==...

Best way to do tabs

I have an existing iPad app built with Titanium. There is nav down the left side, and different windows that appear and disappear on the right side depending on which nav item is touched. Now I need to find an easy, mess-proof way to have 3 different...

size of image on iOS

i run my app on iphone simulator with IOS SDK 5.1 i think that resolution is 640 * 960. here is my code : ~~~ var menu = Ti.UI.createView({ top: 0, height: 132, backgroundImage: 'images/fond_menu.png', layout: 'horizontal' }); var alaune =...

Implement Calendar in iOS

Hi all, How can i implement [THIS](http://imageshack.us/photo/my-images/515/screenshot20120617at121.png/) calendar UI on iPhone. I searched the marketplace but none of them met my requirement. Thanks

3rd Gen iPad crashes

I have a Titanium app that I'm sorry I ever built. Doesn't load on an iPad 1 just splash screen and crashes. Works on an iPad 2. Now with an iPad 3rd gen works like a 1. Splash screen loads, sits a while, and then crashes. Rarely it opens up. Does...

fireEvent not catched in time

Hi, I have a problem with fireEvent. I have to display a progress bar that is animated by events that are called in a loop. Note that the loop that call fireEvent is in a different JS file, not on a same windows. The problem is that the first 2 or 3 events...

Field doesn't go up on keyboard show

Hello, I have a view with 3 text fields but when i focus on any field it shows the keyboard, as i should, but without moving the view up so the keyboard covers part of my view including the fields i'm typing on. thanks in advance :)

Ti.Network.createHTTPClient after recent update

Hey, I've just updated the SDK today, and after the update I now receive the error: ~~~ [ERROR] Script Error = Result of expression 'Ti.Network.createHTTPClient' [undefined] is not a function. at win_media.js (line 70). ~~~ these errors are usually fixed...

display tableview with sorted data

hi, I created a tableview in which I add row (with data date). I'd like than this tableview sorted by date like this: ~~~ ---------------------------------------------- row 1 : 2012-O7-04 ---------------------------------------------- row 2 : ...

Including the moment.js script...

Im having a problem using the moment.js script...it must be something really simple im missing but this simple routine is failing with a "Cant find variable: moment at..." ~~~ Titanium.include('/moment.js'); var day = moment('25/12/12',...

Custom row background image

How can I get it to loop through time row background image while the row is not valid. Only the 4 items have a row back ground while the rest are plain white. I tried doing it as a if-then loop without any luck. ~~~ // set the data from the database to...

Android Tab Bar Icons

Hello I've implemented some tab bar icons in an app, but they seem to be overlapping the Tab text. Here's a screenshot: http://cl.ly/1432120r2A1Z0W0q2L2a What am I doing wrong? Icons are 48x48, png, as per the Android specifications. Here's some...

Cookie setup

Hello, I need to store the login information in cookies and need to retrieve that when user opens the application again.. how can i do this

Showing 27,901-27,950 of 62,147 1554 555 556 557 558 559 560 561 562 563 5641243