Community Questions & Answers

Right, left on imageView does nothing

I'm running Titanium Studio 3.3.0 on OS X and testing on Android 4.4.2 on a Nexus 5. I'm trying to get a next and back button to align left and right but they keep becoming centered. The relevant code is ~~~ var window = Titanium.UI.currentWindow; var...

Swipe gesture won't swipe container off

// this sets the background color of the master UIView (when there are no windows/tab groups on it) Titanium.UI.setBackgroundColor('#000'); // // create base UI tab and root window // var win1 = Titanium.UI.createWindow({ title : 'Tab 1', ...

ImageView in TableView Crashes app

Hi, I'm using Alloy XML to create a table view with Items, each has a remote URL image. When I scroll the table view the app crashes. The table is binded to collection and each item has it's own ImageView. When I remove the ImageView the app works...

Does ImageView support GIF file?

Does ImageView support GIF file?I mean,a single *.gif file that seems a moving animation,but not a image array. I want load a single gif file downloaded from web,but it seems does not MOVE. many thanks!

ImageView App Crash

hi all i have a view with inside a imageview if i open and close that view (changing active view) several times (random times) the app crash the thread that crash report this in the log ~~~ Thread 4 Crashed: 0 libsystem_kernel.dylib 0x38d371f0...

Photo of profle

Hi, I doing a profile module but I have a problem: When I select a photo from photo Gallery and I send to a imageView, this process is correct but when I close my app and I open of new don't has the image I select before Any idea of how save this image?

Help Needed with ImageViews on Android

Hi Everybody, I'm new to appcelerator and mobile develeopment and really could use some help with an imageview issue I'm having. I have an imageview that works fine under IOS but I get a "Could not stream bitmap" error under android. Here's...

Baffled. Saving rotated image

I started out thinking I had a camera related issue, but it turns out its a basic image question. I have an image loaded in an image view, I rotate it and then I want to save the image. I can see the image rotated on the screen but what gets saved is...

Preload images in a view.

I have 2 questions: is there any thorough documentation of the events in Titanium? And are there any good documents regarding optimizing android apps made in titanium? Here is why: I have a group of 6 images used in view button down states. I attempt to...

Populate Scrollview With Images dynamically

My code is here: ~~~ var scrollView = $.Scroll; var URLs = ["http://static.flickr.com/41/81743961_588dafe12d_o_d.jpg", "http://static.flickr.com/26/64914466_eed02e2a71_o_d.jpg"]; Ti.API.info(URLs.length); for (i =0; i < URLs.length -...

showing actual photo saved at ACS

Hi, Im really new to programming and iv got a question. Iv succesfully uploaded a photo from logged in user. I want that photo to be his/her profile photo and display it on profile page. so far iv managed to upload it but not sure if i need to 'update' my...

Image scale fill in view

Hello, I can not seem to fill a view with an image keeping the proportion : ~~~ var imageLeft = Ti.UI.createView({ width:100, height:80, top : 5, left : 5, borderRadius: 3, borderWidth: 1, backgroundColor : '#000' }); var image =...

Can not display Android Remote Images

I have an image view and try to load remote image but it's can not show up. I'm already search and try any suggestion on this forum but not work. I'm using SDK 3.2.2 on Mac OS X Maverick My code is like here, and it's running good on iOS. ~~~ var...

Showing 1-50 of 1,109 1 2 3 4 5 623