Community Questions & Answers

Desktop Using C++

Hey, So I just figured this out today and thought I would share my findings. I've been trying to figure out how to create my own c++ modules and use them within desktop for a while. Behold, python + ctypes. You can create your own dlls, or use shared dlls...

How to verify Admob is working?

I am using the Ti+ Admob module. After successfully loading the module, the console is showing "Unable to fill ad request. This is a common situation." I tried it a couple of times, thinking it might be due to no ads being served at the moment,...

Xcode 4 issues all sorted out?

Hi, I'm wondering whether it's safe to upgrade to Xcode 4. Theoretically it should work - I realize that. But I haven't seen any forum comments from people stating that *it's actually worked for them to package, compile and distribute*. Any experiences to...

Create a tour with scrollview???

Hi guys! I make a part of my first aplicacion. My intention is to show a small tour with images to explain how does the aplicación.Will be 4 images, and the user must swipe to the right to see the images.I'm not sure how! ScrollView? swipe? I'm confused!...

Passcode Similar To iPhone Passcode?

Hi All, In iPhone, there is this passcode window when you set to lock your phone. Is there a similar window or control in Titanium? I'd like to implement the same and was wondering if do I need to create it from scratch?

Titanium.Process documentation and implementation

I don't know who wrote examples for Titanium.Process.Pipe or pipes implementation but they look like some kind of joke. Seriously. This one don't even compile and array is used as process object: ~~~ // Reading the output of a process using the read...

Build and barImage

when i build my app and tested in my iphone in the starting of each windows the default iphone blue bar before my barImage png. How i can solve that ? Thanks

upgraded now app wont load

I recently upgraded my iOS to 4.3 and my titanium to 1.6.2 now my app wont load. I get the following error ~~~ [INFO] Compiling JavaScript...one moment [INFO] No JavaScript errors detected. [INFO] One moment, building ... [INFO] Titanium SDK version:...

Tibar on iOs 4.2

Hi everyone, Tibar , (Zbar integration for appcelerator) requires iOS4.1, so my question is: will that work under iOS4.2 devices (in product)? happy coding..

Send image through socket

I am writing a small HTTP server socket in Titanium. The problem is I do not manage to read an image from file and send it through the socket. It always comes out some bytes short for an unknown reason. The image itself causes the iPhone simulator to beep...

Titanium 1.2.2 can't find adb

I've just installed Titanium on my Mac, and it wants me to tell it the path to the android sdk in the Profile page. I navigate to the sdk folder, but Titanium complains that it can't find adb or android. android is in the Tools folder where it is...

SQlite SUM query

How do I use SQlite SUM? Or more specifically, how do I access the sum. What I have tried is: ~~~ var itemRS = itemdb.execute('SELECT * ,SUM(qty) FROM items'); var itemQty = itemRS.fieldByName('qty'); ~~~ The items table has the 'qty' that I want to...

Pulling examples out of Kitchen Sink

Hi All! I'm trying to learn Titanium and have followed some of the basic online courses and want to try using samples in the kitchen sink, but I feel like I'm missing something. I keep hearing about "pulling examples out of the Kitchen Sink project...

Iphone:Restricting Image Dragging Area

Hi I am willing to restrict Image Dragging area. on Touchend event I am trying to reset the coordinates of imageView but they are not resetting at all. Do I need to some refresh or some other function? Thanks

What docs am I missing?

I'm just getting started with Titanium, and wanted to add a button to the left of my title bar. I found the answer via these forums (use setLeftNavButton) but when I searched on setLeftNavButton in the API docs I could find no reference to it. Are there...

ANDROID FREEZE ON SPLASH SCREEN

Hello, I have a big issue with my current project. I can launch it in the iphone simulator and everything is OK. But when i try in android simulator i just have the splash screen and then in log mod i can't see a lot of message like: [TRACE] D/dalvikvm(...

setContextMenu causes application crash.

I'm working on a problem where calling Titanium.UI.getMainWindow().setContextMenu is causing my application to crash. Here's the scenario: 1. User right-clicks on an element. 2. I create a new context menu via Titanium.UI.createMenu() and add a few items...

Date problem

Hi, I have found a strange problem (tested on simulator (french) with sdk 1.6.2) ~~~ var d = new Date(); var curr_date = d.getDate(); var curr_month = d.getMonth(); var curr_year = d.getFullYear(); Ti.App.date2use = curr_year + '-' + curr_month + '-' +...

how to bebug application into Titanium ?

Hi, I have started learning titanium framework.I was making application into iphone.I have made application and assigned breakpoints to it for debug, but somehow debug was not working.... I have downloaded titanium developer tool and started launching of...

Flickr json call

Having trouble making this json call work. Totally new to json is probably the answer but perhaps someone can help me out? --- // Create variable "win" to refer to current window var win = Titanium.UI.currentWindow; // Function...

Showing 34,551-34,600 of 48,779 1687 688 689 690 691 692 693 694 695 696 697976