Community Questions & Answers

Saving rotated image

Hi, I'm developing an application for Galaxy Xcover (Android 2.3, Gingerbread) where the user takes an image with the camera and sends it in an e-mail. To decrease the size of the images, we use Appcelerator's module ImageFactory. ~~~ image =...

Image color of Button

I created a button and specified an image for it. For a reason, the color of the image, is more intense and different from the actual image. I don't have any other property related to color. Is that normal ? I am using appcelerator classic

Problem Image background

Hi, i'm new of titanium and i've a problem with background image. I create a view ~~~ var win1 = Titanium.UI.createWindow({ backgroundImage: '/Images/bg.png', orientationModes: [Ti.UI.PORTRAIT, Ti.UI.LANDSCAPE_LEFT] }); ~~~ When i change mode the...

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...

check if there is an image javascript

Good Morning in my application I have created a web with saw I use createWebView I check in javascript if the picture is, if the image is present it shows the block, otherwise it does not display an image. here is my javascript code when I put the...

Get splashscreen image - IOS

I tried to use the image used as splashscreen on IOS but I don't know how. Here a tss ~~~ "#logo[platform=ios]": { backgroundImage: "/Default.png" } ~~~ Unfortunately, it uses the file named Default.png while I would like to have...

Convert image file to blob

I have an image in resources/images. I want to convert it to a blob and save it to applicationSupportDirectory. I have this code var image = Ti.Filesystem.getFile('/images/0.jpg'); console.log(image.nativePath); var blob =...

How to get the device screen size ?

Hello everybody ! I'm here because I've got a problem. I want to get the device screen height and width. I've tried ~~~ screenHeight = Ti.Platform.displayCaps.platformHeight; screenWidth = Ti.Platform.displayCaps.platformWidth; ~~~ I work with a Samsung...

Get image from ACS post query

When doing a query for posts I can only get the photo_id, which is just a ACS id and makes no sense in the context of my app:/ In the ACS web panel all the post photos is stores under "Photos" but I can't find any image Url there...

How to use the device screen size ?

Hello everybody ! I'm just a new user of Titanium Studio, and I'm currently learning how to develop on Android. More, I'm sorry for my bad English (because I'm French !), and I hope I will be clear. So, I just want to create a simple app, where I will...

Tableview without images

HI, I need a tableview with 2 fields: a text and a image. I use this code: ~~~ var rows = db.execute('SELECT * FROM Termostatos ORDER BY Termostatos.Nombre'); var RowsTabla=[]; var i; var sectionTabla = Ti.UI.createTableViewSection({ headerTitle:...

Blurring Effect on Views

I know this question was asked many times before, but I just want to get an update on creating a real-time blur effect of a view. I found several third-party software that can create the blur effect, but they have unclear Copyright legislation stated on...

4 picture 1 word.

Hi! does anyone knows how to do something like the game app call 4 picture 1 word? for my app i would like to select an image and the image will automatically be placed in the first empty box. etc appreciate if anyone knows what this function is called or...

Image aspect ratio when loading into an ImageView

Since updating to 3.0, I've noticed a problem when loading images into an ImageView while maintaining the image's aspect ratio. Prior to upgrading to 3.0, I could set the maximum width and height and the thumbnail image would automatically scale to fit...

Uploading an image from iOS App

I am trying to upload an image from my camera roll to my server. The php code works fine by itself but I can't get to upload the image from my app. I always get a 404 error. PHP Code ~~~ <?php $allowedExts = array("gif", "jpeg",...

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...

Showing 1-50 of 1,308 1 2 3 4 5 627