Community Questions & Answers

enabling push notification on my app

platform : iphone I have installed my app on phone. How do I enable push notifications on it. When I go to settings->notifications i don't see my app listed there. How to enable it ?

The visible property

I have one button under another button. So I set the first button visible: true, and the second button to: visible: false Then, inside the listener, I set the first button: visible false, and the second to: visible: true After the 'click' he first button...

A button width an icon

Hi, I am trying to create a button with an icon and text. So I set the proprty - html: '<img src="/images/icon.png"/> '+text; But what I see in an empty button. How do I do it?

Defaults on pre sql

Hi, I want to know how possible set defaults on Model config definition that use pre sqlite file without set to sqlite file I set to model config like this but not working: ~~~ exports.definition = { config: { "adapter": { ...

How to debug Runtime error.

I get a runtime error in ti:/windows.js But I don't know what line in my code caused it. 1. How can I see the 'stack' of calls? 2. The reason (Source:) in the error is meaningless (this.view.add(this._children[i]); How can I get a better explanation?

Build Error

I am getting the following error when I try to build for device: The following build commands failed: Foo: PhaseScriptExecution Pre-Compile...

Path to image

I ma using the Android emulator. I am trying to load an icon in an html ~~~ <img src="/images/icon.png"/> ~~~ But it does not load the icon, so I understand that the path is wrong. I don't know what path I should give. Also, I red that iOS...

iPhone simulator forgets device setting

It seems as of v3.1.0 GA of the Titanium Mobile SDK, every time I launch the iOS Simulator, it loads up in the iPhone 4 device (correct iOS SDK though). If I do the usual job of quitting that, opening up the "real" iOS Simulator, setting the...

Saving / Syncing ACS Objects locally on the phone

Hello, I am creating an app where I will be making full use of ACS, however, I need the app to be able to have some of my custom objects saved locally, so the user can still have functionality when it is off line. The offline functioning of the app is...

Enterprise Licensing

Hi, I have a couple of questions regarding Appcelerator's licensing policy for Enterprises. 1. If want to develop an application for the employees of my company, do I have to pay a licensing fee? 2. If I do not want to purchase the enterprise plans...

Problem running app on Simulator

When I try to show specified apps on Simulator I show this erorr [ERROR] : An error occurred running the iOS Simulator [ERROR] : [DEBUG] Sessiocould not be started: Error Domain=DTiPhoneSimulatorErrorDomain Code=1 "Simulatore iOS non è riuscito a...

Where to find complete docs about Alloy TSS?

Hi, I did search the docs but I couldn't seem to find the complete list of alloy TSS properties. I am particularly searching for the property of a selected Tab inside TabGroup. It would be really helpful if someone can direct me to the location. Many...

Alloy Social: How to return @username after login

After successfully authenticating with Twitter, I want to do something useful with this information! The docs show me how to post a tweet using the Social built-in, but not how to retrieve any user-specific information. This is the relevant Twitter API...

Scroll map automatic

I saw an app in a map that when I would select a country to go, for example I'm in the U.S., and selected the Brazil, it scrolls the map up to Brazil, even in animated form, sliding to the parents that I selected. And do not just play the position. I...

Remove Android "Settings" on Nav Bar

I have an Alloy app with a single window. It is set to navBarHidden:true and fullscreen:true in both the XML window definition and .TSS styles. On Android 4.2, the nav bar still shows, but more annoyingly there is a settings button (like a colon : but...

MapView Annotation with toImage()

Application type: mobile Titanium SDK:3.10 Platform & version: Android Device Android physical device model Host Operating System: OSX 10.8 Hello friends, I am facing an issue in map-pin in Titanium and Development in map annotations. I'm trying...

Image paths - leading period or not?

I've just been porting an iPhone app to android, and not one of the images would display, until I removed the leading period the previous developer had put before every image path. I've seen this in a few people's code, so am wondering what the leading...

undefined inside fireEvent

Hi! I have the code: ~~~ Ti.App.fireEvent('titletext',{ hname: lesson.name, htitle: lesson.title }); ~~~ But debugger says: Can't find variable hname For htitle is the same I really can't understand what is wrong. I've tried to pass like...

show.camera not work

Hello Overall I have a code to take a photo in android, but pressing the button to take the photo, nothing happens, only hear the noise when you open the camera focus. Any help for this, please ~~~ Titanium.Media.showCamera({ ...

onclick will work or not?

Hi all i want to do 2 actions one after the other where in for the first time i'm using animation and it takes some duration then other action has to be done. And what my doubt is if i write onclick 2 times is that going to...

Symblic Links for 3.1.0 GA

I have 2 projects one for Company A and one for Company B. I'm also using git for my source control hosting. These 2 projects are about 98% the same code with some assets changed for each company. I'm trying to use symbolic links on the file system to...

.TSS styles on tableViewRows

I have a tableView that is being dynamically populated (it doesn't change once it has been populated) I understand that we can't set the tss class name in the Controller, and that we can't yet target child elements with tss. Is there anyway to use tss...

Admob module upgrade to not use the UIDID

Does (and WHEN) Appcelerator plan to update admob module with the lastest sdk? [https://marketplace.appcelerator.com/apps/795?354168891#overview](https://marketplace.appcelerator.com/apps/795?354168891#overview) on the market and...

Cant run any app in Android emulator

Hi guys, I have a serieus problem wich is driving me crazy! I'm trying to run a app in the Android simulator. The simulator starts fine, but the app won't install. Below you'll find my error log. I have been searching all over the web for solutions, but...

Showing 1-50 of 47,778 1 2 3 4 5 6956