Community Questions & Answers
VRToolkit Module -- Has anybody looked at this?
http://www.benjaminloulier.com/articles/virtual-reality-on-iphone-code-inside Looks pretty amazing and exactly what I need, which is marker recognition. Can anybody take a quick look at the github source and see if this is something that can easily be...
iTunes App Store data sets
Hi guys, We've just made fresh App Store data sets. If you want some, plese go to [www.datasets.biz](http://www.datasets.biz/products). We develop Ti apps too and use our data sets for market research mostly. Code strong.
Problem after Upgrade for iOS 4.3
After, i have upgrade Xcode and iOS i can't compile the app to run on my phone, appears that Result: -------- [BEROR]CodeSign error: The entitlements file '/Users/andre/Documents/Mobile/Troller/build/iphone/ Resources/Entitlements.plist' is...
App won't work twice in a row
Hi ! I have a TabGroup on Android and one of this tab shows a map with several annotations. It works great. But if I close the application, relaunch and come back to the map tab, it crashes. Here is the logCat output : http://pastebin.com/VkHji8j7 Any...
Create a window using python
I am trying to create a python function that will create a window at the moment i have ~~~ from Tkinter import * def confirm (message): root = Tk() root.title='' root.geometry=("200x200") ~~~ which throws " 'module' object has no...
Geolocation altitude and speed on iPhone
I am trying to use the geolocation speed and altitude on the iPhone. However the geolocation function keeps on returning 0 as an altitude and -1 as the speed. Also the altitudeAccuracy stays on -1 and the accuracy itself will not go below 500 (this is...
Advertising
Has anyone successfully integrated their iphone AND Android app with an ad network using Titanium? All experiences appreciated.
Mac book Pro 2.3 Ghz good enough for titanium???
is this good/fast enough to develop iPhone apps? MacbookPro 13-inch: 2,3 GHz * 2,3-GHz dual-core Intel Core i5 * 4 GB, 1333 MHz * 320 GB, 5400 rpm1 * Intel HD Graphics 3000 Or what is the minimum?
Ti.App.fireEvent Not Working - Code examples inside
I have a Ti.App.fireEvent and a Ti.App.addEventListener set up as you can see in the examples below. It is supposed to detect if a user who has previously logged in had selected to store their login info and auto login. Well, it isn;t working and I am not...
How can I package and deploy to someone else's iPhone or iPod touch
I was wondering if there is a proper way to deploy to someone else's phone for testing. I don't yet have the apple developers license, but I am just saving the pennies to do so and build for myself, and also have someone else run the same tests and QA for...
IPhone App Development on PC using Titanium
Does anyone developed an IPhone App on PC (Windows XP)? Where I can get IPhone SDK for PC?
Add a button to a map Annotation popup
Hi ! When you click on an Annotation on a map, you have a small rectangle displaying title and subtitle. How can I customize this rectangle ? I would like to add a button ot it that would open a new activity with data relative to this annotation. Thanks
Append Section to Table
####Problem: Is there a way to append a section to a table? You can do myTable.appendRow(row), but it appears to fail if you add a section element, that is, a TableViewSection. Is there such thing as an appendSection() method? ####Example: Ultimately what...
MapView Freeze if moved while adding annotations
Hi ! I am trying to show 135 annotations on my map (not all displayed at once when first screen is displayed). Coords are coming from JSON web service. The thing is that if I move the map while it is adding annotations, it will freeze for a dozen seconds...
Apple approval time..
Has anyone noticed a huge delay in approval these days?!.. earlier they used to come back within single digit days.. not anymore. Wat's goin on!? Updated: Thanks all.. it appears @8 business days is what I should expect. I will wait. Appreciate the info.
Mark point on an image
Hello I have a floor plan of a certain location. Now I would like a place to be highlighted, or draw a flag or something (with an image or whatever) when you choose a place. So for example I have room 1, 2 and 3. When I choose room 1 it gets...
Android Notification icon
I am not able set custom icon for notification. some doubts are: 1. Is there any specification for the icon. 2. how the url to be given. It will be great if anybody can give a code sample for this. Thanks.
differences android 1.6 vs APIs 1.6
Hello, I have a question and I try to google it but couldn't find the answer. Whats the difference beetwen android 1.6 and APIs 1.6? I have the same questions in all other version, example, android 2.1 and APIs 2.1 cumps
NumberFormatException - Not sure where its coming from
Titanium SDK version: 1.6.1 (03/08/11 14:53 7e37230...) Android SDK: API 2.3 The application seems to be running fine, but all of a sudden the exception is thrown. The emulator shows 'application has stopped unexpectedly...force close' and when I see the...
where to save an XML file to FILESYSTEM in local and how to open it
1. Where to store an XML file to Filesystem.applicationDataDirectory 2.After the xml is stored, how to open this file, just like XHR request to get XML from internet
[ERROR] Failed installing com.appcelerator.titanium: pkg: /data/local/tmp/app.apk
I'm trying to launch KitchenSink on Android but ends up with the following error: [ERROR] Failed installing com.appcelerator.titanium: pkg: /data/local/tmp/app.apk Several people have mentioned this error in previous threads and I've tried out the...
How can i slide window left to right without tab bar in iphone?
How can i slide window left to right without tab bar and without navigationgroup in iphone? i can't use navigation group because in my app i used tab bar in some screen and in some screen not used.when i go by navigationgroup from that window which not...
How to create multithreading in mobile sdk
I need to run some network operations in multi-threaded environment, can anybody tell me how to do that in titanium mobile sdk
XML
Hello sir, i having the hundred or more xml files so from objectivec i copy those files in to the bundle like wise what we shall do in titanium for android
Xcode module build failed on titanium run
Hi all, I'm creating a module. When i want to run the module test with the command `titanium run `I get an [Expected dir /var/folders/Zz/...](http://pastie.org/1669624) error. I've tested to change the "Precompiled Headers Cache Path"...
How can i slide window left to right without tab bar in iphone
How can i slide window left to right without tab bar and without navigationgroup in iphone? any help?
HttpClient Error in Anroid
I have a HttpClient I use it in order to get some data from a remote database. The problem is that in iPhone works OK, but in Android no. I get a Internal Server Error. Here is the trace: ~~~ [TRACE] E/TiHttpClient( 387): (TiHttpClient-2) [108,44345] HTTP...
iPhone apps on iPad?
Hello, When you create an iPhone app with titanium, can you run it on your iPad without any problems? Or will it give errors on some parts (with twitter API's or so?) Thanks!
saving data to local phone, best method for objects???
I want to save objects that i have in my app, these objects containing strings,intergers and other objects by this creating an entire database is a little bit to much. In the end i want to have an list of these objects, they will represent a favorites...
how detect the sizes for android devices
how detect the sizes for android devices for replace the images different devices for android
Delete headers in grouped tableview
**Updated question:** How do I delete sections in a tableview? **Old question:** I'm deleting rows with headers in a grouped tableview. The row itself disappears, but the header doesn't. Is possible to delete the header as well? I get the same problem...
get tweets from twitter
Hello Does anyone know the code to get tweets from twitter by a given hashtag? I am trying to get all the tweets by a given hashtag, but I can't find the correct serach query. For a given name (for example @test) it works perfectly with the following...
Facebookerrdomain error:10000
I get an error while posting to the wall, Facebookerrdomain error:10000 I execute this var data = {name: 'abc', message:'Hi test'}; Titanium.Facebook.requestWithGraphPath('me/feed', data, 'POST', result); I use authorize, my facebook app settings uses...
audio recording
how can we play sound in titanium on android application. also know the recording . can anyone tell me? my code is var audio=Titanium.Media.createSound({url:'Resources/background.mp3'}); audio.play();
Error using getAttribute, why?
The code below generates an error in the Android emulator. It objects to the getAttribute for some reason and give the following error: TypeError: Cannot call method "getAttribute" of undefined (app://pages/xml.js#12) Can anyone shed any light...
Titanium Developer 1.2.2 Can't connect network behind Proxy on windows XP
Hi Guys, Please Help me! I have successfully installed the Titanium Developer 1.2.2. And after launching Titanium Developer, I can't login. It is saying 'request time out. make sure you are online'. And I did a bit research, and found this post:...
ScrollableView bug in 1.6 sdk
I have three pages in my scrollable view. If I change orientation while on the last page the scroll view jumps to the second page. It also seems to be happening in the kitchen sink example as well. Has anyone dealt with this before?... any solutions?
image on android but not on iphone
hi, i have tableViewRows which contains images and texts. on android, images are displayed but not on iphone. could you help me please here is my code for tableViewRow : var row = Ti.UI.createTableViewRow({ title: titreArticle, leftImage:...
optionDialog causing iPad Crash?
I am using **Titanium Developer 1.3.0** and **Mobile SDK 1.6.1**. My code is pretty basic: ~~~ var cancel = Ti.UI.createButton({ systemButton:Ti.UI.iPhone.SystemButton.STOP, ...
Result of expression 'Titanium.APP' [undefined] - Please Help
Getting the following error when trying to run my app. The line the error is refering to (line 32) is the very first line of the code below that is causing the error. any ideas? **[ERROR] Script Error = Result of expression 'Titanium.APP' [undefined] is...
Bug : Tableview + searchbar !
Hi I have the same problem that many people. On my TableView with transparent backgroundColor and a searchbar on top,when I use the search bar, the search results appear above the tableview, as 2 overlapping layers. Does anyone know the solution to this...
Error generating R.java from manifest
I am new to titanium and have looked through a few posts with this error and have not been able to resolve. It is a new installation on a Mac Book, I have installed the android SDK and added the SDK's and Google API's. Also checked I have Java installed...
Looking for work? I'm looking for a developer!
I'm looking to extend an existing app to allow users to store, share and rate notes. Email quote and timeframe to wizard4all@yahoo.com. We can use a freelancer project site like guru.com if you prefer.
Link Problem after Packaging
I am using the Mac to packaged up a desktop project for both the Mac and PC. It is set up as a network installer type. The packaging finishes successfully but there are no links available. I have restarted Titanium several times. Any help would be much...
Facebook Login Problem "Safari can not open the page because the address is invalid"
After I click on the "Login With Facebook" button in my app, it takes me to safari and asks me to authorize the app. I click "Allow" and instead of returning me to my app it shows an alert box saying... "Cannot Open Page Safari...
App crashing when trying to add a textArea to a view
Can anyone tell me why my app keeps crashing every time I try to add a textArea to a view? It works perfectly if I change the textArea to a textField, but will not work with a textArea. Any ideas? Code that is causing the crash... ~~~ var statusView =...
Finding the offset of Image on touchend
I am finding the current X and Y position in 'touchend' event. Now say the original position of ImageView is ; left=100 and top=100. On touchend it just gives value in 2 digits that is either 8,10 or 9,11 etc. Now I am not sure what's the offset of image...
editable for textarea is not working
Dear all, When I set editable : false when creating textarea it does not work n I still can add and delete character as I like. May I know what is the problem with editable? How it is suppose to work? Ti 1.6, An2.2
change the version for upload it to Market
Hi I want to know how to change the version of my code Because every time I upload it to Android market it ask to change the version The problem I have is that every time I upload it I need to change it one version up for example V1 then V2 then V3 But if...
Simplified code for Image Drag and Drop for iPhone?
I am putting an imageView over another by setting its zIndex high. I just want to drag the 2nd Image on first image. How do I use touchStart and touchMove methods?
Showing 35,251-35,300 of 47,529 1 … 701 702 703 704 705 706 707 708 709 710 711 … 951