Community Questions & Answers

display all audio files

I'm trying to make an audio player and I want to list all audio files on the phone. How do I use Filesystem to find all the audio files on the device?

Changing root window on Android

Hi All, I'm trying to swap out the root window on my Titanium app. There is a "logged in" view and a "logged out" window and I would like to swap between them based on, you guessed it, whether the user is logged in. I've tried opening...

ACS Push notifications

Hi all, When I use ACS for notifications for my Android App, the devices registers itself after first startup. I send my pushed using Curl and all works fine but now I wonder if a user uninstalls my app. How do I know not to send any push messages...

Facebook: built-in-likes

Hi, I try to call this procedere: ~~~ curl -X POST \ -F 'access_token=USER_ACCESS_TOKEN' \ -F 'object=OG_OBJECT_URL' \ https://graph.facebook.com/[User FB ID]/og.likes ~~~ with `Ti.Facebook.requestWithGraphPath()`. How to...

Draw a line between 2 ImageViews

Hi everybody, i'm building an application with ImageViews (circles.png) in a filed and i want to draw a line (it can be a rect line) between 2 ImageViews. I can't found a simple way to do this... i found a module but it won't work. I need this code working...

Create app for iphone 4 and 5

Hey there, i wanna use a custom header in my application non-retina height: 44px retina Height: 88px For the last time i've created to images (barImage) with 44px and 2@x 88px. That's work like a charm... In the code i set the height to 44 and it...

Possible to assign multiple point arrays to a single route?

Hello, is it possible to attach multiple *points* arrays to a route, or do I have to create separate routes? For example I have: ~~~ somePoints.push({ latitude : pointRsFirst.fieldByName('latitude'), longitude : pointRsFirst.fieldByName('longitude') });...

Working with JSON file very complicated

Hello to all you guys! I'm creating an app for a site that sells some Apple items. APA course includes a menu with various categories and subcategories. Since the site has many categories and subcategories, and both can vary, the creation of the menu is...

Unable to query reviews by user_id using JS SDK

As per title I am unable to retrieve a list of reviews by user_id, the request always succeeds with zero results. Here is the code I'm using: var data = { user_id: userID }; sdk.sendRequest('reviews/query.json', 'GET', data,...

Best practice for overflow-y div style view

New to appcellerator and come from web development. I am trying to achieve a 'line view' for search results based on.. a search. I have managed to acheive this with table view but getting the feeling i might be going down the wrong path. This is what i...

Alloy custom back button solution?

Hello, I am looking for a way to implement a custom back button functionality using Alloy. Has anyone done this in a project with the framework? My idea is to have a back button which should remove the last added view from an array containing all the...

Titanium Facebook Login Issues

Hi, I am having problems logging in into Facebook using my app. Things were working perfectly, and I have no clue what change I made, which is causing it to fail now. I am not even able to debug it. This is my simple login code: ~~~ Ti.Facebook.appid...

Ownership of App

In using your software for creating an app, will the app be 100% my ownership or is there a percentage or what hidden charges will there be if any?

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...

Showing 27,851-27,900 of 67,446 1553 554 555 556 557 558 559 560 561 562 5631349