Community Questions & Answers

mobile sdk 1.5 strange behaviour

Hi, I run into strange problems with SDK 1.5 on Android: 1. imageView will scale it image to fill its container, 1.4 is fine, but with 1.5 , images messed up 2. TableViewRow can not change rightImage, the rightImage can be set at creation time, but if I...

Swipe on Android scrollableview doesn't fire

Why not? I can't get it to fire anyway. Is this only for iPhone also? ~~~ var scrollView = Titanium.UI.createScrollableView({ }); scrollView.addEventListener('swipe', function(e){ alert(e.direction); }); ~~~

1,134 views
asked 2 years ago by jj
last activity 1 year ago

Quick event-listener question

I've developed a really simple Recipe app -- read only for now. I want to add a shopping list feature in a new tab. I figured it was a good time to organise my code a bit better, so my structure is now like so: ~~~ app.js (set up 2 tabs) ...

Android not installing database

I can not get a database to install for android. As soon as the app launches it comes up with "Cannot call method "execute" on null." I've renamed the database with an extension of mp3. I've also tried using ddms to put in the database...

Looking for a freelancer

Hi, We are looking for a freelancer to develop a simple Android application which contains : 1) Splash screen 2) Menu screen 3) 3 Data entry screens (about 8 fields each) 4) 2 Info screens (labels) 5) 1 "settings" screen, which saves the...

Prevent popover from "auto hiding"

Messing around with popovers in an iPad app, and it works great. Only trouble is that if I touch on any part of the screen outside of the popover, it automatically closes it. I need to prevent this behavior as I will have a Cancel button the user should...

setTimeout crashes app

Hey! Does anybody know whats wrong with my timeout? ~~~ var timeOut = function(){ alert("ALERT!"); } setTimeout (timeOut(), 5000); ~~~ The alert does fire but the app crashes. Thanks!

Install Error

I'm getting this error when trying to compile my project using OS X 10.6.6 ~~~ Install Error Error: Traceback (most recent call last): File "/Library/Application Support/Titanium/mobilesdk/osx/1.5.1/iphone/builder.py", line 1143, in main ...

Titanium.UI.currentTab is null?

I have copied code straight from the KitchenSink to create a 2 tab setup. My program navigates between the 2 tabs perfectly. The 1st tab is just a label displaying text, the 2nd tab is a TableView listing menu items. It currently has 1 item on it. When...

1.6 Emulator Issues (GPS related)

I have an app that I started building on the 2.1 api and now was testing it on the 1.6. It seems to hang / crash when trying to run some of the GPS related code. As a test I opened up Google Maps on the emulator, when I click "My Location" it...

Titanium SDK build pitfalls

This is rather a tip than a question - I decided to share it as it costs me some hours: I'm working with several SDK version, 1.5.0, 1.5.1, 1.6.0 and so on. I ran into trouble, that my changes to the sdk where not reflected after rebuild. Pro Tip: Never...

Android map icon

Hi, I'm looking for a way to add My Location on my application. At the moment only I can do that adding an annotation with my current position, but my idea is use the same My Location from the android map, which has a flashing icon. I don't know if it's...

Can I use my own API?

Hey, I'm sorry if this is a simple question. I have a web application which accepts data trough a REST API. Can I use appcelerator to develop a iPhone app that GET/POSTs data from the application? Regards, T

Creating a web server

I'm interesting in created a web server on the localhost run from within my iPhone application. I've seen many apps do this...the local web server acts a method to get files from the iPhone onto a desktop computer through a browser. Does Titanium support...

Webview performance vs Titanium & JSS Performance

Does anyone have any experience with the performance differences in webview and titanium views etc? I am planning an app which will require several basic animations which will changed when tapped. I was planning using gif animations in webview but after...

How to

Hello, I'm using TCPSocket connection, it works fine. But when I send two or more message like this: ~~~ if ( socket.isValid ) { try { socket.write("login root root\n"); socket.write("info ?\n"); tf1.value =...

Waiting for an HTTP Client to finish loading?

I am trying to build an app that is 100% based around getting information from web pages. I am brand new to Appcelerator. Right now according to my logging, my app tries to get the information from the web page, then leaves the function and displays that...

Building layout using Interface Builder

I am a visual guy, so I need to be able to layout my labels and textfields using a WYSIWYG editor. What I've been doing so far is using Interface Builder for layout to get the x/y values. It works fairly well, although I've noticed that where IB says x/y...

Appcelerator always asking for updating

PLEASE HELP It's annoying whenever I start Appcelerator, it always updating. I uninstall and reinstall again. It still give me the same problem. I am on Windows 7 machine, with update to SDK 1.5.1 Please help

Window sub-context rendering

I am using windows with sub-context feature through out my application. When navigating from window to window, i just use open function and to get back i call the close function. When the new window shows, it starts blank and the controls render one by one...

Showing 37,901-37,950 of 47,759 1754 755 756 757 758 759 760 761 762 763 764956