Community Questions & Answers
Titanium open grouptab in a new window
Dear all, I have an issue of opening grouptab in a new window. For example i would like to have a login window, after logged in user will be directed to the main window that consists of group tab. thus, login window's code is available on app.js and...
Store a image to load later
Ok so I have a settings view which is a modal view in my app (iOS iPad) The settings menu has 3 options - insert name - create/upload character - create/upload house The name is inserted and the name would appear in the book part. I do this by setting a...
How to start a new Android Activity?
I'm trying to start a new custom Android activity with Appcelerator and having some trouble. I'm not sure where to put the java file in my Appcelerator project and how to correctly link to it. Here's the HelloAndroid.java activity I'm trying to run from...
Sudden Titanium Developer Instability (crashes on launch)
This has happened before, and somehow resolved itself magically. Yesterday, I was cruising right along - Titanium is running OK. At the end of day, I close the Titanium (but I don't, shut down machine). This morning I come in, and Titanium won't even...
Problem with Environment Settings with new Windows install
Hi all I installed Andriod SDK Tools and Titanium Dev 1.2.2 today on a Windows box. I'm trying to import the Kitchen Sink project but when I try to enter my Android SDK Environment Settings I get the following error: `Couldn't find adb.exe or android.bat...
not recognized
Hi everybody, I'm working with the mobile sdk (1.5.1 and 1.6.0) on a mac. I did exactly what it is mentioned in this post : http://developer.appcelerator.com/question/89761/tilocalegetstring-or-l-wont-work The problem is that the...
Styling a clickable label
My app will likely have a number of labels that will need to be clickable. Functionally I have it working fine but I'm struggling with the best way to visually indicate that the link is clickable (without the ability to use underline). I'm curious as to...
[DEBUG] ignoring new layout while animating in layout Child..
Just a small question: What does this mean ? ------------------ **[DEBUG] ignoring new layout while animating in layout Child..**
Trying to make a hover-button, with addEventListener
Hello, this is my first post here. Just started to develop with titanium so i am very new with this. Anyway, my problem is that i am trying to make a very basic app with just a button on it, in the middle of the screen. After that, I want the phone to...
Post/zip code from lat long.
Hi, I am trying to figure out the user's postcode from their current position. Is there any way to do this using the google api (from Titanium, not in a web view) as otherwise it is going to be a large database of postcodes and a serious distance...
Problem : Titanium.Gesture : shake disable after keyboard blur
hello, I have seen in my app and in kitchen app, the event "shake" disabled after call blur function (ex : search bar). There are a lot of thread about this. But someone know when it will be resolved? edit : I work only on simulator. I write...
SQLite multiple INSERT
Hi all ! I need to insert a lot of lines into a SQLite database. I currently do this : ~~~ for (var i=0; i<xml_length; i++) { db.execute('INSERT INTO myTable ("id", "value") VALUES ("'+xml.id+'",...
Problem with Urban Airship
I have made an app which can receive push notifications from Urban Airship through a .NET Service I created. Everything works great when I restart the app by double clicking the iPhone button and killing the app and then start it. Then the phone gets...
Remote .MP3 and .OGG files not playing, locally they work fine
I am trying to using the sound object on Android to play mp3 (or ogg) files. If the files exist locally, I play the local files otherwise I want to play the remote file. The local file works fine. The remote file doesn't Here is some sample...
help for simple interactive presentation
hallo i would like to develop a very simple application for a free elearning: is a short movie , at the end you tap on the screen and you see the next movie. Very simple, like a Powerpoint presentation . but for iphone. Well, someone could help me to start...
Webview Error
Hi, Community :) One of my tab is opening a website of mine and it seems like there is a glitch with my source code. Whenever I double tab to zoom and double tab to zoom out the app crashes.... I tried it with other websites and same thing happened so i'm...
Reterive the Date
hai all, I have picker in Titanium.UI.PICKER_TYPE_DATE, when i select the date i need to have a date only .
Package iPhone applications from bash/shell/terminal
Is it possible to create the iPhone Application package from bash with Titanium?
ui picker causing app crash
i have a strange problem with the ui picker. at one time i created a general picker successfully in my project and subsequently deleted it as it was not necessary. with a new need for a date picker in the project, extracted the sample, modified it and...
Android TableView data[] not working
I need to access rows in a table from a button click event where the button is outside the table. I think all the KitchenSink TableView examples only access the row data on the row click event of that table. This question has been posted before and the...
Help with Event Listener Please!
Can someone please suggest why my event listener isn't working: ~~~ Ti.UI.currentWindow.barColor = '#007c28'; var data = [ { title : 'Option1', hasChild:true, path : '..js/construct.js', titleImage : '../images/csrhead-sm.jpg', leftImage:...
One way to Limit TextArea character entry length - an answer
This question was posted with a slightly more complex answer. (but it is locked) Here is a pretty simple way to do it: ~~~ text = Titanium.UI.createTextArea({}); text.addEventListener('change', function(e){ if(e.value.length > 254) { ...
Simulate Mail's tag tokens in textfield?
I was wondering if anyone knew of an easy way to replicate the blue 'tokens' inside a text field (in this case they would be tags) that the Mail app uses. In the Mail app you can see it if you send an email message to more than one recipient (each...
I want to view an external page on the application
Hi i want to know how to view an external page on the application for example i want a tab when i click it to show me for example http://google.com and another tab show me another page http://page2.com don't know how to i have try but not luck if any one...
Vertical Alignment for a label not working on Android
Hi, Trying to achieve a label with vertical alignment so that the text is at the bottom. It's in a view container of say 50x50. Based off Tweetanium code. Android 2.2SDK, Ti Mobile 1.6 SDK, Mac OSX When I try the following (along with some text like...
Speeding up development process.
Hi, I really love the appcelerator concept, however I find developing to be very slow, perhaps I'm doing something wrong. I'm currently using Eclipse as my IDE to develop an Android app. However what I find is that each deployment of a simple code change...
Grouped Tableview with border radius = 0 (square corners)?
While I see an option for defining borderRadius on table rows (http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.TableViewRow-object), it doesn't seem to have any effect at all. Any ideas?
SD Card storage ?
Can I access SD Card on a mobile device using the API? What other means of storage are possible? Thanks
Controlling WiFi settings
Hi! I am Titanium newbie :) Is it possible to switch a WiFi profile on or off on a mobile device using the API? Thanks
Additional information to a Facebook login
When using a session proxy is it possible to return additional data in the facebook response that is accessible in the application? For example I'd like to include an internal token. I've tried adding the field to the xml response but am unable to access it.
Android Clean Build possible?
Android, Ti mobile SDK 1.6, on Mac. My problem is that for some reason when I change images in my resources (ie: modify the graphic icon for a tab bar in an image editor) resave etc it doesn't make it to the emulator. When I check in the...
a button inside a scrollableView
I have a scrollable view. Inside one of the views is a button. If I try and scroll the scrollable view and I happen to scroll starting on the button, the buttons 'click' event is called. How can I avoid that? Maybe a different event on the button?
Custom Component: OptionPickerDialog
Source Code: [http://www.pastie.org/1494046](http://www.pastie.org/1494046) Works like an OptionDialog, but with a Picker object instead of buttons. Only tested on iPhone. Usage is as simple as: ~~~ // Include component in...
Videos force closing and erroring out on Android
Good evening! So, I've been learning how to develop with Appcelerator/Titanium over the last week or so, and ran in to a slight snag while playing video. I'm pulling video through the Facebook API and using the following code to play it: ~~~ var win =...
Framework for Titanium
Hi guys, Some time ago in my company ([Dev-iQue LLC][devique]) we had developed an open-source framework that significantly speeds up the development on Titanium platform. The framework includes: - Workarounds for standard Titanium bugs and problems -...
Multiple pickers in one window ?
I've created really simple view with pickers inside. But only last one is active - is that normal ? Is there some workaround for that ?
can't setup android sdk
I have installed the titanium developer app and am trying to setup the android app. When i send it to the appropriate folder it keeps telling me that the adb.exe or android.bat is not in the tool for folder. The adb.exe is in the tools_platform folder and...
Android heavyweight window with tabs
I need to create an android heavyweight window so that the back button does not close the application. When I do this, I lose the tab bar along the top of the window. Is there a way to get the tab bar back? I've tried using tabBarHidden:false. Perhaps...
iPad and Photo Gallery
Having a couple of issues with opening the photo gallery on an iPad. Using Ti SDK 1.5.1 and iOS 4.2 ~~~ Ti.Media.openPhotoGallery({ success:function(event) { var image = event.media; alert('picture was selected'); }, cancel:function() {...
use Android background service to launch app?
hello, I don't know if this can be done... I have an app that needs to run if the device has been inactive after x minutes. I know that you can use background services now, ex:...
My apps lags more when compiled with 1.5.1
Hello, It seems that my app is lagging a lot more when I've compiled it with 1.5.1. It's basically a tableview with rows and labels, and it's only 20-50 rows. I have two classnames on my rows one classname when no image is added and one for rows with...
App Preferences. How to get PSMultiValueSpecifier property?
Hi! I use the PSMultiValueSpecifier in my root.plist (settings bundle). But in application I can't get the selected value. Titanium.App.Properties.hasProperty('card_from_preference') return 0,Titanium.App.Properties.listProperties() do not return this...
fail to change text property on a label
hi, i have a label instance in a tablerow. at one point i want to change the text property of the label. when setting: ~~~ myLabel.text = "hallo"; ~~~ the label is not updated. But Ti.API.info gives me the correct string. any ideas?? [link to...
pureMVC and mootools in Titanium
I followed what it was suggested in [this](http://developer.appcelerator.com/question/11201/javascript-mvc-frameworks#162841) post, and installed [puremvc](http://trac.puremvc.org/PureMVC_JS) (ported for javascript) and...
Height of the titlebar in an iPhone/iPad app?
How can I find the height of the titlebar on a window in an iphone/ipad app? And, does it/is it going to vary (for example in the new iPad 2 with better resolution)?
Facebook connect on mobile 1.6
Hi I've just upgraded my Titanium Mobile SDK version to 1.6. I noticed the facebook connect button only opens a facebook page in Safari. Does anybody experiences the same problems and knows how to fix it? Thanks a lot! Felix
Can i make this in appcelerator?
Hello there, Im new to the development of apps and i've got some questions. First let me tell you about the app i need to make. As an intern at a company i need to develop an iPhone and Android app, they want me to create an app that is based on a...
[ERROR] Error generating R.java from manifest
Hi there, I have had no end of trouble tring to get titanium developer to work on winxp. The IT guy was here and said that the program looks to be full of bugs. I have managed to get the emulator working and showing the mobile screen. However, I have...
3.1 to 4.2:Application stopped workin
I made a simple app which I built in SDK 2.2 but I just got iPhone4 which made me to eventually upgrade SDK to 4.2. I am getting following error: http://img29.imageshack.us/img29/8090/apceleratorerror.png
Build error (titanium) Compile Error (xCode)
So i'm getting pretty sicked and tired from this now. I'm not mad, just frustraded. This problem is arising for alot of people and not one person comes here and tells us what the exact problem is and/or how to fix or if they even try to fix it. I know...
Showing 38,301-38,350 of 48,748 1 … 762 763 764 765 766 767 768 769 770 771 772 … 975