Community Questions & Answers

Updating your SDK

Hello All, I am currently working on Ti.UI.createScrollView and it's respective events and properties on Android Platform for Ti SDK 3.3.0.I wanted to know can i update my Titanium SDK with more properties especially for ScrollView.Below is the link which...

Memory Management

I found the article interesting: [link](http://www.tidev.io/2014/09/18/cleaning-up-alloy-controllers/?mkt_tok=3RkMMJWWfF9wsRonvqjMdO%2FhmjTEU5z17eokXaKwi4kz2EFye%2BLIHETpodcMTcNnPLHYDBceEJhqyQJxPr3DL9YN1N13RhnlCQ%3D%3D) It recommends to call $.off() after...

IOS Simulator Will Not Run

Hello All, Basically the title says it all. Everything worked before I updated to Xcode 6 and Titanium 3.4.0. After a little research I managed to get everything working again. When I started Titanium this evening there were Titanium updates. I took the...

Change title bar bottom color

Hello, Can someone please tell me how I can change the line from the titlebar. [See photo](https://www.dropbox.com/s/2xj4wcjxvtbclpd/Schermafdruk%202014-09-30%2011.11.15.png?dl=0) Tanks!

possible to Hash/Sha raw bytes?

I'm trying to make use of the Ti.Utils.sha256 function, but unfortunately it doesn't appear to work unless you pass in a string, or a blob that is composed of bytes that would make a valid UTF-8 String. Is it impossible to just hash an an arbitrary array...

How to use a value attained from a webview

I have a titanium app that is a combination of web views and titanium views. I know how to get a value from a web view but I can not seem to figure out how to use the value in a function in the titanium app. Basically I have a list that needs to be...

Submit iOS App

Hello, I want to publish my application, and When I tried to do that I have this error: "your app contains non-public api usage. please review the error correct them and resubmit your application". App are not permitted to access the UDID and...

Fit image

Hi guys! How do I fit any image on any resolution device? I tried to use width 100% in imageview, but was larger than the screen. my code: ~~~ function Image(){ WindoOptions = { fullscreen : true, modal : false, navBarHidden : true }; var win =...

Map blurry and not refreshing

Hi, I just tried a google map v2 on titanium android app. I set the mapview to sydney(lat long) then i want to show the user's the current location(im in Melbourne, Australia)(and I want to set it once, not conitnously). The map zooms in to wheere the...

Project Failed to Build after...

Hi, after updated Titanium to 3.2.0 I am getting every time error with building the project... I have no idea what is going on, I have tried Xcode 5.0 and also 5.0.2. ~~~ ... [INFO] : Finished building the application in 23s 460ms [INFO] : Running...

Multiply tracks on window in app.

Hi guys, got a trouble. There are multiply tracks in my app ( alot of tracks sorted by categories ). I need to play/pause each of them, but AudioPlayer and Sound objects (dunno why) doesnt work properly (any button controls one track). How can i create a...

Facebook publishInstall

I'm using Titanium 3.1 with the new facebook module. Facebook has the function (and similar for android): ~~~ [FBSettings publishInstall:@"appid"]; ~~~ To track mobile installs. I have used this in a native project and it worked great. In that...

need to remove Titlebar

I need to remove Titlebar from my app.I tried with below in tiapp.xml.but not working fine. ~~~ <fullscreen>true</fullscreen> <navbar-hidden>true</navbar-hidden> ~~~

Titanium com.facebook.sdk error 5

Hi, I have some code trying to post a message and a photo to Facebook after user has been authorized in my app. I was able to post a status with no issue but doing this with photos gives me the com.facebook.sdk error 5 alert. here's some code: ~~~ var fb...

Back Button Destroying Android Menu

Hello, I am using Titanium 3.3 and Alloy. I have an app that works fine for Android 4.2, but on Android 4.1 when I click back I lose the back button and any other buttons on the menu. For example, page 1 has a back button to leave the app and a preferences...

How to deal with white space in Alloy

Take the following code snippet: <View id='container'> <View id='child' width=100 height=100/> <View id='child1' width=100 height=100/> <View id='child2' width=100 height=100 /> <View id='child3'width=100 height=100...

Setting image for a button issue

I am setting image for a button with a background color. The image color is white with a transparent background. When i set this image for a button it appears in blue color. When i am setting this as background image there is no...

Showing 1-50 of 4,886 1 2 3 4 5 698