Community Questions & Answers

Can't get scroll to work for my application

Hi guys, I am trying to build a simple application, that goes like this ... https://gist.github.com/852184 ... and then further down the code, I am adding more label's button's etc. However, once everything is said and done and the app gets deployed on...

How to open image in new window with this code?

Hi, I have this code and I can't open an image in a new window. What am I doing wrong? ~~~ var win = Titanium.UI.currentWindow; win.title = 'Fotoalbum'; win.backgroundColor = '#fff'; var view = Ti.UI.createScrollView({ layout:'horizontal', ...

Change leftImage's size

I'm building a table in a view like so: ~~~ var data = [ {title:'Antique Vicenza', color:'#fff', selectedColor:'red', leftImage:"http://image.com/image.jpg"}, {title:'Row 2', color:'#fff', selectedColor:'red'}, {title:'Row 3', color:'#fff',...

979 views
asked 2 years ago by Chad Huntley
last activity 2 years ago

Animate a Gauge

I am trying to animate a gauge and implement a sprite sheet. What would be the best way to accomplish this with Titanium.

rss image problem

Hi, I made my rss reader including an image. Now the problem is that if there is a feed that doesn't have an image included an error occurs. How to write the code that when there's no image in the feed to pick a standard/default image? this is my...

Upgraded Titanium Now CAN'T RUN TEST!

Just updated to the new version of titanium and now I can't test code via emulator or device. I keep getting this error: [ERROR] JDK version 1.5.0_26 Please help!

Appcelerator Training Options

I have a question about the two training options available. On the AppU Training page here: https://developer.appcelerator.com/training the modules are $50 each and there is one for UI Fundamentals, one for Working with Local Data and one for Working with...

Creating services with START_STICKY

Is it possible to use the Android.Service API to startup services with different flags? I've been reading through this: http://dalelane.co.uk/blog/?p=1599#more-1599 and it seems difficult to implement everything he is talking about.

Android Permissions

if we are calling the standard Android sms, phone calling and google maps functionality from our app....do we need to manually update the Android permissions in our manifest file for these? Thanks ~Brian

Appcelerator people, fix the login

Dont know if I'm the only one, but when I am in the Q/A section and login, it redirects me to my dashboard. If I wanted to go to my dashboard, I'd go there. Also, how about extending the login expiration?

Search Database

Hello, Could someone point me to a tutorial on creating a search view, similar to the search bar in several of the tables found in the Kitchen Sink app, that searches a local sqlite database and returns the values in a table view? I've googled myself to...

gesture orientation implementation. how to do it?

Hello. I'm trying to implement the gesture orientation in my app. I have several windows where I want to reposition some fields depending on the orentation changes while the app runs. After trying some approaches, I'm getting frustrated because I'm not...

Only image is shown at the Button

Only the image is shown at the Button: ~~~ MainWindow.shoppingcart = Titanium.UI.createButton({ title: 'Orders', image: 'icons/shopping_cart.png' }); ~~~ What is the code to show both, the title and the image?

RTL

Hi, ~~~ var row = Ti.UI.createTableViewRow({ title: titreArticle, rightImage: imageArticle }); ~~~ my title is in arabic (right to left) how display from right to left ? thank you

tableView EventListener problem

I've got 3 listeners on a table view one for click and one for touchstart and one for touchend. touchstart and touchend don't report the correct index after 6, but the click listener does. Can anyone confirm that this is a bug and if not what could I be...

ARti: Facebook session not being stored

Hi guys, is anyone else having an issue with ARti where, after logging into Facebook, on the device, you are not returned back to the ARti app? Opening ARti again doesn't pick up the logged in session either. Bizarrely, it works fine on my simulator,...

OpenGL Possibilities for Appcelerator Titanium Desktop

Hello, I am trying to evaluate Appcelerator Titanium Desktop as a potential framework for an application we are building that makes heavy use of OpenGL. I have been browsing the source code, trying to what is possible using native modules (obviously...

Optimizing app

Can anybody help me discover how to strip the code before compiling for unnecessary ballast? For instance if I make a new mobile (Android) app in Appcelerator and the default code is generated (with the 2 tabs and windows), What can I delete to make the...

I want to add admob

I want to add admob in my application for android but i cant find a way to do that does anyone know how to do this? I have follow some example but none of them works Thanks

SQLite Database Install

Hello All, I'm dusting off my very few and very old SQL skills. Following a couple of tutorials on importing data as tables. My questions is - how can I install multiple or all of my tables from a database? Everything I've seen refers to bringing in...

UnicodeDecodeError

Hello. After installing and starting a new project "Desktop" ( Win32), an error "UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 32: ordinal not in range (128)" Please, help me.

Android service from module

HI I create a module in titanum Android win 32 which has a service. how can I start service from titanium Android application from java script. What type of mainfeast.xml or tiapp.xml required to be change for startservice. How we can use...

Showing 35,901-35,950 of 47,732 1714 715 716 717 718 719 720 721 722 723 724955