Appcelerator-Q-A-banner

Community Questions & Answers

Crop image like default photo album?

I would like to implement a system to run the crop of images taken by the camera. It should be similar to the default one: after the picture is taken (or after you've taken a photo from the gallery) I have to display the image and have the ability to move...

imageAsCropped behavior on retina devices

Hi there, I'm using the native imageAsCropped() on iOS, and it works perfectly on non-retina devices/simlulator. However on retina devices (and the simulator) the cropped image appears to be scaled up which ruins the desired effect. ~~~ //Empty bone...

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

Android File Upload

Had this working in 1.4.3. But, since upgrading, I'm unable to post an image to a JSON Webservice via an HTTPClient send request. iPhone is fine. Android is the issue. It seems to stringify the blob/file I'm sending. Anyone else experience this...

Best way for load multiple image

1. App Mobile 2. Last Titanium SDK 3. Android 4.0 and upper 4. Galaxie tab 7pouces 5. Windows 8.1 6. Titanium studio 3.4.1 What is the best way for display multiple image by screen with titanium for android? I will explain more why i ask this. I get an...

Map Annotations With A Twist

So, I downloaded a realty app today from the App Store, and the annotations were something new to me... they had text. I pondered this for a second, because I know in Titanium, the title property on an annotation is for the popup when you touch an...

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

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