Community Questions & Answers
Display string as image
I queried an sqlite DB for an image type. I converted that BOLB to a string as I am passing back a JSON object from a web service. I verified that the string matches the contents of the sql image type field in the database. My problem now is that I have...
"Project creation error: Error creating project. Please try again."
Hello, After selecting Mobile for "Project Type", the IDE successfully found the location of the iPhone SDK and the Android SDK, and I have version 1.4.2 of Titanium. I supplied the required information, then clicked on "Create...
Kitchensink...no way to run
Hi, I've just installed Titanium and imported the Kitchensink Example project. I've also installed the complete Android SDK and the iPhone SDK (3.2). I tried to start the App using the emulator. For iPhone/iPad no error occurs but the emulator does not...
Detecting New Lines in a TextField
Ok, so I have a tableview with a row where the user enters text into the row. It does this with a textfield child of the tableviewrow. I would like to be able to take text pasted into the textfield and split it up by newlines. The problem is newlines are...
App crash with 20+ ImageViews in ScrollableView
Does anyone know how to dynamically add and remove multiple ImageViews in a ScrollableView? If I have more than 20 ImageViews in the scrollableView of my app, it crashes.
Can we save position where the user left off in the video?
Aa the subject says, I want to save the position where they left off and allow them to pick up again from that spot the next time they view a video. Is this possible?
im confused with the iphone4 resolution.
im just trying to show a fullscreen 640 x 960 image in my iphone4 app but only half the image shows up (as if the screen's resolution was 480). Any clue what i am doing wrong? thanks pages[0] =...
title bar
This question is related to the following one: http://developer.appcelerator.com/question/85961/tabgroup-background-color The problem was that I needed to style a tabGroup, but since that's not possible, I recreated the tabGroup with images and...
TabGroup background color
I recently ran into a problem, i've created a tabgroup with 3 tabs in it, now i want to change the background image of the entire tabgroup, so it looks like...
1.5 mobile SDK cant use Ti.App.createBackgroundService
Is Ti.App.createBackgroundService not yet in the latest build of 1.5? or am I using it wrong? --- var serviceProxy = Ti.App.createBackgroundService({ url:"bg.js" }); --- I am getting an error of: [WARN] attempted to load:...
Galaxy tab as a development device
Hi all, I was looking at getting a Galaxy Tab to do on device testing for Android, and would appreciate any feedback you have around this. Is there anything I should watch out for using this device? Am I able to assume that if my app runs well in the...
MODAL_TRANSITION_STYLE_PARTIAL_CURL only opens once
I am trying to use MODAL_TRANSITION_STYLE_PARTIAL_CURL to curl up my current page to show some options, this works, but only once. After its closed by touching anywhere else on the screen, it won't re-open. The buttons click event fires, but is just not...
Cross Platform Ads
Hi there, I have built my iPhone app, and all is well. I have integrated AdMob into it using a plug-in I have found and that works well. I'm trying to make the app multi-platform so that it will run on Android, and Blackberry (once support is...
TextArea not accepting new lines via return button
I am having an issue with the use of the TextArea, where I am not able to add a new line via pressing 'return', as pressing 'return' simply blurs the field. > [Here is the code I am using ](http://pastie.org/1347155) Any help would be appreciated :)
Titanium API on a remote webview
Hello, I am not sure if this is actually possible, I have been trying with no luck, buy maybe you can help me. What I am trying to do is run some basic Titanium API calls from a remote web view. So, for example, I have a data.js which calls a...
CarPro Is now in the AppStore
Hi guys and girls, Yesterday Apple approved CarPro, the no more fines app built on Appcelerator. http://itunes.apple.com/gb/app/carpro/id404752873?mt=8 If you would like to download and review the app please feel free to email me your iTunes email...
iPhone Distribution help
I accidentally revoked my original Distribution Certificate (don't know what i was thinking)... now I've created a new cert from osx and re-submitted it. I don't think it's working... help?
Does appcelerator have a calendar function?
I originally built my app using Google's App Inventor and used its Clock to calculate dates and such. Does appcelerator have any calendar functions built in? Something like GregorianCalendar?
how to connect to database using sqlite python
I can not connect to my database using python and sqlite3 My code is right? ~~~ # -*- coding: utf-8 -*- import sqlite3 def setPesquisa(): oCliente = document.getElementById('txtCliente').value oData = document.getElementById('txtData').value ...
Dynamic view change title
Okay this is confusing me... I have a database that I create a bunch of buttons and it is done in a while loop. I create buttons that open another view for a customized selection. When a selection is chosen it would then change the title of the button...
how do I reset a view?
I'm having a problem figuring this out, and have tried for days! I figured it's time for help! I'll try to describe this as simply as I can. My app uses a navGroup to switch between windows. Win1 is the main window, and Win2 is the second screen. Win2...
Titanium Desktop - Window hides, but doesn't show again
I'm reasonably new to Titanium, but I was following some tutorials. I came across the [Tweetie-like desktop application video](http://vimeo.com/4320245) and wanted to implement functionality similar to the OS X tray icon that hides/shows the main app...
Stopping GPS Service
Is there a way to stop the GPS services once you have captured the location data and removed the listener without having to close the app?
scrollableView does not pan if views contents are wider than screen width
To show jpegs showing a double-page catalog, I created a scrollableview with views containing images that I need to show as high as the available screen height. As a consequence the views width oversizes the screen available width. When I try to move...
Table view navigation
is this the wrong way to make a tableview with childs? I cant figure out how to make the different pages with different content: ~~~ var win = Titanium.UI.currentWindow; win.backgroundImage = '../images/tableview/brown_bg_482.png'; // data for...
Titanium Developer Job Board?
Just a thought... Is there a place where employers can post Titanium projects for the community? Perhaps this could give Ti developers a way to showcase apps and find related projects. Is there interest in the Ti community to support this idea?
Label text cannot be set unless initialized first...
Just noticed this earlier today.. if I have a label, with no 'text' attribute.. I am unable to later update that attribute.. label.text = 'blah' will do nothing.. no error. .or anything... but if I at least have createLabel({text:''}) then label.text =...
iPad app freezes other times ONLY on device.
Hi there !! yet... the same question ? I don't know. Well... I got the kitchenSync-iPad from GIT. It was imported with no errors and compiled as well. It's running very well on simulator. It shows its splash screen and all is everything ok. But only on...
Slow games
Hi, I've made 2 versions of the same game, one using Titanium.UI components and other using plain JS and running in Titanium.UI.WebView (you can run game.html file in your browser as well). Both versions are very slow on the Phone. Check it out. Mayby...
QA E-Mail Notifications??
Asked before [here][1], I know... I have answered and asked question on this forum and I have not once received an e-mail notification on any of the issues... Are you guys certain this issue has been resolved? Do I need to have some special...
Tab bar High res icons don't get correctly sized.
Well, I'm trying to set an Hi-Resolution icon for my Tab bar as per Apple Human Interface Guidelines: Tab bar icon (optional): Approximately 30 x 30 (3G / 3GS) Approximately 60 x 60 (high resolution) So, I made great looking 60x60 icons and I'm trying to...
White gap in tableview rows
I have a table view with rows populated with images. Each image shares the same color background, creating a nice feel to the app, except there's this really annoying 1 pixel white strip in between each row. This is on iPhone. I haven't tested on Android...
Build with 1.3 using SDK 4.2 possible?
My app runs fine with Ti 1.3/SDK 3.1.3. After moving to SDK 4.2 (and of course loosing SDK 3.1, thanks to apple) my app shows multiple errors using 1.4.x or 1.5pre (htppclient, tableview, map, geolcation ...) So I would like to wait, until some of the...
Xcode could not locate source file: TiObjectRef.cpp
Anyone else run into this while debugging in Xcode? I've hunted around.. and cannot locate the file.. even in older builds..
Stopping iphone from asking current user position for map?
Hi, I have a map view that displays a single annotation. Something like this: ~~~ var mapView = Titanium.Map.createView({ mapType: Titanium.Map.STANDARD_TYPE, region:{latitude:mapRow.lat, longitude:mapRow.lng, latitudeDelta: 0.05, longitudeDelta:...
android:back event doesn't work
I'm trying to use an android:back event on a heavy-weight window (opened using modal:true) to close the window when the back button is pressed. However this event never fires, is this another bug, I copied the code exactly from Titanium's own...
Add count(badge?) to tablerow
I'd like to add something like a badge with a count to a tablerow. The only code examples I've seen involve badges on tabs. Here's a pic of what I'm trying to do: http://img230.imageshack.us/img230/2899/mailunified20101116.jpg Any ideas? Thanks edit:...
Invalid method (createToolbar) passed to UIModule on device
Hey. I'm trying to create a toolbar on a modal window and it works well on simulator. But after installing to the device and then it shows the error "invalid method (createToolbar) passed to UIModule on device. The version is Titanium 1.4.2, iOS 4.2,...
Route/Navigate to.... [TomTom?]
Hi there, I was wondering if anyone knows how to push a postcode/address into the native TomTom app? The app 'AroundMe' does this well which is what I'm trying to replicate. Many thanks
Android Video Player within a non fullscreen window
Is it possible to have a video player that can be inside a window that is smaller than fullscreen. Example. Window with a navigation area at the top and then a window below it for content. Video is tapped and video should open within the content...
EXC_BAD_ACCESS when show camera
hello I'm debugging my app because it crash when take a photo with the camera. Debug console show EXC_BAD_ACCESS and app crash. I'm compiling whit stable 1.4.2 sdk. Any idea about this error?
iphone app build error
I have installed kitchensink in titanium and build app in Xcode with iphone simulator 1.3.1 as the output. its give me errors: Undefined symbols: "_OBJC_CLASS_$_NSURLConnection", referenced from: __objc_classrefs__DATA@0 in...
i18n from 1.5 works in the Simulator but not in the Device
Hi All, I was looking for a i18n solution for my project, and I found this blog post from Jeff (http://bit.ly/hv3VpE). This is really great, I'm using a nightly build of 1.5 due to a bug in the HTTPClient, and as a side effect the i18n is already on my...
Search field, not search bar?
Hi, I am trying to implement a search field on the top right of my IPad app. For some reason i cant define where the search bar will be located. Its possible? Can someone point me to some examples? thanks in advance
Unrecognizable Error in iPhone Log
I am getting this error when I run my iPhone App. Can some one shed light on what the problem could be? Detected an attempt to call a symbol in system libraries that is not present on the iPhone: mmap$UNIX2003 called from function...
Bug in Grouped TableView?
Hi there, I'm deploying an app for iPad and I've been working with tableviews. This is the code I use: --- var myList = Titanium.UI.createTableView({ style:Titanium.UI.iPhone.TableViewStyle.GROUPED, backgroundColor:'#ff0000', ...
Have 'back' go to previous window instead of close the application
I am having a similar problem as [this one] (http://developer.appcelerator.com/question/37081/stop-the-back-button-closing-app-on-android). Basically, I want my 'back' button (in Android) to reopen the previously opened window, instead of closing the...
HTML
Hi, I have created two html files namely index.html and weblike.html in the resource directory.In the main app.js file i was called the index.html in the below syntax. var win1 = Titanium.UI.createWindow({ url:'index.html', title:'Tab...
Calling HTML.
Hi, I have created two html files namely index.html and weblike.html in the resource directory.In the main app.js file i was called the weblike.html in the below syntax. var tab2 = Titanium.UI.createTab({ icon:'static/weblike.png', title:'Tab...
Navigation of pages
How would i navigate from one page to other page? which control i have to use?
Showing 39,051-39,100 of 47,640 1 … 777 778 779 780 781 782 783 784 785 786 787 … 953