Community Questions & Answers

Images in a Webview

I am having issues figuring out how to reference images from HTML in a WebView for iOS and Android using a standard syntax. This works in iOS app://Resources/HTML/images/Logo.gif This works in...

images

hi all i have a images in image array i would like to list all those images same as like gallery view (like how images will be positioned in mobile gallery) pls help me..........

Image paths - leading period or not?

I've just been porting an iPhone app to android, and not one of the images would display, until I removed the leading period the previous developer had put before every image path. I've seen this in a few people's code, so am wondering what the leading...

Map with Pins using ImageViews

Hi, I am currently trying to create a map with over-layed pins using Titanium. Similar to how Google Maps looks. Below is a simplified view of my Alloy page layout: ~~~ <Alloy> <Window id="Map"...

Dynamic Barcode Image won't display

Hey all, I'm having a problem displaying some dynamically generated barcode images. This was working in some previous version of the SDK and broke at some point (I honestly don't know which version). I'm using Zend Framework to generate the images and...

images wont load

My image wont load var imageView02= Titanium.UI.createImageView({ image:"images/glyphicons_089_building.png", height:120, width:165, bottom:24 }); whats wrong?!?!?!

Compose an image from 'n' images

Hello everyone, In Android, depending on some info, I compose an image out of "n" images. This image will be show in a every row in a table. Composing that image slows very much the app. Here the example code: ~~~ row =...

Android - WebView images

For some reason this code works perfectly in a webview on iOS but not in Android. Any ideas why? Is the *app://* that doesn't seem to point to the correct location... ~~~ <img width="120" height="120"...

Images on android

Hi I have a simple question: To manage the deferent sizes of android devices i put the images in the good resolutions in the ldpi or hdpi ... folders. For example I need to display a view with background like this : ~~~ var navBarContainer =...

ImageView and animation images array

I've got an issue with the imageView and using the parameter images. On SDK 2.1.5 the following code works as expected, each image in the array is scaled to 75dp. On SDK 3.0.3/3.0.2.GA the view is scaled correctly but the images overflow the boundaries...

Developp for Android

Hi, I want to developp an app for android. How titanium manage sizes. i have theses folders in my project : res-ldpi res-mdpi res-hdpi res-xhdpi with long and notlong prefix. so what are the sizes of images i should put in these folders ? are devices...

Alloy: android not getting images

Hi! android is not loading images within .tss file. Everything would work fine under iOS simulator, but once I switch to android, it wont load any of the images, whats the problem? I have loaded images into all the folders that I could possibly get at (all...

icon image resolution

HI all We have created buttons/icons for our app, and while I'm not 100% sure, it appears the images may be fuzzy/distorted on an Note2 (possibly because of the larger screen size), OR just we dont have the right DPI resolution. Can someone advise on...

Display Images in scrollView on Android

Hi, I'm devalopped an app for i os and i'm traying to make it works on android. I have some trouble with this code: ~~~ var entreprises = require('BusinessLogic/getFromDb').getEntreprises(); // -------- scroll view that contains all the info var scroll =...

Coverflow with remote images

Inside an app I am making I have an image gallery using CoverFlow. I want to use images from a folder on a webserver, and I have a filename reference in a MySql database. I can retrieve the file names, but can't make it work in the coverFlow. My PHP...

Are imageAsResized always JPG?

Is it safe to assume to imageAsResized() always delivers a jpg image, no matter if the image originally came from the camera or from the gallery? (I am interested in the reply for both iOS and Android) If not, how can I know which format it is?

Ways to allow users to rotate images

Whats the best way to allow a user to rotate an image in appcelerator? anyone have any code that works...eg. where they can just click the image to rotate it or actually use a finger motion to turn in clockwise or counter clockwise Thanks in advance

Best Practices for Images

We're displaying various small images on buttons in our Android/iOS application and I'm investigating a good long term strategy for the format of these image files. We layout and scale UI components according to a percentage of the screen dimension so...

Showing 1-50 of 417 1 2 3 4 5 69