Community Questions & Answers
So it is impossible to develop an iPad/iPhone app in windows env?
I downloaded the Titanium Developer and watched the into video. It mentioned that to install the iPhone SDK you need to be on a Mac. So I assume that I can only do Android development on Windows/Linux then is that correct?
Unable to add device calendar event (Android)
Using the sample code from the docs I am unable to add a calendar event in Android. I have my permissions set to READ_CALENDAR and WRITE_CALENDAR in the manifest (via tiapp.xml) I was getting a security exception until I set those correctly. I verified...
Code completion in Titanium Studio
Currently, I am using the Titanium Studio Preview for Mac. But It is not working Code completion for Titanium Mobile SDK methods. How to enable Code completion for Titanium Mobile SDK methods ?
Refreshing content on page renders multiple layers.
Hello, Titanium SDK version: 1.6.1 iPhone SDK version: 4.2 I am developing an app that is fetching information from an API. In this app, on this page, I got two ways of "refreshing" the content. When the window is focused and when I tap the...
Pain on Ubuntu
I installed Titanium following the instructions provided by Daniel Lopez (http://journal.dalopez.com/post/1233148348/titanium-desktop-on-ubuntu). When I start Titanium, I get the following: ebeyrent@nighteyes:~/.titanium$ ./Titanium\ Developer...
Ruby methods return not Strings but RubyKObjects.
It is very easy to pass raw strings (eg. "abc") into my Ruby programs, but when I pass the result of a method call (eg. Titanium.Filesystem.getApplicationDataDirectory()) I get not a String but a RubyKObject. This can result in weird errors when...
Installer fails on windows
When I try to install either the Appcelerator Titanium or An application that uses Titanium (wunderlist from 6wunderkinder) it gives me this error when I open the .msi install file. [Screenshot](http://img810.imageshack.us/i/anium.png/)
SoundSnap Camera App Approved and Released!
After a month of learning how to code, use titanium and all its quirkiness, the app is finally done and approved by Apple! It's my first mobile app ever! It hasn't been easy... dealing with the general bugginess of the sdk, issues with the camera and...
mongoDB driver for Titanium (iOS and/or Android)
I'm looking for **mongoDB driver** for Titanium. I understand that I can just use Python or write a module, but I'm looking for an easier/faster way and would like to stay in JavaScript. Any info would be appreciated...
problems with navbar buttons ( rightNavButton and leftNavButton)
Hello Guys. I'm having some trouble regarding navbar buttons. I have a navgroup set and all works great on back buttons.. I have the default left backbutton on my navgroup and i set my window rightNavButton a view that contains a set of 3 buttons ) the...
App approved!!! Now on iTunes.
Just to let you know that our app was successfully accepted in the app store and now is available. Just like to thanks all the people here that in any way help me solve many issues during the process and everyone that take their time to answer questions...
Help with switchCamera?
Hi, I'm using the following code, adapted from the KitchenSink, to try to flip the camera from the rear to the front and back. It doesn't seem to do anything, though. When I tap the button (which is in the overlay view on top of the camera) it reports in...
Problems with positioning (changing view's 'bottom' value does not move labels inside)
Hi everyone, I'm trying to "lock" the position of several labels inside of a view, here's the code for the view: ~~~ // Create the variable input view var toVariableView = Ti.UI.createView({ bottom: 0, left: 38, width: 272, backgroundColor:...
Build Titanium Developer from source
I've cloned ~~~ https://github.com/appcelerator/titanium_developer.git ~~~ but the README has no instructions for actually building the source. There's also no Makefile or SConstruct. Is this code meant to be build, or is it just one part of Titanium...
Resizing remote images to pre-defined dimensions
Hi all, I'm currently trying to build a tableview with remote images. Each image displayed in the table needs to have the same dimensions. However, since the original remote images are of different sizes this task is proving to be difficult. I'm certain...
Release of Ti Mobile 1.7
Hello, When will the Ti Mobile 1.7 be released? Is there any cool features and fixes in this version? Thanks!
Lazy load images
Hello, Titanium SDK version: 1.6.1 iPhone SDK version: 4.2 How can I "lazy load" images into a table? When using for example the Titanium build getGlue the images are loaded as I scroll down the page. How is this done? I also see that they are...
Video optimization
I'm creating a modal window with a video when my app starts. It runs fine in simulator, but in device, i face two scenários: - if i close all apps, it runs fine; - if are many apps opened the app crashes when i hit the modal window close button....
Creating iPad app WITHOUT Apple DevCon
Dear Community! Have I any possibility to create iPad app's without sign a contract with Apple Inc? Native application would be the best, but HTML5 webapp would be good too. Best Regards István Scheer
Filter SQLite generated TableView
Could anyone hammer out some code to do this. I have a TableView that gets it headings from an SQLite database, however the Searchbar / Filter has no effect, the KS demo I am guessing is irrelevant because it doesnt use an external database (and had no...
Cannot resize switch
I am a bit puzzled that the switch will not resize. Is it not resizable? Testing in IPhone simulator. Interested in height only. ~~~ var my_swch = Titanium.UI.createSwitch({ value:false, top:15, right:10, height:55, ...
assign a custom value to a button
I i was wondering what is the best way to assign a value to a button, so that when it gets clicked i can retrieve this value as a property of the button. So far i have something like: ~~~ answer3Btn = Ti.UI.createButton({ title:answersArray[2], ...
GPS Accuracy
I have tried using the geolocation code in Kitchensink https://github.com/appcelerator/KitchenSink/blob/master/Resources/examples/geolocation.js without the listener for the heading update (compass) and the location accuracy is low, usually 500m or...
Android include behaviour
Hi, I am having a strange problem with Android. On one page there is a nice table list with data being fed from a server. Then you go a child page from this list and although both the list page and the child pages have...
Handle error response in JSON. Please help!
Hello, Titanium SDK version: 1.6.1 iPhone SDK version: 4.2 I get this response back from the API I am consuming and I want a popup to show up on each error. For example: Desc can´t be blank. This is the output in...
Click Event problem while working with iphone
i have started developing iphone application today only in appcelerator. I have developed android application and i am converting it in iphone. while converting i am facing one problem. My problem is ... when i put a control in sub window of main ...
How to disable automatic scrolling on emulator window?
When I run the emulator and select "trace" logging view, it is extremely annoying that the window automatically scrolls to the bottom even if I am scrolling upward to view previous line items. Situation: I'm running my app with trace on and want...
auto generate route from current location
How do I generate a route from the user's current location to a destination point? I found the KitchenSink codes that does it by reading from a CSV file. Is it possible to automatically generate the CSV file on the fly instead of hard coding it on a file?...
Desktop Database Help Please
Hello all. I have tried every possible thing I could find to get this to work and no luck. I just keep getting a Corrupt Database error. I used the firefox plug in to make it. I have put it in the resource folder and in the appdata file. I am at a loss....
'Mobile' type project on iPad, fullscreen?
I created a Mobile project, and installed it on iPhone and iPad. On the iPad it runs in a smaller portion of the screen, like iPhone-only apps. Is it possible to configure that it'll run on full screen? Obviously, I don't want to create a new project for...
Where does Titanium.Geolocation.*Geocoder work from?
Google, Yahoo, Appcelerator custom api? What are the Rate Limits on this and how do I know when a user has reached on inside the app?
Unable to add Android SDK path to Titanium
Hi, This is my first time installation of Titanium (v1.2.2). I installed Android SDK and AVD. When I try to add the SDK in the Profile section, I'm not seeing a path in the field after I click OK. Even when I try to copy paste the path the SDK folder, it...
Issues with Separator thickness and selected color opacity
I am building an iPhone app and I just ran into a couple of issues that I can’t figure out. First: the separator lines in Table View are usually between 1 and 2 pixels thick. Is it possible actually get rid of them, or at least make them considerably...
scrollview freezing app after opened more than once?
Quick notes: 1. This is all running in the ios simulator. 2. When I say freeze, I mean it doesn't exit or throw and error, its like its stuck in a loop, matter of fact, I have a function I call with setInterval that runs every 5 seconds from app.js -...
Unable to download Titanium
Hi, Just wanna ask if anyone has just started with Titanium for development? Did you manage to download the program? Been trying for a couple of days but not able to get the file at all... it always tells me "This webpage is not available"......
going to a certain view from a button
OK, I am going to try to explain this as best as I can. I have dynamic buttons that create a "grid" 2x2. I want to click on first row, second button and go to another "js" horizontal scroll file. That is done. Now, Instead of going...
Android : Audio stops in navigation
Hello , I need to play music from the server by streaming. I have some 4 - 5 screens to navigate to reach the music player. The music plays using create audio player(audiosessionmode:playback) when I reach the music player screen .But when I navigate...
What the f*** is going on with Appcelerator?
I'm just curious, and possibly a little jaded, but is it possible that 1. Nobody here really knows anything about development with Appcelerator beyond the absolute basics 2. Appcelerator Titanium's documentation is SO basic and incomplete and LACKING...
Apple Support is So Slow ...
I'm trying to package and submit an app for approval, but while creating my distribution provisioning profile, their website freezes. No error messages or indication that a problem exists, other than nothing happening at all. I'm using Safari on a brand...
Titanium Studio...
When will there be guides and tutorials for using Titanium Studio? I was an aptana/eclipse fan and look forward to a completed TS. Also when do you plan on using TS in your training classes you are now doing arround the...
push - UrbanAirship - device registers with apple but not with UA?
Hi Guys, Another UA question... I have now got further with push notifications and my app registers with apple and gives me a device ID. I can send a message manually from UrbanAirship to the device, but i cannot seem to get the device to register with...
Finally we suceeded in a nice Swap in Titanium
If you wanna see our latest iPhone app created in Appcelerators Titanium click the link which will take you to appstore (http://itunes.apple.com/us/app/40-year-calendar/id424493096). In this app we have used advanced swap and calculations how to present...
environment setting not save
save profile button not work .
Ti.Platform.id not working in Android
Hello, Ti.Platform.id not working in Android . It works well in IPHONE. Can anyone help me to find a unique id of a Android device..
Offline Viewing
Is there any method(API) by which I can save a webpage for offline viewing? I want to be able to save some webpages when I am online and be able to read them in iPad when I am offline. Any help appreciated.
Title from html-document again... Andriod.
I'm gonna have ask about this again... This works out fine on the iOS-emulator, but how do i get it out on the screen with Andriod? var myWeb = Ti.UI.createWebView({ url:'http://comviqiphonetanka.pro.drax.se/', ...
When publishing an update to the appstore, what gets replaced?
I've seen code to deal with the fact that databases will not get [reinstalled on update][1]. However, what else gets replaced when I push an update for my app to the appstore? Will all static content, html files, images, movies etc (stuff in the Resources...
Android button events still not triggering
I thought according to ticket #2844 that the issue with button click events not firing was resolved. Is it in the 1.7 beta release ? If so, it doesnt work still. If not, when will 1.7 be formally released ?
Post Tweets
Did anybody manage to posts some tweets in their twitter application ? I have tried to use the twitterHelper library but just including it in a file makes the application crash because it cannot marshal objects. Thanks
JSON file load issue
Hi all, I'm currently with this issue, it would be great if someone could give me some pointers or best practice. Titanium SDK version: 1.6.1 iPhone SDK version: 4.2 My app does the following, it is getting a remote JSON file for syncing my SQLite...
Showing 35,401-35,450 of 48,795 1 … 704 705 706 707 708 709 710 711 712 713 714 … 976