Community Questions & Answers

How to use an external lib globally?

I want to use Underscore.js in my app, but I'm having a hard time with this. Am I able to do something like `var _ = require('lib/underscore')._` in the app.js file and use the `_` variable through my app? The only idea that I found here was using...

Animate with percentage values

I'm trying to move a view 100% to the left, however when I use a percentage it seems to only move it 100 pixels instead. For example ~~~ var slideNext = Titanium.UI.createAnimation({ left: '-100%', duration : 500 }); ~~~ The view I'm moving has a width...

Slider set increment step

How can I set a value for incremental steps, I mean, like [jquery slider does](http://jqueryui.com/slider/#steps).

Android Title Bar Not Showing

Hi, I cannot get the title bar to show in the Android version of my app. I have tabs. I have this in tiapp.xml ~~~ <fullscreen>false</fullscreen> <navbar-hidden>false</navbar-hidden> ~~~ I have my own titanium_tabgroup.xml which...

Module Licensing

I am looking to release a module in the marketplace. I see that there is a Titanium License that purchasers have to agree to but there is also a license file in the module package. A question to the community. Does anyone complete the license file in the...

Assigning an ID to a custom Objekt... :(

Hey guys, i am trying the following to assign id's to my textfields.... But it doesn't work - any suggestions? ~~~ for( var i = 0; i<editFields.length; i++) { editFields[i].setID(i); editFields[i].addEventListener('return',...

TextField error

Titanium SDK version: 2.1.3 (10/02/12 16:16 15997d0) iPhone Device family: iphone iPhone SDK version: 5.1 iPhone simulated device: iphone Minimum iOS version: 4.0 Linked iOS Version 5.1 Hi, in my app i have a window where I can add tags to a...

If I send the iOS build to somebody, can he see the code?

I have a client and he needs to publish the app himself as he bought his own Developer ID. 1. What are the files I need to send him (so he can publish it using xCode-without installing Titanium)? 2. Can he somehow reverse engineer the files easily and get...

How to pass multiple value on URL

Hi, How to pass multiple value from URL to store value in the server database. Following is the code where i'm passing single value from the URL... var url = 'http://ServerIP/Kisan1.php?name="' + tfname.value+ '"&update=true'; I need to...

ACS Push works in 3G but not in Wifi

I'm building an Android app that uses ACS Push Notifications. The notifications arrive without problem when I'm in a 3G network. But if I'm over Wifi (a Wifi connection that works perfectly for all apps, including the one I'm building), the push...

YQL/XHR in the loop - how to make it work?

I need to go through a list of urls, and parse them with YQL. The obvious way - for loop with YQL query within - would not work, because YQL is asynchronous. Is there any other way to do it?

Scrollview in another scrollview

Hi! I create a componet to select an item in a list by scrolling.It used a scrollview in base. It works fine when it added into window, but it doesn't work if placed into another scrollview. I checked events my componet catch. `Click` event work fine, but...

slide view

Hi, i want to slide a view. i created two views. one transparent which contains labels, buttons....with zindex 2 on other view with opacity 0.7 with zindex 1. i cant create the first view with opacity otherwise all its children labels, buttons will be...

Cleaning of Android

Hi, I'am working with a MacBookPro with 128GB. Since yesterday I have a problem … How can I delete unused Android SDKs? Rainer

titanium mobile web project with seo

I need a develop one project for apps (ios,android) and web, but the question is i develope this project with a url seo, for example in my project i have a button with link to view "example", i need modified the url to...

don't use itunes

Is there a way to go around using itunes? since I don't sync my ios device with the mac i'm developing on, itunes wants to delete all installed apps on my ipad while syncing. so i'd like titaniumstudio to only produce the .ipa file, which i then can...

A/B Testing and over-the-air updates

Hi Everyone, Couple of quick Qs - 1) Does Appcelerator supports any third-party mobile A/B testing tools (e.g. clutch.io) or allows for A/B testing on mobile? 2) Does Appcelerator support over-the-air updates i.e. updating live iOS and Android apps w/o...

Vertical Alignment of Label in TableViewRow

It looks like there was a defect opened for iOS for the inability to top-align a label with a defined height in a tableviewrow and it stated the issue was resolved in the most release. Here is my code ~~~ messageLabel =...

Titanium Flurry Module -- logAllPageViews

Has anyone seen results with using ti.flurry's logAllPageViews? I put it in yesterday however Flurry tells me I'm not tracking any page views. (And it's been 24 hours or so, so there's other data -- like geolocation -- in there.) Perhaps I need to...

Showing 27,901-27,950 of 67,460 1554 555 556 557 558 559 560 561 562 563 5641350