Community Questions & Answers

Square image

I have square image "buttonLevelW.png". I need put this image to ImageView or View. This View has width "33.33%" . What do I need to set height? This my code: ~~~ function createRow(i) { var row = Ti.UI.createView({ borderColor:...

Marker on Image

Hi, I am working on the floor plan app of the buildings. I need to put marker on the specified rooms and area of the building. I would like to get the x,y coordinates and place a marker on that point. But I don't know how to achieve that for both iOS and...

Scale in the array

Hello, I need help. This is my code ~~~ var size = Ti.App.globalSize; var widthSize; if (size == 3){ widthSize = '30%'; }else if (size == 4){ widthSize = '23%'; }else if (size == 5){ widthSize = '19%'; } var J = []; for (var i = 0; i < size; i++)...

Using a droplr image in an imageView ?

Anyone out there have any issues using a droplr img url in an imageView? eg: Given a droplr share link as http://d.pr/i/y21E, The image embed source url is created by adding a plus (or the word 'small') thus : http://d.pr/i/y21E+ (or...

Titanium Android remote image not shown.

I have a mobile application that I mostly tested with the iOS simulator and where I already got all functionality working. Now I want to have the app also bugfree on Android. One of the issues I'm facing right now is that the remote images are not shown...

Upload image from send intent

I'm trying to cast upload on a blob I receive from a send intent. The intent more or less works, but I cannot get the image to an imageview, or to upload afterward. We have the following mishmash : ~~~ function resizePhoto(media, size) { var oW =...

Image Location In Alloy`

So I'm creating an Alloy Project. I have an ImageView in my view, which I need to render a static image. This may be a really stupid question, but where in my project do I put said image file? I'm using (or attempting to use) the Alloy framework.

ImageView repeatCount bug?

I have an animation that works except when the repeatCount is set to any value above 1 - which makes the animation loop indefinitely. ~~~ var imageView = Titanium.UI.createImageView({ images:images, duration:100, // in milliseconds, the time before next...

ImageView Not Working Proper In Android

I have multiple file that contain ImageView With the Same Content in android.. first window works fine that opens from app.js ,but other windows works sometime, and sometime it Don't.. My image is Big in size so in other window it's Not displaying full...

pan image

Hi, I'm looking for an example of panning an image in a view... working on android and if possible on ios too. Regards, Matteo

ImageView on iOS not wrapping remote image correctly

I have a feed of posts that display an image much like pinterest, for each imageview I have tried every setting but for some reason it will not show landscape images correctly. If an image is portrait it seems ok but when I try a landscape I always get...

Nexus Default navigation bar issue

I have developed an App for both iOS and Android, it does not have any UI issues on any handset, but Nexus. I understand that the issue is because nexus devices have a navigation bar on the screen. The images on the window seems to be compressed. Is there...

Nexus Default navigation bar issue

I have developed an App for both iOS and Android, it does not have any UI issues on any handset, but Nexus. I understand that the issue is because nexus devices have a navigation bar on the screen. The images on the window seems to be compressed. Is there...

Nexus default navigation bar issue

I have developed an app for iOS and Android, it works fine on all devices but Nexus. The images appear to be compressed on Nexus. I understand the issue is because it has a default navigation bar on the screen. But is there a way i can calculate the image...

Nexus default navigation bar issue

I have developed an app for iOS and Android, it works fine on all devices but Nexus. The images appear to be compressed on Nexus. I understand the issue is because it has a default navigation bar on the screen. But is there a way i can calculate the image...

Nexus Navigation bar issue

I have developed an app for iOS and Android, it works fine on all devices but Nexus. The images appear to be compressed on Nexus. I understand the issue is because it has a default navigation bar on the screen. But is there a way i can calculate the image...

Can't use base64 in an image

How can i use base64 code in an image? ~~~ var dp = Ti.UI.createImageView({ image:'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4QBYRXhpZgAATU0AKgAAAAgAAgESAAMAAAABAAEAAIdp AAQAAAABAAAAJgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAALqADAAQAAAABAAAAKwAA...

Get image from few images

Hi, I want to do a function display several image , then user able to click that image to open it. But I fail to get that current image which user clicked. May I known how to get the current image?? ~~~ $.image.images =...

Showing 1-50 of 1,178 1 2 3 4 5 624