Community Questions & Answers
TableView and No Data label
Hi, does anyone know how to add "No data" label to middle of the table view? I need same thing like is in the contacts (iPhone native application - [screen](http://oi41.tinypic.com/4hb2c3.jpg)). Now I am using: ~~~ var row =...
Keyboard move scrollview slightly left
Hello, I'm pretty new to titanium and am having a problem with the keyboard moving my scrollview left. I'm using Titanium 3.1 and am focusing on IOS and Android. I have a scrollview that I have set the contentWidth and width values to 100%. I have also...
Deploy iOS - Invalid Binary
I deployed my updated iOS yesterday. I tested it int he simulator and on the device. After packaging I validated it in Xcode and it passed. Then I uploaded it and it it said processing I think. I checked it today and now it says "Invalid...
Distribute app via Apple App Store, generates only ad Hoc
Hi, When distribute app via Apple App Store I only get a .ipa file, Xcode won't open and my app won't show up under archives. Why is that?
How to destroy a WebView from memory (iOS)
Hi, I'm trying to remove a webView from memory, removing from its parent component and assigning `null` value to it. This works with any other component in the same view, but not for the webView. I've tested with xCode profile tools. Using Allocations...
External baseui content from external URL in webview
I would like to add external web content from an external web page in my webview. I haven't seen it anywhere. Is it possible? Like from this website [http://www.clover.co.za/home](http://www.clover.co.za/home) I would like to add only that text about...
fixed the memory leak but wont reload my view
I am using the suggestion from this post ... http://developer.appcelerator.com/question/116867/this-is-a-solution-to-your-memory-woes ... and it works sort of... if clears the screen of the Objects but when I try to reload the rootView it doesn't work ......
how to use iOS InApp purchase for manage app modules
Hi, I've seen that in market place there are modules for manage iOS inapp purchase features, but how can I manage this: - my app as a core structure with 1 story - user can buy other stories how allow to buy/download new stories? where to download...
How do I do this ?
I am trying to figure out how to do this ... I am placing dots on my screen where the user touches... I originally saved the "createView Objects in an array but that wont work there are too many so then I decided to save them in my database . I cant...
Formatting strings from i18n
How do I format or stylise a string? I want to make it bold, but not the entire string. Just certain segments in the string; "Operating in one form or another since <b>1898</b>", but this markup method doesn't seem to work although...
NavigationController opening-issues
Hey there, I'm currently experiencing some strange issues when using the Ti.UI.NavigationController (iOS). I have uploaded the problem in a smart clip here (https://vimeo.com/66475345). I have a custom Window-Class here: http://pastebin.com/xhZSaTDh And...
Best practices questions for Local Notifications on IOS
Hello all, I am wondering what the best way to implement localnotification on IOS for my app Goals. Basically Goals allows you to set a goal, and with that reminders (hourly, daily, weekly, etc). My question is when they save that goal how many...
Can push be implemented without using urban airship or ACS?
I have my own server which is supplying all the data for my app, and wanted to configure my server to push notifications to my app on its own. I really dont need to send data to a third party like urban airship or the ACS. Is this possible? I've only...
Is there a callback for progress when sending data to a network socket?
I have a function "send" which is shown below, that is part of a networking .js file I'm building up and have run into a problem. Everything is working except for being able to track progress when transferring a file across the...
File and TiBlob not working on iOS
Hello, I'm trying to read a file and encoding it on Base64. Everyrhing is working super good on Android but when I use the same code on iOS I can't make it work. This are the exact steps. I take a photo with the camera and save the thumbnail as...
Count hasCheck in multiselect(tableview).
Im having a problem with the counting of how many hasChecks are "true" in a multiselect(tableview). I need to limit the amount of options selected. Code: ~~~ var mSelOpts = Ti.UI.createTableView({ ...
Map with Pins using ImageViews
Hi, I am currently trying to create a map with over-layed pins using Titanium. Similar to how Google Maps looks. Below is a simplified view of my Alloy page layout: ~~~ <Alloy> <Window id="Map"...
Admob module upgrade to not use the UIDID
Does (and WHEN) Appcelerator plan to update admob module with the lastest sdk? [https://marketplace.appcelerator.com/apps/795?354168891#overview](https://marketplace.appcelerator.com/apps/795?354168891#overview) on the market and...
View not centered after exiting CoverFlowView
When i use the below code it enters the cover flow view fine, and exits it fine, however when i tab to another view the view appears in the upper left corner almost completely out of...
fbsessions should only be used from a single thread - Facebook module 3.1.0
Hi! I just updated Titanium and installed the iOS Facebook-module. I have a loginWin that authorized my fb-app and create a ACS-user. But now, when I have configured my code for 3.1.0, I always get this error: "fbsessions: should only be used from a...
iTunes store distribution failed due to UDID/uniqueIdentifier issue
My app validation is failing in Xcode when I attempt to distribute the app. Apple must have updated their validation process in the last few days since now you get the error message in Xcode instead of uploading the binary and receiving the error...
[WARN] : Called remove for [object TiUIView]
I am storing the top and left values, then trying to read and pass them to a (new or old) view when needed. I am getting [WARN] : Called remove for [object TiUIView] on [object TiUIWindow], but [object TiUIView] isn't a child or has already been...
Appcelerator and Good Dynamics SDK
Does anyone know if there is a way to integrate Good Dynamics SDK into a Appcelerator Titanium application?
removeAllChildren not working on View
Using SDK 3.1.0GA on OSX with xcode 4.6.2 for iOS. removeAllChildren works on a scrollView, but no on a plain View. however, calling remove(child) works just fine. is this something weird with my setup or others noticed too?
Tableview - modal transition error
Hi, I'm implementing an RSS reader with a tableView. Clikking a row open (modal transition) a new window with a browserView pointing at the RSS row's url. When closing it come back to table view. But, if I click again in a row the App crash: ~~~ [DEBUG]...
Compiling of modules with assets
Hi, I like to use the [AGCalendar](https://github.com/Appgutta/AGCalendar). I downloaded zip, unzipped and modified in titanium.xcconfig the line 'TITANIUM_SDK_VERSION = 3.2.0.v20130510175642'. After running of `python build.py` a new zip file is in this...
Multiselect - limit how many options can be selected.
Im trying to find out a way to limit how many options can be selected in a multiselectview. How shall I make the if-statement? ~~~ var mSelOpts = ui.createTableView({ style: Ti.UI.iPhone.TableViewStyle.GROUPED, ...
Multi Page tif-Image - display in Titanium?
Hey, i wanna display a multi-page tif file in my application, but webview only shows me one page of the tif-file. Any idea how to show the other Pages? My current thoughts are around splitting it up before, or some image transformation - don't know if...
Titanium.map Issue
The Titanium Maps module uses version 1 of Google Maps. Google is no longer providing api keys for version 1. The Maps module mentions needing to use a new plugin for Android, in order to use version2 of Google Maps, but makes no mention of what to do on...
Ignore certificate in webview
Hello, i'm need for testing to open a https url in a web view. The result is: [ERROR] : Error loading: https://demo.primum.es/, Error: Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to...
GPS Navigation
Is it possible to create "Get Direction" option in Titanium to function in following way: 1. - User click on "Get Direction" button 2. - Intent dialog is opened, and user can choose if directions are calculated via google maps or iGo...
Module development -- NSURLRequest
Hello everyone, I am working on a module which requires direct NSURLRequest functionality as opposed to the Titanium HTTPClient. It works fine on in a normal iOS application, but when used in a module -- it doesn't seem to send at all and doesn't give...
Open an ibooks file from my app into iBooks app
I currently allow the user to download ".pdf" and ".ibooks" files to my app's directory (iOS only app). I need to allow the user to "open in" another app. **This already works great for ".pdf" files using the...
SQLite error binding unknown parameter type
I am build an app for iPad, I am getting this error ~~~ Script Error = SQLite error binding unknown parameter type 'TiUIViewProxy'. Value: '[object TiUIView]' at database.js (line 96). ~~~ as I try to save my Ti.UI.createView to a data base so that I...
Function call
Hello everybody.. I am stucked in a weird problem regrading to function call. I have declared a function in my map.js file but when I call it in my app.js file it is not accessible in fact reports an error as "undefined is not a function". My...
iOS - problems with fonts
Good evening, i want change the font from a label. I had read the documentation but it does not work for me. http://docs.appcelerator.com/titanium/latest/#!/guide/Custom_Fonts I try many fonts like "Arial" or "Helvetica" also i...
Open Gallery when camera is opened
Hi, I'm trying to select a picture from gallery (with the camera already opened) to overlay with the camera view. The problem is that I cant take a picture after select the image from the gallery, because some camera problem (works if I dont open the...
Static library in module.xcconfig - how does application project get the correct path to the library?
I've added a third party framework to my iOS module's module.xcconfig file as follows: ~~~ OTHER_LDFLAGS=$(inherited) -framework SomeFrameworkName ~~~ The problem is that the application project using this module does not find it because the...
can not access facebook
hi Its been a couple of days i started working with titanium and got familiar with the framework. Its really cool framework. Now i am building an app trying to connect with facebook.... I also registered an app on facebook developers and got the id.But it...
Can you remote debug a WebView
I have an app that includes a WebView on iOS. Apparently, it should be possible to enable remote debugging on such apps from Safari on Mountain Lion. Can this be enabled with a webview in Appcelerator? It seems it can be done in native code like this:...
Picker Custom UI
Hi there, Been searching around but have not found any info or doco on changing the picker UI? I have a date one setup but would like to modify the look of it as it is rather boring and considering the real estate the stupid thing takes up, i'm hoping...
Stream video
Hi. I am wondering if it would be possible to do a feature in an app that allows the owner of the app to record a video and have it shown in the users devices in real time. (Push notifications to let them know that there's a live feed going on.) If...
Loop through a Json File ?!
Hey Guys, i have tried several things, but i just can't get it work... I wanna loop through my json data with a recursiv function. I've uploaded an example to my webserver. Help would be so much awesome. my mind is totally fucked by that stuff...
Why I can't use all Cookie ?
OK, probably I found next bug, I want to send Cookie by xhr. On Android no problem... ~~~ xhr.setRequestHeader('Cookie', webView.evalJS('document.cookie;')); ~~~ ,but with same line on iOS I get error: [ERROR] invalid arguments for setting cookie. value...
Update the ti.admob module to lastest admob sdk 6.4
As you may know, Apple will now reject applications that use the UDID. So application with old admob's sdk should be rejected too... But Google has just release a new admob sdk :...
email dialog not working
Hello, i'm having a problem using email dialog, although i set the subject and messageBody the dialog report no subject and write two "undefined" strings in the messageBody, i've tried different ways to make it, using setters o passing attributes...
Socket - Node - Data - Write
Hello, I build up Mobile Application with Titanium SDK (Titanium Studio, build: 3.1.0.201304151600). My Platform should be Android and IOS. I developed at Windows Hosting System. My question: I´m new at Titanium. I will build little Testing App to get...
Problems publishing apps on itunes because of UDID
Hello! Since apple does not allow to acccess the udid i have a problem publishing my apps. Does anyone know about issues for these three modules (in relation to iOS): ti.cloud v 2.3.3, ti.admob 1.4.0, facebook 3.0.0 Is there also a recommended way to...
get TabGroup container window
What I'm trying to do is open a window when the user clicks a button that exists in a tab. In android it works ok with `window.open()` while there is a back button on the device. On iOS, I'd like that click to spawn a `NavigationGroup` that will lead...
Issue with TableView heights & Window animation on iPhone 5
Hi guys, I have two weird issues on an app i'm upgrading so it is iPhone 5 compatible. Both of these issues did not occur on iPhone 3.5 inch screens. For reference, I'm using the latest Ti SDK. 1. First issue is my app no longer animates when clicking...