Community Questions & Answers

createView url not found ?

Hello please some one explain this var win1 = Titanium.UI.createWindow({ title : 'Win1', width : Titanium.UI.FILL, url : 'test.js', tabGroup : tabGroup, }); I've created test.js inside controller folder but still get error test.js not found any...

Mac os x Unable to find command 'build'

i' ve done mobile project on android and now i want to compile it to iOS. I had the following problem [http://developer.appcelerator.com/question/147274/problem-with-a-new-project-titanium-on-mac-help] but it's solved now. Now I issue new problem while...

launch the web browser of smartphone

Hi, I need to launch the web browser of a smartphone (android or iOS) from my app with my url when i push a button. I don't see anything to do it. Anybody can help me?? Thanks

Geofence module

Hi, I have a question about geofencing module (ti.geofence) included in Titanium. The documentation (http://docs.appcelerator.com/platform/latest/#!/api/Modules.Geofence) indicates the ti.geofence module is available only for Appcelerator Platform...

Gradient is not applying for iOS Button

Hi all, I am trying to apply gradient color for Button in iOS Below is the code i am using it is working fine in iOS "Button" is the argument i am passing from other file. Button.backgroundGradient = { type : 'linear', ...

appcelerator 1 button share ?

Hello i am searching for simplest way to share content or text , on Facebook , twitter , email etc . is my request exists in Titanium Studio or i have to create my own code ? any advice will be very much appreciated Request for ( IOS / ANDROID )

Picker for Android is not show correct rows

I am creating a picker for android to show some numerical values, but it is only displaying the word [PickerRow] instead of the real labels here is my code ~~~ var picker = Ti.UI.createPicker({ top : 20, selectionIndicator : true }); function...

Hide Action Bar without Alloy

Hi, I'm using Titanium sdk 3.3 and Android sdk tools v.23. I have an old project that is _not_ made using Alloy. With this new configuration, when launching the app for android, Titanium add an Action Bar. Can you please have hints about how can I hide...

In-app gallery confusion

Hi all, I've been searching docs, google and the q&as for a couple of days and I cannot get my head around it. Building for ios + android with Alloy. My app enables the user to create projects. 1. For each project I'd like to be able to open a...

Getting the type of a UI element

HI, In Titanium how can I check the 'type' of a UI element. ie : var eventListner = function(e, object){ // is object of type 'Titanium.UI.Button' }

Swipe gesture won't swipe container off

// this sets the background color of the master UIView (when there are no windows/tab groups on it) Titanium.UI.setBackgroundColor('#000'); // // create base UI tab and root window // var win1 = Titanium.UI.createWindow({ title : 'Tab 1', ...

Vertical Layout - Alloy

detail.js: ~~~ var args = arguments[0] || {}; $.toiletLat.text = args.lat || ''; $.toiletLng.text = args.lng || ''; $.toiletName.text = args.name || ''; $.toiletAddress.text = args.address || ''; function closeScreen() { ...

Launching simulator process failed

Using Studio and SDK 3.0.0 on MacOS 10.8.2 I installed NodeJS first via homebrew, then re-attemtped with the .pkg from the NodeJS site. In both cases, I encounter this error when I attempt to run my app in the simulator: ~~~ Launching simulator process...

tabgroup click dosn't fire in ios 7.1

I write this code ~~~ tab3.addEventListener('click', function() { alert('fire click'); }); ~~~ and this works in android , but dosn't work in ios 7.1 how to fix this ? or have any other way to do the same thing? I use mac 10.9, titanium...

Localization not working

Hello, I am trying to create an app that uses titanium localization as mentioned in the [documentation][id], I used the exact steps suggested in the documentation but still it won't work. ### This is the my directory structure: ![directory...

images in Android

Hi, i want to display an image in imageView : My imageView : ~~~~ var myImageView = Ti.UI.createImageView({ defaultImage : '/images/default.png', image : '/images/default.png', top : -20 }); ~~~~ In my project : I have an images folder which...

Modules.Facebook is missing publishInstall()

According to the [docs](http://docs.appcelerator.com/titanium/3.0/#!/api/Modules.Facebook-method-publishInstall), the built-in Facebook module for Titanium 3.1+ has a method called `publishInstall()`. However, I am using version 3.3.0.GA and this method...

IPad camera overlay rotates

Hi Guys, I am having a weird problem with the camera overlay view. I have my entire app locked in portrait mode. All the screens are portrait. Except when I open the camera screen on IPad IOS version 7.1, the camera overlay gets rotated with orientation...

Alloy pass args gives NAN error

Hi All, I'm very confused, and would really appreciate some help! I'm trying to pass data between 2 controllers. it works when I pass an integer, however when I try passing a string, I get a NAN error :S Below is my code: ~~~ index.js var arg =...

What is hapening to titanium

I need to know what is happening to titanium , One it stop issue problems BUGs to all our developers stuff, Both at Windows and Mac systems, in all of the version 3.3 and when updated to sdk 3.5 , and even when uninstalled all and tried to install the RC...

[iOS iPhone 4] Camera overlay bug?

I'm trying to add an image overlay to the showCamera(). showCamera() itself works fine. But when I add (any) overlay, the showCamera() view seems stretched out vertically. (tap to focus area is not a square space, but more like a rectangle) When I take...

Is titanium development free ?

Dear Titanium Team , Kindly can you clarify the license mechanism and the boundaries of free for individual user. I read article on the license mechanism which was...

Problems with UDP

Hi, I created a new client alloy project and added this line (as described in documentation to alloy.js: var socket = Ti.Network.Socket.createUDP(); Which gives error: Script Error { [ERROR] : backtrace = "#0 () at :0"; [ERROR] : ...

image saving

how to save image to device , when the image is loaded in web view in android ? can anyone help me ?

Snap View Mode for iOS

Titanium SDK 3.2.0 iOS 7 Hello all I'm trying to make a snapview mode like snapchat video conference. For those who don't know what it looks like, I explain. In fact, you can have a snap only when you let your thumb (or any finger) on the screen. I...

Showing 1-50 of 15,495 1 2 3 4 5 6310