Community Questions & Answers

Memory leak...

Using this code: index.js: ~~~ var args = arguments[0] || {}; function klik() { Alloy.createController("debug").getView().open(); $.destroy(); $.index.close(); } $.index.addEventListener("close", function()...

Getting more helpful error messages / Alloy

I started a while back using Alloy and I have to admit that its lack of meaningful error messages is just incredibly annoying. When I get as an output something like this: ~~~ [DEBUG] : module.exports = Controller; [DEBUG] : [DEBUG] : ...

How can I open a child view with the selected model in Alloy

I have a TableView with a list of players. On click of a player I want to open a view showing data for the selected player. How can I bind this correctly in Alloy? The code to open the child view looks like this. ~~~ function viewPlayer(playerId) { var...

Alloy remove ActionBar from Android ?

Hello i want to remove the Action bar from android and keep only the activity how i can' do that ? my app working on both iPhone and Android , but on android there is action bar i don't need it any advice ?

App icon has grey shadows

I have placed my app icons in my iphone resources folder, however, I get strange shadows around my icon when rendered on the simulator. I am working in an alloy SDK 3.2.3 IOS 7.01 I have tried png 32 with tranparency, png 24 without. If I place a dark...

Center align Image view inside a View

I'm trying to create a header banner in a screen with some color and to add an image to that banner horizontally centre aligned. I'm getting the image left aligned, Is there any option for aligning it to the center of the banner without using left, right...

ListView empty on Android

I have a listview that works on ios but on android the list item just displays the text "label" https://www.dropbox.com/s/i9qflqwiz5l1jjr/Screen%20Shot%202013-06-07%20at%2010.21.03.png events.xml ~~~ <Alloy> <View...

social.js authorize UI crashes on android

###Environment - OS: Mac OS X Yosemite 10.10 - Titanium SDK: 3.4.0GA - Alloy: 1.5.1 - Titanium Studio, build: 3.4.0.201409261227 - Android Genymotion emulator: Release 4.3 - API 18 ###Problem Upon calling the 'authorize' method, the loading view opens and...

Android resource images problems

Titanium SDK 3.4.0 for Android on Mac OS Hello, I have a little problem with my resources. When i haved replace appicon, my app start display wrong images. My app worked perfectly before this changement. For exemple: my app display /image/img2 instead...

Alloy.Globals.stripHtml

Hi, I'm using the following code to display the details of the news. But in showing incorrect characters for detail news that Turkish characters. Should I not take the news directly? // TODO: // Add comments $.args = arguments[0] || {}; var...

draw an image in a picture

Titanium SDK 3.4.0 for IOS an Android Hello, I want to put a logo in the bottom right of a picture and save it. I don't want to show it, just want to take the picture, draw the logo and save. I know how to save the picture. ~~~ module.exports =...

alloy imageView with remote image not work

var advImage = Ti.UI.createImageView({ width: '100%', height: 40, image: 'www.example.com/ab.jpg' }); i cant use remote image url in imageView anymore. it worked on older titanium sdk but not with alloy. any tips please?

Fetch data from sql, Alloy

Well i just wanted to fetch data from persons table without using Query This is what im doing right now but i have no idea where i am wrong ~~~ function showPerson(event) { var selectedPerson = event.source; var recoverDatabase =...

Showing 1-50 of 3,500 1 2 3 4 5 670