Community Questions & Answers

Basic navigation

Hi all, I'm a newbie here and maybe this is a basic question but i looked around and i can find an answer, maybe you can help me. I'm developing a Mobile application for ios and Android using Alloy (v 3.3.0). The basic structure is like this: ![alt...

Android: application resume

I built the application, launched it and clicked the central button, so the application closed. Then I clicked the icon once again and splash screen appeared and application started from the begging. Is it normal? Could I just save the state and then...

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

Ti.Platform.displayCaps.dpi always returns 160

Ti.Platform.displayCaps.dpi always returns 160. I have two android emulators installed (genymotion) - samsung galaxy s2 which is 240dpi, and Google Galaxy Nexus which is 320dpi. When I do this: `Ti.API.error(Ti.Platform.displayCaps.dpi);` in my index.js, I...

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

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

chat in cloud services

hi , i need a small help from you guys. I'm working on cloud services now. I'm working on chat functionality .I wrote the code like this ~~~ Cloud.Chats.create({ to_ids: ids.join(','), message: 'Good morning' }, function (e) { if (e.success)...

Loader on screen

Can anyone tell me how can i implement loader on the screen (like the loader on facebook android app) for android as well as ios on titanium alloy. The widgets available for loaders [this](https://github.com/FokkeZB/nl.fokkezb.loading) and...

Image store and retrieve

Hi, How to store and retrieve image in database through webservice? In database image field type is varchar. I am using alloy framework and titanium sdk version 3.2.2.GA. Please help me. Thanks, Ankita

Alloy Social And Twitter

Hello, I'm using the Social module to share with tweets. ~~~ var social = require('alloy/social').create({ consumerSecret: 'xxxxxxxxxxxxxxxxxxxx', consumerKey: 'xxxxxxxxxxxx' }); if(!social.isAuthorized()) { ...

Writing native module for tss transformations

Hi there, I'm wondering is it possible to write a native module, that would do tss transformations. Eg. I have element that should have 100px height. Since I'm using dp units, I need to do something like that: ~~~ // alloy.js const DEFAULT_W = 480; const...

Emulator not running, exiting...

Alloy Project running is stopped with message "Emulator not running, exiting..." I am not able to run 1 project while some other project is running fine.....so what can be the problem and what will be solution for that..

Data binding to nested views

I think this is best explained using an example. Say I want to display a list of movies with actors below each move. eg: ~~~ Movie A - Actor 1 - Actor 2 Movie B - Actor 4 - Actor 5 - etc. ~~~ JSON file looks like: ~~~ { movies: [ { movie_name:...

First time Developer

1. I Have install every thing except ALLOY. When try to install error message "Installing Titanium updates... has encountered a problem. Details are Failed to install alloy.please see the studio log for more information." displayed. I Found the...

Showing 1-50 of 3,301 1 2 3 4 5 667