Appcelerator-Q-A-banner

Community Questions & Answers

how to hide picker when someone clicks another text box

I want to hide the picker below when someone clicks outside of the picker. Like if they click on another textbox, the picker should disappear. How can I do that? ~~~ //onClick trigger for date buttons: exp_year1.addEventListener('focus', function(e)...

Facebook permission post to page

Hi. I want to post a message to both a page and my own timeline and i want to check if the user is logged in and if not auth the user and reauth for permissions. I have found what it appears to be a really nice way of doing so here in the forum and it...

Select video

Hi I am trying to use Titanium.Media.openPhotoGallery to select a video. The simple code is ~~~ Titanium.Media.openPhotoGallery({ success:function(event){}, cancel:function(){}, error:function(){alert("There was a problem...

Barcode 1.1 and 1D

Hi, I'm a Titanium indie developer and I was playing around with the Ti+ modules (to get some ideas for future apps). Does anyoneone know how to enable the 1D scanning with the barcode module? I tried generating all formats from here (and using my...

Selecting a starting value with Picker

I have a picker as part of my app to allow a user to select between a list of items. The plan is to save their selection and then use that selection when they revisit the screen. However, I can't seem to get it to select the correct box without the list...

Weird error, no idea what to do

Hi! I am making an app that enables people to order food with their android phones. I have been working on it for quite some time now, and I have made a working app but the coding kind of hurts your eyes since it contained code for testing purposes, as it...

Error Building iOS Module

Hello i hope someone can help me: (Titanium mobile SDK 1.7.5 -- XCode 4.2 -- Os X Lion) Im trying to make a module following this guide http://wiki.appcelerator.org/display/guides/iOS+Module+Development+Guide I already did this step successfully...

Multiple rotates of view with animation

Hi, I'm trying to rotate an ImageView using an animation. After first rotation I want to rotate it again. E.g.: 1. rotate by 90 degrees -> make view rotate from 0 to 90 degrees 2. rotate by another 90 degrees -> make view rotate from 90 to 180...

Getting Build Failed Error

Hi guys, I am getting a Build Failed error that gives me this [ERROR] : ** BUILD FAILED ** [ERROR] : The following build commands failed: [ERROR] : CodeSign build/Debug-iphoneos/GeoTrackerII.app [ERROR] : (1 failure) I've tried everything. I redid...

Build Error Packaging for App Store

I've been testing my application in the emulator and on local physical devices and everything checks out perfectly. I'm now ready to package this for App Store Review, but i'm getting an error during packaging that isn't present at any other time....

Android hide actionBar flickering

Hi, If I try to hide the actionBar on Android, the window seems to be pulled up which causes flickering. Can I prevent the flickering from happening? - **Titanium SDK**: Titanium 3.5.1 (2015/03/05 10:08 96875c9) - **Platform & version**: Android...

Android Notification icon

I am not able set custom icon for notification. some doubts are: 1. Is there any specification for the icon. 2. how the url to be given. It will be great if anybody can give a code sample for this. Thanks.

CLI Hook Usage...

Can a cli hook be used to modify parts of tiapp.xml in memory before the build begins and have those changes affect the build? I'm trying to do this to change the app version # (build number), id, name, and build sdk. However, the only thing I've been able...

slow motion video player

Is there a way to enable slow motion with Ti media player currently? Do I absolutely need to implement ios module for video player to get slow motion working? If yes, is there anyone who can do it? I can pay for the custom video player module that enables...

Facebook /me/photos error

Hi everybody, I'm trying implement mokesmokes facebook module for IOS, and I have some problem to upload a picture.Here is my code ~~~ var _facebook = require('com.facebook'); _facebook.appid = Ti.App.facebook_app_id; _facebook.permissions =...

Resource path android vs iphone

Hello, just to understand, i'm a bit confused, i've read from the documentation that all specific resources for both android and iphone should be put inside: resources/android/images/res-xxx and resources/iphone and then i need to use only the base name...

Showing 1-50 of 6,311 1 2 3 4 5 6127