Community Questions & Answers

HELP ME PLEASE...!!!!!!

This ERROR [ERROR] Script Error = -[UITabBarController setSelectedViewController:] only a view controller in the tab bar controller's list of view controllers can be selected. at app.js I just create project tabbar why have a ERROR please help...

Maps Requirement

I have a scenario where I need an offline map to be preloaded into my mobile and my position has to be tracked on it even when am offline(without internet). The use case is the map is available on the app download itself with certain pins on certain...

WebView.canGoBack() always returning true

Titanium SDK 2.1.4.GA, Android 2.3+ only My app has a main (tableView) menu, some of the options are used to open up various social media sites, blogs etc. The webView used to view the site has the following code, the idea being that once the user can go...

hasCheck does not work

I try to use `hasCheck` in a `tableViewRow` but it does not work. I'm using the Android Emulator so I've no idea about iOS. I've tried [this](http://developer.appcelerator.com/question/144387/hascheck-works-on-ios-but-not-android) but with no success....

LocationHandler errors

I have some problems with the locationhandler in my Android app. It seems that i cant get anything to work no matter what i do.... Maybe someone can help me? I get this error when i run it in my device: Message: Uncaught error: addlistner only takes...

Rename an app

My project run on simulator without any problem, but I now want to change it's App id. But after rename the App ID, I cannot launch it in simulator any more. Simulator exit right away, with the following error: ~~~ Error Domain=DTiPhoneSimulatorErrorDomain...

Blackberry XML support

Does current blackberry 10 support xml? I'm trying to get data from remote XML. For iOS and Android, I've been using this: ~~~ var xhr = Ti.Network.createHTTPClient(); xhr.onerror = function(e){ alert(no response'); } xhr.onload =...

Map Problem

We have this map which we created from google maps. 2560x1440 Now we want to place points on the image of the map, and we only have the lat, long values. We also know the lat,long points of top left, and bottom right of the map. Any ideas how we can...

Webview iframe cookie issue

Hello, I have a weird issue. I have a local html-page, iframe.html, that shows a remote page. My problem is that the pages that is rendered within the iframe doesn't seem to be able to use cookies. The purpose of this app is to show a webapp and add some...

Create a custom search bar

Hello to all you guys! Let me explain now. So, I write on a blog that is part of a community that includes 4 blogs and a forum. I wanted to create a sort of mini browser, perhaps using a search bar, in order to search for a particular word / phrase in the...

Application does not react on FastDev commands

Hello, i'm trying to get working fastdev on Windows 7. Here is my configuration: 1. **Application type:** mobile 1. **Titanium SDK:** 2.1.5 1. **Platform & version:** Android 2.2 1. **Device:** Android emulator 1. **Host Operating System:** Windows...

Webview doesn't fire Ti.App events

I am trying to make my webview call functions in the native app using Ti.App.fireEvent but it doesn't go very well. In my html-document i have the following javascript ~~~ function logout(){ Ti.App.fireEvent('logout',{}); } ~~~ Heres code from...

Ad Hoc distribution build fails

The app works fine in the simulator and installs fine to my device using xcode. When I try to build it for Ad hoc and testing, I get the error below. Any ideas on where do I start hunting this down? Env: Snow Leopard, 2.1.4GA, iPhone only build (I tried...

Request Product in Store Kit not working

Hi I am using store kit in titanium.I am using this code ~~~ Ti.App.storekit=require('ti.storekit'); Ti.App.storekit.requestProduct('553XXXXXX.testproductname', function (product) { var buySingleItem = Ti.UI.createButton({ title: 'Buy '...

Rotate screen with a switch

I am looking to either use a standard page element or create my own switch element that when switched will rotate the screen. Personally i prefer to use a custom element so i really would like to know if progromatically i can flip the perspective of the...

simulator fails after upgrade

I just installed the latest update to Titanium and am having issues. My app now crashes in the simulator with the following error: "only a view controller in the tab bar controller's list of view controllers can be selected" i see that SDK...

Flip and reverse text

Does anyone know if itss possible to flip text that is typed dynamically and reverse the direction of typing. So just to clarify, imagine you are typing and someone sitting opposite you is reading what you are typing. The text needs to be appearing left to...

Noob Can't make JSON call work the second time

I've set up two buttons. When I click each one it will do a REST call to get weather data for a given city. Right now, it just displays the name of the city as a label. It works fine on the first click for each button. But the second click doesn't...

Going live with Urban Airship Push and iOS

Hi there My app is now ready for the app store. I use Urban Airship for push messages. With the test-profile, this works very well. What do I have to take care about when switching to "production" mode? Do I need to just create a new App in UA...

Titanium Screen Resolution problem

Hello Guys, I have a problem regarding screen width and height problem let me explain you below: I created a view and a label now i want the label to be right side of screen so i write left : '100%' but my label get out of screen why is that ? as my...

Android Transparent TableView

I've got a tabbed application. One of my tabs is a View with a background image. Inside the view is a TableView with a transparent background. All of this looks perfect on iOS, but on Android the background is only showing parent view's background image...

flyout menu for android

Has anybody implemented the Facebook style flyout menu for Android. This style menu is popping up on a lot of apps it's also on the Fidelity App which is pretty slick. I am unable to figure out how to slide top window over exposing another window...

Delaying delivery of push notification iOS

I am using ACS push notifications (http://docs.appcelerator.com/titanium/2.1/index.html#!/api/Titanium.Cloud.PushNotifications) for iOS. Is there any way to delay delivery of the message for a specified amount of time? I want a client to trigger a push...

Keeping accurate setInterval timing

I am making the music application. it needs the accurate timing control. I use setInterval to make click and need to play sound file at the 'same' time as click timing. such as ~~~ setInterval(click(),100); function click(){ clickfile.play(); ...

Desperate... Need help... willing to pay

Hello all, We have an Enterprise Development license for IOS and we have implemented an app for our company. Now I want to publish this app in an In House distribution. The app works on devices with the develper profile, but with the real Distribution we...

Showing 27,901-27,950 of 68,168 1554 555 556 557 558 559 560 561 562 563 5641364