Community Questions & Answers

Unable to bind model to table tableView in alloy.

I'm using napp.alloy.adapter.restapi to pull a list of clinics from parse.com. The api calls using the lib works fine. In success call back for the fetch i'm able to console.log the attributes. But for some reason i'm not getting things wired up correct...

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

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

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() { ...

Facebook authentication module and Alloy

Loaded the module, added the tiapp.XML code with property. alloy.js ~~~ Alloy.Globals.Facebook = require('facebook'); ~~~ index.js ~~~ // Don't forget to set your appid and requested permissions, else the login button // won't be effective. var fb =...

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

Alloy File Manger / Download Manager widget

Hey folks. I am trying to track down a widget or module that enables an app to download and manage files (as well as open the files in other apps). I think the development is a bit beyond my skill set and I'm hoping there something out there I can...

Classic vs Alloy?

When I attended a general mobile course about 10 months ago, we where learning only the classic version of Titanium (approx 10 weeks where dedicated to Titanium). I have then understood that this approach is more or less outdated and that Alloy is the way...

Languages with alloy

Hi, im developping with alloy : i have this code to manage languages : ~~~~~ <Label id="shareOffreLabel" text="Envoyer à une amie" class="button"/> ~~~~~ i want to use L function, like this : ~~~~~~ <Label...

Title in Button with Background Image

Hi Everyone I'm having trouble trying to set up a button with a backgroundimage and a title, either the title shows or the backgroundimage but not both. Based on certain logic the title changes, but the backgroundimage must stay the same. My TSS file has...

Map doesn't work in the US on Android

Hello, We have integrated a map component in our application for Android and iOS. It works in France and in the other countries, but it doesn't work in the US. The map is blurred and nonfunctional all the time. The application was tested on the Samsung...

Processing error while testing alloy 1.5.0 beta 2

While test running the beta release for IOS 8 support I run into an issue, generated by the last [commit](https://github.com/appcelerator/alloy/commit/0ffee49b3650e3f110f95c9164bf3395806a8dda) added to alloy 1.5.0 beta 2 before release. The following...

Swipe scrollable view

This is my view: ~~~ <Alloy> <Window id="index" class="container"> <View class="top"> <View class="pager active" /> <View class="pager inactive" /> <View...

Android ListView separatorColor in 3.3.0

In 3.2.3, with one item in a ListView, my view looked like [this](http://imgur.com/HXu4gFz), with separators showing. Now in 3.3.0, my ListView looks like [this](http://imgur.com/ttDX2zi), without separators showing. I need to show the separators even if...

Main Window with subviews

I need a comment on my current layout of the app. I chose the following structure because I wanted to mimic a tab-layout in which each view would keep their state. A window stack would be out of the question because I couldnt find a way to open an already...

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

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