Community Questions & Answers

ImageView in TableView Crashes app

Hi, I'm using Alloy XML to create a table view with Items, each has a remote URL image. When I scroll the table view the app crashes. The table is binded to collection and each item has it's own ImageView. When I remove the ImageView the app works...

Html-formatted text in Alloy app

My application loads data from server - terms of use for example. This data will have html formatting. What I mean by that is that users will type text in cms, in tinymce textarea, so it will have html tags. Can I show it to my users so that if something...

Text not displaying in Two lines in List View

Hi All, In My project i am using ListView to display list of items, I have some bigger text which need to be displayed in multiple lines. In Andriod it is working fine but in iOS even i increase the height i am not getting in multiple lines, How to solve...

Run Option is disabled for One project

Hi All, I am new to titanium studio, I have some issue in running a project. I have imported a titanium project in to Titanium Studio and try to Run it, but on the where we have the Run Option it is disabled and i am not able to Run the app. I tried by...

Appsflyer integration for IOS

I can integrate the Android version by following this guide https://github.com/shopmium/titanium_appsflyer_android_module I am using the module from the dist folder and it is perfect. But when I wanted to integrate for IOS version. This...

Android Webview blank

Trying to build an in-app viewer for external documents (url supplied by an API) ~~~ <Alloy> <Window id='docView'> <View class='header'> <Label class='headerLabel' id='title'>MY...

AdMob on Android

I am trying to incorporate AdMob in my titanium app. When I run the example app.js file found in the AdMob files and run the app on android device, i following error when i click test ad. I have entered my publisher ID and still get the following...

Incrementing Ti.App.Properties.setInt

Can someone give an example of how to increment Ti.App.Propertes.setInt? I would have thought it would have been fairly straightforward but it's not working like I expect. ~~~ Ti.App.Propertes.setInt('myCounter',...

open an option dialog on an "if"

i'm checking a database version to see whether a newer version is available and if so have an option dialog which allows the user to either say yes download or no cancel within a simple "if" eg: ~~~ if (offlineversion < aaa){ var dialog...

How to target many screen resolutions

I have a tss that looks like this: ~~~ ".row[if=Alloy.Globals.is3to2]": { height: 153, } ".row[if=Alloy.Globals.is5to3]": { height: 138, } ".row[if=Alloy.Globals.is4to3]": { height:...

Delay in receiving Pushnotification

We have a Shopping app 'Trend Trunk' in appstore and google play. now we integrating the push notification on developing app using ACS. but some time it is taking more then 24 hour later then it was send. (happening big delay) but some time i received them...

The usage of Alloy.Collections

Hi everyone, I was wondering about the usage of Alloy.Collections. I just started my first app using sqlite. I installed my sqlite DB, saved my data on one of the tables, and everything worked fine. Then, I wanted to know more about the usage of sqlite...

Failed to parse javascript

Application type: mobile CLI version 3.3.0, Titanium SDK version 3.2.3.GA Platform & version: iOS Device: iOS simulator I keep getting this error. Failed to parse /Users/stephenhanrahan/Dropbox/Titanium/the Practice App/Resources/userData.js [ERROR]...

ACS Files update/create problem

Hello! We used next code to create files in cloud database: ~~~ ACS.Files.create({ name: req.files.InputFileMedia.name, file: req.files.InputFileMedia.path }, function (e) { if (e.success) { ...

Configuring app for different devices

I'm a new app developer and I've almost finished developing my first android app using Titanium. I optimised the app for my own phone - in other words I altered the positioning of buttons/images etc so they fit properly on my phone screen. I (rather...

Window opens multiple times iOS

Hello, i got a little problem here. I built a tableView with some rows. A new window should open by taping on a row. That works good. But if you're taping fast enough on a row, the Window opens multiple times. Is there a simple way to make sure that the...

wikitude working with titanium

Application type: mobile, Titanium SDK: 3.3.0, Platform & version: android : 4.4.2 Device : moto g, Host Operating System: OSX 10.9, Titanium Studio:3.3.0. Hello everyone, I am using the titanium wikitude module which I downloaded...

Remove default borders of Ti button bar

I need to achieve the same thing (https://drive.google.com/file/d/0B2ZRQfvrNovCSmFzOWd0eFVzTUk/edit?usp=sharing) with Ti button bar but it seems the default border of the button bar does not go away. I tried by changing the styles too but fails to work....

Showing 101-150 of 63,101 1 2 3 4 5 6 7 81263