Community Questions & Answers

position of label relative to previous label

Hi I'm having a detail view of data from a row. So I have a nice image on top and text below it. Now I want some labels after the text. Because I don't know how long the text will be I can't give it an absolute position? Anyone knows how to do...

[ERROR] Your TARGET_BUILD_DIR is incorrectly set.

Hi I have download the newest version of xcode and now i get this error every time I launch an application [ERROR] Your TARGET_BUILD_DIR is incorrectly set. Most likely you have configured in Xcode a customized build location. Titanium does not currently...

geolocation kitchensink

1st - I AM KINDA NEW! With KS + XCODE SIMULATOR (and some other examples) i get : LON = 34 LAT = 135 Work but is not current GeoLocation, can someone point me in right direction? Thanks!

AdMob Module Installation

Ok so here is the issue, I've built the adMob but it won't load the module for some reason. I'm able to load the module in Xcode just fine even though it doesn't show an add but this is how I have it written, and a screenshot to show the layout of the...

TiBar Module

Hey guys, i have got this module working in the past but yesterday/today i am just getting nothing from it, it sometimes works, but crashes quite quickly, or just never launches. This is the error code i am getting. Any help would be amazing. `File...

File Include Android Path Issue

I know there are now quite a few questions about this issue. Here is my latest issue, I can include files in iPhone without issue, but in Android I keep getting file not found, yet the file exists and is identical path as running in the iPhone...

1,187 views
asked 2 years ago by Trevor Ward
last activity 2 years ago

Transfer SQlite data to MySQL web server?

Hi Guys. I have my app running and storing form data into SQlite but i need to transfer the data to my MySQL web server when i click a save button. How do i go about this? I was hoping to connect straight into my MySQL DB and run an update query. Any...

1.7 Wishlist

Hi community Lets help Titanium improve the SDK as much as possible. I would like: - faster compile/install time for Android - windows phone 7 support - better third party support What would you love to see?

Caching a JSON object. Best way to do it.

Hello, Titanium SDK version: 1.6.1 iPhone SDK version: 4.2 I am trying to build a solution to cache JSON calls. I have done a first attempt that does the job, but is there a better solution? I am using textfiles to save the JSON output, is this OK...

Checkboxes: how to use?

Hello In my app i made a popup window so you can choose some criteria to filter a tableview. Now i can sort by type for examle. I've created a pop-up window with a checkbox and the name of type. The checkbox is made with an image (I Assume thats the only...

XHR not sending image over 3G

i pick an image from the photo library and capture it with the following code (extract from the Titanium.Media.openPhotoGallery): success: function(event) { imagedata: event.media } i then open an xhr, set the timeout to 0 to stop false timeouts, and...

Add to array from function does not work.

Titanium SDK version: 1.6.1 iPhone SDK version: 4.2 I got a function in a seperate file that returns a section for a table view (http://pastie.org/1734554) and on the main file I got a call to this function with a callback. I want to be able to extract...

Android is fail.

Hi, I am trying to build an Android app, any Android app. I have tried with a fresh blank app, the kitchen sink and also an iphone app i am working on. All fail to even launch on the emulator. I can get the emulator to a nice black screen where it...

Make kitchensink available to designers

I wanted to make kitchen sink available to designers without learning or installing Titanium and Kitchensink. I did not see an app in the Apple Store. Is the only way to install on a device? If so, I noticed TI developer 1.2.2 TI SDK 1.6.1 will not...

EventListeners

Situation -------- My application contains a tabgroup of two tabs. ### Tab 1 This tab contains a window with eventlisteners attached to some of it's elements ### Tab 2 This tab contains a window with dummy view, not important for this...

Cannot click Kitchen Sink project after clicking another

I can click and test KitchenSink when TI starts. But if I click my one other project, I can no longer click the Kitchen Sink choice in Projects until I restart TI. Out of curiosity I have clicked Run On Device for Kitchen Sink because I am looking for...

Webview fireEvent

Hi, i'm using a webview to show a non local url and i like to fire a event. But i can do it because Titanium isn't define. Following code show a alert with message: ReferenceError: Can't find variable:...

Image Picker in Titanium

I tried on kitchen sample code but I didn't find it. I want to make - get image from Library - take image from camera Can I get sample code ? Update: I found on Phone tab.

verify if a file exist

Hi! I just want to do something very easy...but there is a problem with methods i use: I want to check if a files (by exemple 'test.txt') exist. If it does, then we do somthing, if it dont, then we do something else: ~~~ var path =...

698 views
asked 2 years ago by Florent Cardot
last activity 2 years ago

External Accessory Module Development

Has anyone dabbled in the module development of the external accessory framework? I am trying to find any information I can to do it. Pointers, examples, anything... I've read the module development documentation, but just looking for some guidance.

Badges not displaying in iPad app

I've pasted my code below. I can't get a badge to display in my 'Notifications' tab. I don't have an icon assigned for the tab. Could that be the problem? I've also tried using the setBadge method to no avail. I've also tried adding the badge after the tab...

JSON + Compression with PHP and Appcelerator

Hi, I am trying to fetch huge chunk of data from the server to the mobile. I am using PHP on the server. I would like to have my data compressed before sending from server to client. I know PHP uses gzcompress for data compression. I was not sure if there...

Showing 34,751-34,800 of 47,759 1691 692 693 694 695 696 697 698 699 700 701956