Community Questions & Answers
Titanium.Media.VideoPlayer stop preload
Hello, i use the Titanium.Media.VideoPlayer for play a network Video. i have 5-10 Videos on the view, but all videos start preload instantly. can i stop the preload? thanks!
Load window before opening it
Hi, is there any way to wait for a window to open until that new window is fully loaded? So in a sense the new window is preloaded first. For instance, let's say I have a window with a tableview with a bunch of items. When I click one of the items on...
Ti.Media.Sound Problem - Playing multiple sounds in sync (unison) seems impossible
So Titanium.Media.Sound() has methods such as setTime, getTime, and play()... I have an array of sounds (5 mp3's) which are 100kb a piece, and I am trying to play them in unison. However this proves to be a fruitless endeavor. I have attempted using the...
Webview preload
Is there any way to force a webview to load before I actually display it? Essentially what I need to do is update a hidden webview with information relayed from a current webview...
video player's 'preload' event?
Hello, I'm trying to assign a 'preload' event onto the videoPlayer, but it never seems to fire... ~~~ this.m_vView = Ti.Media.createVideoPlayer({ fullscreen: false, backgroundColor: 'black', movieControlMode:...
preload
Hello I wonder if Titanium has preloads and if I can do it for a specific view. regards
mobileweb running locally hangs with a lot of resource files
I'm running mobileweb app files locally on the desktop. When app launches it seems to be preloading or indexing all the files because when I add more files it takes longer to start up. Anyone know where or why it is doing this?
Changing tabs latency
Changing from the first tab to the second tab (for instance) i notice a latency in the loading of the titleimage resulting in an bad looking behaviour: 1) change tab 2) the black bar is showed 3) the titleimage is loaded 4) the titleimage is showed This...
Latency on displaying multiple images in imageView
Hi, I have a list of 10 images. In relation or depency of direction I want to show other image: ~~~ var total = myImages.length; var sliderView = Ti.UI.createImageView({width:320,height:240}); Ti.Geolocation.purpose =...
How to use built-in system sound on iPhone?
I've been looking all over for a way to use the standard system keyboard click in response to a user tapping a button. The reason to this is because I haven't found out how to get rid of the annoying delay that occurs when I use a local...
Preload add operations?
Hello, When the app first loads up there is a "preload screen" that is displayed that has an image as a background. I was wondering if there is a way to add an operation to that screen that would also be done before proceeding? For example, I...
iOS TabGroup windows - How to Preload
I have a tab group, with one of the windows having a scroll view that is populated from a local sqlite db. The problem is it takes several seconds to load that window, even though the data and view is relatively simple and is really smooth to scroll on a...
Has sound preloading been fixed yet?
The following doesn't seem to preload a sound as it's supposed to. After searching on this site, I see others having the same issue. var my_sound = Ti.Media.createSound({url:mysound.wav, preload:true}); I see the workaround...
scrollableViews black bar
Hello, I have a problem with scrollableViews. When I scroll my photos, I see a black bar and only then appears the photo. I thought the problem were photos (too big, and the iPad needed to preload), but this isn't the problem. I copied the KitchenSink...
Preload window
I have a tabgroup based app with a very large tableview on the second tab. When I click the second tab, that view is white for a second or two before showing the tableview. Is there anyway I could load window2 on tab2 while being on window1 on tab1?
Preloading ImageViews?
Hello Is it possible to preload ImageViews? I'm having a table with 10 rows each containing an imageview and two labels, so if they load while scrolling, my app will respond slowly. So: Any way to pre-load the images?
preload mp3 sound
Hi, Here's my code ~~~ var myMonkeySound = Titanium.Filesystem.getFile(Titanium.Filesystem.resourcesDirectory,'sounds/mimiplay_monkey.mp3'); // load from file object var soundMonkey =...
How to preload for Windows in tabs
Hi, I need to preload all the windows in the tabgroup. I read on this forum that createWindow can be passed 'preload: true' but that is not working. ~~~ var contactsWindow = Titanium.UI.createWindow({ url:'contacts_window.js', ...
A way to optimize image loading
Hi all, We are currently doing an iphone app for a jewelry from paris. i have many scroll views (createScrollableView), all of these scroll views shows PNG pictures at almost fullscreen size. So, sometimes the pictures takes a few seconds to load (not...
Showing 1-19 of 19