Community Questions & Answers

iPad modal/pop-up window (similar to lightbox)

I have looked around trying to find this. Hopefully it's something simple that I've just overlooked. Is there an easy way to get this pop-up/lightbox-style window on iPad? Perhaps a modal window of some type? http://cl.ly/1Y3O1U1b0a3t0G0l3Z3v

Analytics haven't been showing up for weeks

Anyone have any idea why? I haven't changed anything in my code that would disable it or anything. I have hundreds of users so there should be activity. And, I even have custom events set up in my app as well. Nothing is updating. This is an iphone app...

fontSize in iPad not work

In some objects such as TabbedBar and ButtonBar the properties of Font in iPad do not work. And the iPhone style (ex: Titanium.UI.iPhone.SystemButtonStyle.BAR) either. var bbtime = Titanium.UI.createTabbedBar({ labels:['Hola', 'Mundo'], font:{fontSize:8} });

How do you transition between two images?

I have two images taking up the full screen. I want to display 1st image for 10 secs then fade/transition into image 2, then repeat. Here's the code I am using but no idea how to get it to animate. ~~~ var images = []; for (var i=1;i<3;i++) { ...

953 views
asked 2 years ago by Alan Lougher
last activity 2 years ago

Only show button once

I am not sure I am doing this right so would love some help/guidance. I have 4 images on the screen that when clicked individually a webview will open showing some content. When the user clicks the image for the first time a button appears on the screen...

252 views
asked 2 years ago by Alan Lougher
last activity 2 years ago

AAC Streams - progress?

Since asking this question several months ago others have also stated they wish to be able to play Shoutcast style aac format streams. However the current TI AudioPlayer API is unable to oblige. We then learned that John McKnight had solved the problem...

Overlay text on video?

Is it possible in iOS to overlay text on top of a playing video?

663 views
asked 2 years ago by Alan Lougher
last activity 2 years ago

Android Packaging error

Since the move to Titanium Mobile 1.5.1 i cant seem to package my android app for deployment to the android market anymore. I get the following error message; http://pastie.org/1402799 . Anyone have any idea how i can fix it?

Titanium cant find the iPhone SDK - but it is installed

Hi, I was just about to try out Titanium but seem to have got stuck at the first hurdle. I have installed the latest version of XCode which has the SDK plus I have installed the latest version of Titanium all on the latest version of Snow Leopard. As...

unable to find deployed application on Android emulator

Hi, I am using Titanium 1.2.2, I have downloaded KitchenSink and tried to launch on Android Emulator, it says it got deployed but I couldnt see KitchenSink on Android emulator. Can anybody suggest where I am going wrong. The following is the Titanuim...

How to read a properties file

i want to store the key value pairs in a properties file for my application.How can we do. Pleaze help me ASAP. Regards, Kishore

Webview not reloading on popover

Using the following code to open a popover which contains a webview with a local url. Works fine the first time the popover appears but when the popover is closed and re-opened the content of the webview fails to load (I just get blank content). ~~~ var...

385 views
asked 2 years ago by Alan Lougher
last activity 1 year ago

Retrieve webPage Title attribute in a WebView

Hi there, I am building a basic WebBrowser in my iPad app, I would like to display the Title of the webpage being rendered in the WebView. Is there a way/method to retrieve a page's title from a WebView?

App crashes on Android simulator on launch

I started this app by developing for and testing it on the iPhone. Now I'd like to make it run on Android, and the new 1.5.1 SDK was supposed to help with making that happen. With the 1.4.2 SDK I couldn't even get the app to install on Android, with 1.5.1...

Missing libTiCore.a

Downloaded the new 1.5.1 sdk, now when I try to compile my app for the iPhone it does the following: [INFO] iPhone SDK version: loading... [ERROR] Error: Traceback (most recent call last): File "/Library/Application...

Android Custom Fonts

Hey, I am trying to get custom fonts work on android. I got it working on iPhone following the post and the video in the post. http://developer.appcelerator.com/question/49151/custom-font-solution I know Kitchen Sink does not support custom fonts for...

TV Out iPad/iPhone

Does anyone know if its possible to get videos to play using the TV out function? When ever I try to get it to work it will not work with the native video player. I think I could get it to work by doing the video player through a web-view but I would...

ImageView scaling in Android

I'm having the same issue described in [this](http://developer.appcelerator.com/question/77051/imageview-scaling-in-android) post but i'm using Titanium SDK 1.5.1 over Android 2.2. Here's my code: ~~~ //Contenedor de imagenes var imageView =...

Force portrait orientation on Android

Please shed some tips on how to force portrait orientation on all of my windows for an Android app. I've read that you need to create a AndroidManifest.custom.xml and add the orientation to the activities, but I'm using 1.5.1 SDK and it says that's been...

Get every gps update

Hi guys, Is it possible to make a function which gets every gps update and not one based on distance. I have tried using GetCurrentLocation with a 1 second timer. But that turns off the gps after every try and it doesnt get very good signal. Any ideas?

Battery Level in iOS

Hi All, Currently working on an app idea and was playing around with the Platform battery methods. My code looks something like this ~~~ Titanium.Platform.batteryMonitoring =...

saving images

downloading image from remote to specific folder of my app. if anyone has the code please provide it Thanks in advance.

Coverflow Loaded with External XML

I am trying to use an external XML file to populate a coverflow. Then, once an item gets clicked in the coverflow, I am wanting it to open different webview pages. I am using the Titanium object Titanium.UI.createCoverFlowView to call the CoverFlowView...

Problem getting object properties

Hi, I have an array like that : var collections = []; and ~~~ for (var c=0;c < jsonResponse.members.length;c++) { var members = jsonResponse.members[c]; Titanium.API.info('members: ' + members); var entry = new...

createTableView on Android much slower than iPhone

We are creating about 850 rows for display in a table that users can search. var rows = []; for (i = 0; i < 850; i++) { var row = {title:'test'}; rows[i] = row; } Titanium.UI.createTableView({ top: 0, height:...

Showing 38,201-38,250 of 47,576 1760 761 762 763 764 765 766 767 768 769 770952