Community Questions & Answers
imageview image finish loading event
which event is fired when imageview finish the remote image loading ? i want to check the height and width of the image after it finish the loading from remote images.
Dynamically Updating Content to an Existing View - What's the Best Practice?
I am trying to build an app that has different areas of content. I have successfully created a navigation menu that they can click to toggle back and forth between screens. Now, the question is what would be the best practice to load content dynamically...
Default Activity Indicator for webview shows on left of screen and is cut off
On the app I'm working on, whenever I load up a webview and the page is loading, the activity indicator can be seen on the left side of the screen, and is cut off in the middle (so half of it isn't visible). It seems like the activity indicator is working...
Background Image Fails to Load on iOS Device, Works on Simulator
So I'm having the same problem as a lot of other people - but so far no solutions are working for me. Setting the background like this (keep in mind this all works in the simulator) yields a blank image on the device: ~~~ var view = Ti.UI.createView({...
Does the Loading Widget work?
I am creating a mobile app on Android. I am trying to use the loading widget, and am doing exactly what is required in the doc: http://docs.appcelerator.com/titanium/3.0/#!/api/Alloy.widgets.loading and I cannot get the Loading icon to show at all. Is...
Loading do not appear before the view
I have tableview witch loads some Data from database. I am trying to display a loading Activity Indicator before the tableview appears untill the complete data loading but it is just display after the tableview. Note that the line that adds the loading to...
Default Loading Wheel?
Hello, is there a default loading wheel I can use in Titanium Studio? is it cross-platform friendly?
Referencing default.png in Android
Hello, I'm trying to make a loading screen with a progress bar that is displayed while the app is starting up. This screen will be displayed after the splash screen and before the actual start screen of the app. This loading screen is going to have the...
auto loading
Hi, I have a view in which i display more than 100 photos. what i want to do is to load only 10 photos and when i scroll at the end to the view its scrolls the next 10 photos..the same for the others... here is my code : ~~~~~~ function...
loading photos oh photogallery into my app
Hi to all, I have to take all native path of the photos of the photogallery and insert them inside an Array, as I can make? I try to access to photos with var images = [{path:Titanium.Filesystem.getFile(Titanium.Filesystem.applicationDataDirectory,...
Activity Indicator not centering in Web View
Hi folks, Got an issue when I load a web view using an activity indicator using the latest SDK on iOS. When the page loads the indicator sits in the top left hand corner. Do I need to set the coordinates somewhere first? I'm sure you didn't used to have...
VideoPlayer: Default Loading indicator hide
This is on the iPhone using Ti SDK 2.1.3 GA. I am using the videoplayer but the default loading indicator it has is not good enough as it starts too late after the screen has been black for a while. So I am using the activity indicator widget contained in...
Is it possible to 'lazy load' data for SQLite into a TableView?
Is anyone aware of a method where by I can load a big SQLite query (from an onboard database) into a tableView nice and fast? I was thinking of pre-loading the first say 25 records so they pop in quickly into the tableview with little or no lag. Then when...
Android emulator not loading more than one project?
Hello everyone, I just started playing around with appcelerator and am having issues loading projects onto the android emulator. For instance, I created two test projects, one was with the geo-locating template, and the other was the basic two tab, two...
Keep animating when app is loading other content
Hi all, I've just spent quite some time getting a view to continuously animate (as a loader, instead of using ActivityIndicator), it looks perfect. But only to now find out that when anything is loading on the app, any animations freeze whilst other...
Photo Stream App - Loading hangs the ScrollView
Hello All, I am trying to build a Photo Stream app that as you scroll it loads more images. What is the best way to load in images while scrolling that wont lag? I tried having the scrollEnd listen to when its close to the bottom to load more but it seems...
Prevent Titanium lazy loading images in tableview
Hi, I have one remote avatar images loaded into an imageview per row in a table with 20 rows (my app looks very similar to Instagram). I want the remote avatar images below the visible area to be loading so that when the user scrolls down the images are...
Android Crashes On Rotation While Loading
Hey, Im struggling with this error on my Android (either in emulator and in device): If I **change orientation while the application is loading, it crashes.** I've found that error is somehow related with the updateLayout in this...
Loading Indicators whilst using local database
Hi guys, Got a quick one here, hopefully simple. This code below grabs a SQL string from a previous page, and retrieves the results from my on board SQLite database. It sometimes can take a while to perform the search as it's quite big, so want to make...
webView and loading message
Hi, in my iPad app i have a webview, i need to display an alert with the loading message (when the webview is loading) and remove this alert when i insert the url in the web view, how can i do?
Animated loading image?
I have an image that I have animated to rotate however it just rotates once and stops. I want it to continue rotating until a response is received from an xhr request. Does anyone have some sample code of this? P.S. I'm working on Android.
Loading in large data from SQLlite - Adding an Activity Indicator
Hi there, I've got a big query that takes a few seconds to load in from an onboard SQLite database inside my app. I'd like to show a proper activity indicator for when this is happening so I can inform the user something is going on. At the moment, the...
Titanium.UI.WebView.loading and getLoading
I get `undefined` from `loading` and `getLoading` while loading an external URL in a WebView. Anyone getting a boolean from this? ~~~ var webview = Titanium.UI.createWebView({url:'http://www.appcelerator.com'}); var window =...
Loading Screen Transition Animation
How do you create a transition animation when between the loading screen and the app like in KitchenSink?
Modal activity indicator webview
In the kitchen sink app, if you go to Webviews -> LocalURL. While it is loading, it shows a modal dialog in black that says "Loading...". I want to reproduce this effect but not sure how it is done. Is this jQuery or using an activity...
Android "back" navigation shows loading screen
Hi guys, I'm using the app namespace architecture as in Tweetanium, so I have app.js which loads bootstrapper.js, which loads everything. On Android, I had to set some windows' navBarHidden to false to be able to hit the physical "back"...
Loading/processing alert to user
During a time when talking to a server or loading large amounts of information, i want to display a processing or loading box to the user to let them know the app is working just loading the data. Tried to google for a result but can't seem to find one at...
Removing Activity Indicator on Data Load & Refresh Problems
Hi there, Below is some code I have to retrieve tweets from the Twitter API and return them in a tableview. [View code on Pastie](http://pastie.org/3209798) I need to fix the two issues below... 1. The activity indicator does not hide after the data...
Loading Screen with Webview
Hello, I'm running into an issue where I am trying to add a loading screen to a webview. My webview is extremely simple, however from what I have found both here and other blogs, their recommendations for loading screens are not working. Could anyone...
I like ponies...But I need help
We have an issue with saving multiple text areas to the phone then referencing them in a database. They are added to a tableview and when each item is clicked its supposed to load the url of the txt file and display the contents. We have it saving it to a...
How to animate between screens in Android?
I am having trouble figuring out how to do any kind of affect between screens. I have a list of items on the screen, and when the user clicks on one I load another screen. I want to have some kind of simple affect here. A slide, a flip, anything. Is there...
Loading Assets as needed
I was wondering if there was a way to load assets such as graphics or sounds as needed in Titanium instead of loading them all at start. This is used usually in games as there are many graphical assets to deal with and you don't need all of them in memory....
Rotating Timer
I have a number of remote images that while they are loading I would like to display the rotating timer/animation. Has anyone an example how to do this? thanks
iPad Landscape Splash Screen Problems
I am having problems displaying the Default-Landscape.png splash screen in my iPad app. The Default-Portrait.png image loads fine, however if i start the app in Landscape mode the image displays for a short while but then get replaced by the Portrait...
map view bug?
my mapView was working earlier and now it doesn't fully work. Has something been changed? It loads initially and when i try to zoom in it gives me the grid display and never loads. I thought it might be something with my code. In my app.js file I've...
Use images located in applicationDataDirectory in a webview
Hi guys, I have been googling and found many people whith the same problem. Here's a example http://developer.appcelerator.com/question/11431/using-images-in-inline-html-for-a-webview I synconise my applicationDataDirectory whith a online Directory. So...
iPhone SDK keeps "loading"
A few days ago I installed Xcode4 and updated some Titanium Developer SDK'S (mobile & desktop). When I try to test a (new) iPhone app, the SDK keeps says "loading". I have done some research on this subject, but didn't find any recent...
MapView Annotations - loaded event after all is done
Hi! I'll keep it short and sweet: Is there an event that can be listened for that is triggered when a map has annotations set? I am using setAnnotations for this and right now the map sort of lags for a moment. I would like to add an acitvity indicator...
Loading View not being removed, getting warning, code examples inside...
I have a loading view with an activity indicator that shows when XHR is loading. But, for some crazy reason I can not seem to figure out, the loading view stays on the screen when the app is first loaded until you click on the reload button I have set in...
Slow coverview response - local pics
Is there anyway to speed up coverview inital loading or to show a loading indicator? I am showing 30 pictures using the following code and it takes 10-15 seconds for the first picture to load. Combined filesize of all pictures is only 2.3meg. Any...
Start loading page on tab on start-up
Hello Is it possible to start the loading of a page on the start-up of the application? When I boot my application, it opens the main window on my 'home' tab. While it is on the home tab, I would like to start loading the main window on my other tab,...
Loading indicator...What am I missing?
I have searched the posts here and I believe I have the loading indicator coded correctly, but for the life of me, I can't get it to work. Can someone please tell me what I am doing wrong? ~~~ var url = 'mywebsiteurl'; if(!Titanium.Network.online){ ...
HTTP Loader inside another loader
Hi everybody. Here is the thing: I make a normal loader, but i need to call another loader from the first one, like this: ~~~ var sendNumbers = function(selected) { var loadaux = Titanium.Network.createHTTPClient(); ...
loading images
Hello, how to modify the loading images through a loading as an example of kitchen sink in the "activity indicator"? thank you
Modules not loading in 1.6.1 or 1.6.2
Modules do not get loaded using sdk 1.6.1 or 1.6.2. PLEASE FIX THIS!!! ti.admob module not even loading for iphone
Activity indicator hides a few seconds before tableview loads
I have code that looks like this: ~~~ if (Ti.Network.online) { // Show loading indicator Ti.App.fireEvent("show_indicator"); // Load table setTableData(); // Hide loading...
Loading time, big amount of UI elements - suggestions for better user experience
Hello, In one app I'm developing there is one window that contains approx. 58 UI elements (huge form) with both labels, textfields and sliders. And sadly enough, every bit of UI elements is needed to get the calculations right in some backend script. So...
activity indicator, close and open-functions doesnt work properly
Hello. I'm trying to create a nice activity indicator, inside a new window that opens when I call the function showIndicator(); After, I want to close the indicator when the script has loaded everything. But it doesn't work. It just says that [ERROR]...
creating loading screen for long loads
could anyone help me in creating a loading screen for both the android and iphone. this loading screen will pop up after i do a xhr.send, afther the data is recieved and handled the loading screen wil disappear. i tried creating a view, but that just...
Error loading KitchenSink on Android Emulator
Hi, I get the following error on my MAC loading the Android version? [ERROR] Failed installing com.appcelerator.kitchensink: pkg: /data/local/tmp/app.apk Any idear? Thanks.
Showing 1-50 of 93 1 2