Community Questions & Answers
iOS Printing - Anyone got pointers?
Trying to find any documentation on printing from iPads, and currently I'm not finding anything at all. Does anyone have any hints on this?
Emulator works, but RoD fails - iphoneos version fail
I get both the KitchenSink and new projects up and running with the emulator, but it fails when I try to Run on Device or distribute. I get the same error with 1.5.0 and 1.6.1 RC1, and if I try earlier OS versions. It seems like there is a bug with the...
Lose network connectivity after a few seconds
When I start my Titanium Developer, I have 10 seconds until the network symbol on the bottom rigth turned off. "You are not connected to a network" I'm behind a proxy and set the attribute in the appcelerator.xml...
channel live streaming
Hi every one, Do any one knows if channel live video streaming for Android and for iPhone is implemented or not yet and what are the supported formats of streaming video. I tried to test the Remote Streaming 2 in the KitchenSink but I have always the...
Android tab icon for different density screen
Is there any tutorial that provide guidance to create tab on android for different density screen? I have created one, looks nice on hvga but looked cramp on qvga. May I know how to create tab icon that fit to all type of screens? SDK:1.6 Android2.2
overwrite eventlistener function
hi, i'm looking for a possibility to overwrite a 'change' eventlistener function since i need to manipulate several different proberties but only want to build one single slider. is there any possibility to do so or do i need to use the ugly way and...
Launching external application from app (Android)
Hi, I'm using Android 2.2 APIs and Titanium 1.5.1. Is it possible to launch an external application (say facebook) from your Titanium-based app in Android? I know that for the iPhone you just have to do a Ti.Platform.openURL(XXX) where XXX is the...
simple database usage
I cannot follow the example in the kitchen sink well enough. Can someone please show me how to make and read from a simple database that stores a number. ~~~ var db = Ti.Database.open('myNumber'); db.execute('CREATE TABLE IF NOT EXISTS myNumber(id...
To be able to access flashlight on android mobiles
Hello Titanium When will it be possible to access flashlight on android mobiles like htc desire / hd kind regards steen osterby
Have you been able to run a Jquery Mobile app into the device?
I can run my apps on the simulator using appcelerator, but I keep getting errors when trying to test them on the device...now I am wondering, is it possible to run jquery mobile with appcelerator? Any help is much appreciated
Social (Facebook / Twitter / Plurk etc.) Options Dialogue
Hi, I'm using APIs 2.2 for Android and Titanium 1.5.1. I'm thinking of creating an options dialogue which allows the user to 'share' information over social media i.e. Facebook / Twitter etc. The options dialogue has to detect the social media...
Packaging error
Hi all, Im facing a problem when packaging my code for submit to app store, error code as below, Error: Traceback (most recent call last): File "/Library/Application Support/Titanium/mobilesdk/osx/1.5.1/iphone/builder.py", line 1205, in...
UniversalApp
what are the precautions for creating the UniversalApp for iphone android and ipad
Tweetanium Design Question
The UI approach used by Tweetanium seems to assume that users will not change orientation when using it. If I change orientation from Portrait to Landscape I actually see a "tab and a half" at a time. A similar issue is plaguing my app as I...
Location top/bottom issue - iPhone only
Here is a nice one I found. If you do not provide the height of an element, top/bottom in iPhone behaves weirdly. Top will be moving downword from the middle of the screen and bottom moving upward. The movement rate is about 50%. In other words setting top...
getFile causes CastClassException on android
Would anybody know why android might belch up an error like: `Wrapped java.lang.ClassCastException: org.appcelerator.titanium.TiBlob (app://app.js#411)` The offending code is the Filesystem.getFile() function: `file = Ti.Filesystem.getFile(log_dir,...
1.6 issues iOS
1. I notice in 1.6 when you add rows to table the text is a little fuzzy until it finishes rendering. I'm using table.setData() to set and add rows to a table with each row using a vertical layout. This did not occur in 1.5. 2. I can still force apps to...
UIPlaceholderColor in Appcelerator Module
Hi, I'm trying to create an Appcelerator module (ie. for adwhirl) but I keep coming across an error about UIPlaceholderColor when the line mentions only UIColor. I can't seem to find any occurrence of UIPlaceholderColor in my project (even via grep)......
Android Picker inside Tableview
Hi, I am trying to use an android picker inside a table view row. The picker displays fine but when i click on it, does not show me the dialog with options in it. Any idea on this would be greatly helpful. (mobile sdk 1.6.0 , android) Thanks, Karthika
mobilesdk not installed when installing Titanium Developer
I deleted titanium developer because I was having trouble with the build. After I've re-installed the apple sdk and titanium, I get the following error when I try to launch the KitcenSink or a blank project in the emulator: ~~~ [INFO] One moment,...
Verizon iPhone not identified as iPhone 4 in Titanium.Platform.model
The Verizon iPhone (iPhone3,2) is not being identified properly as an iPhone 4 in Titanium.Platform.model. The implementation only checks for iPhone 3,1.
Any documentation for the new Facebook component in 1.6
I downloaded the 1.6RC1 release today and wanted to test the new Facebook component as the old one stopped working for me, at least the isLoggedIn() call. Is there any documentation or sample code on how to use the new component with the Graph API. I want...
1.6 RC Layout Issue
Just upgraded to 1.6 rc and have one interesting issue. In a number of places my app has "button rows", basically a row with N buttons positions evenly horizontally. The original code had a "row" view: ~~~ var headerView =...
Random Ti Dev Update?
So today I opened up Titanium Developer (1.2.2) for the first time and it installed an update on my shitty 5 KB/s connection. After like 30 minutes the update finished and Titanium Developer opened up, but the version was still the same:...
iPhone emulator - dumb(?) question
On the basis that there are no dumb questions, here's mine! Can I run the iPhone emulator (only the emulator, no more than that) on a Windows machine? Or is it Mac only? If the answer's "yes", what do I need to do to set it up? If the answer's...
titanium developer is getting stucked
Hello. I'm developping for android mobile in windows xp. Today, after some weeks of development and apparently without any special reason, when I try to launch my app in the android emulator, it stays stucked after the info message "Copying project...
Window Background Image on Android
When running my application using the 1.6 RC the background images for my window no longer appear in I switch back to 1.5.1 its there. These windows in question are in the tabs of my Android application. Here is my line of code `win.backgroundImage =...
Link is not Kitchensink?
I am just getting started with Titanium and was hoping to get a better understanding with the Kitchsink app. However when I download it from GitHub it does not run the kitchensink app but an app with 2 tabs app as shown at...
Bug with ScrollableView and Label
Hi, if you store a label in a view managed by ScrollableView and the said label has width '100%' then on Android the label will disappear when swiping from one page to the other in the ScrollableView. It happens on 1.5.2, 1.6.0RC1 and 1.7.0 from the CB...
Can't update my app 1.0 on iPad with 1.0.1
I've finished coding 1.0.1 and before I upload to the store, I want to make sure that my database update code is working properly. I selected Run on Device, and Developer puts it into iTunes. Under Library, Apps, I checked the info on the app and it...
iPad app showing up in iPhone sized window on device
Is there a setting or something I'm missing? I've changed the target in Xcode to target the iPad, runs fine on my simulator (I don't have the device), but Apple rejected it because it ran in the iPhone mode. What settings do I need to change to get...
Efficient use of Memory while switching views
In my app I have only one window and I am using VIEWS to show different screens. In last screen I want to give BACK Button so that user could move back to original screen. Now my question is, do I need to ADD and REMOVE views every time or just use...
Adding a view to the nav bar.
Hi, I'm working on an iPhone app, and currently I'd like to add 2 buttons to the right area of the nav bar. Is this possible? I tried creating a view, adding the 2 buttons there, and then assigned this view to window.rightNavButton, to no avail. Any...
Adwhirl in Titanium Mobile
Hi, are there any plans for creating an Adwhirl module for Appcelerator Mobile? I've used the masuidrive admob module with mixed results (they lack enough ads). I was wondering if there were any plans for an official advertising mechanism in Appcelerator.
titanium crashed when building the app for itunes
HI, titanium crashes when I try to build my app. The error: nstall Error ~~~ Error: Traceback (most recent call last): File "/Library/Application Support/Titanium/mobilesdk/osx/1.5.1/iphone/builder.py", line 1143, in main ...
where to start developing my iphone app?
i have downloaded titanium appcelerator... created new desktop project and Launched, Packaged and built the links... Have no idea what's next or what to do after all this initial configuration? Secondly my Mac OS X version is 10.5.8, is it possible i can...
button background image not showing up when button defined in a url based view file
Hi, (this is for an iPhone app). When defining in a separate file (using [the URL based view technique]( http://developer.appcelerator.com/guides/en/architecture.html#windows)) a windows containing a button, the button background image does not show...
Trying to use String.format for leading zero
I'm trying to use String.format to pad a number with leading zeros, but it is returning all zeros. ~~~ alert (String.format('%05d', 2)); //Should return 00002 but it returns 00000 ~~~ Thoughts?
iPhone app size
I successfully generated my app ready for distribution using Titanium. The problem is that I don't if it is normal, but there are three files: ArchiveInfo.plist Foobar.app Foobar.app.dSYM The last one is really big: 44 mb! First question: What does it...
WebView doesn't fire error event
I've just tried to catch a loading error from the WebView on iPad by using the following code: ~~~ var browser = Ti.UI.createWebView({url:startpage, top:0, height:win1.height - 44}); browser.addEventListener("error",...
view xml output
I am trying to push an image to my xml-rpc web service. I can push xhr data to twitpic successfully and am using that as a model for sending data to my own site. The problem is I'm getting a response of "fault code 104, XML error: Not well-formed...
the nasty error : Error generating R.java from manifest
I have a Windows XP, Titanium Developer 1.2.2, using API 2.3.3 or the older ones (none works). I keep getting the mentioned error when I try to create a new mobile project for Android and run it. With KS, th eproblem is of different kind - it says...
ImageView animation repeats endlessly?
I have the following code: ~~~ var images = [] for(i = 0; i<30; i++) { var idx = ""; if (i < 10) { idx = "000"; } else { idx = "00"; } images.push("pngs/animation_" + idx + i +...
Mockup or wireframes tool for iPad app designing
Can anyone suggest link or tools for the mentioned subject?
Result of expression 'Titanium.Gesture' [undefined] is not an object
Hi, I am getting this error when i try and build. The rest of the debug data is as follows;- ~~~ [INFO] Titanium SDK version: 1.5.1 [INFO] iPhone Device family: iphone [INFO] iPhone SDK version: 4.2 [INFO] Launching application in Simulator [INFO]...
Set View backgroundImage to clip instead of resize
I am trying to create rating stars for an application and I am attempting to stack 2 views on top of each other. The bottom with the "base" stars that spans the width. Then, on top of that, I would like to put blue stars that indicate the current...
RSS Demo can't display the items
I compile the KitchenSink Mashups-RSS demo, I changed the url to http://developer.appcelerator.com/blog/feed I got the info: ~~~ [INFO] >>>> loading RSS feed http://developer.appcelerator.com/blog/feed [INFO] >>> got the feed!...
NUMERIC Fields in SQLite returning as TEXT?
Is it normal for SQLite fields defined as NUMERIC to be returned as TEXT when I retrieve the data using fieldByName() using a return from db.execute(<SQL Query>)? That's what I'm getting - and I'm having to convert all the (what's supposed to be)...
Desktop UI Controls or lack thereof.
From what I can see from the Desktop API documentation none of the controls that are available for Mobile are available for Desktop. ex. Titanium.UI for Mobile has Button, Label, Picker, TextArea etc.etc., however none of these are available for the...
Iphone Facebook API out of use??
I just found that all my facebook function has gone, the login button does not show any more, the old version app also can not see any login page any more? does anybody know what happens??
Showing 37,651-37,700 of 48,772 1 … 749 750 751 752 753 754 755 756 757 758 759 … 976