Community Questions & Answers

Setting image for a button issue

I am setting image for a button with a background color. The image color is white with a transparent background. When i set this image for a button it appears in blue color. When i am setting this as background image there is no...

images in Android

Hi, i want to display an image in imageView : My imageView : ~~~~ var myImageView = Ti.UI.createImageView({ defaultImage : '/images/default.png', image : '/images/default.png', top : -20 }); ~~~~ In my project : I have an images folder which...

Saving Photo to Logged In User ACS Cloud

I am running into an issue when I am trying to upload a picture from my iphone album and save it to the current logged in user. While I feel like I am saving the image correctly to the cloud, I can't really seem to debug the issue correctly from my phone....

Stop animation

Hello I am trying to stop an animation. I looked into kitchensink app how they do it, but it doesn't seem to work for me. I use the following code: ~~~ var a = Titanium.UI.createAnimation(); a.top = 400; a.left = 0; a.duration = 5000; flag.animate(a,...

Image store and retrieve

Hi, How to store and retrieve image in database through webservice? In database image field type is varchar. I am using alloy framework and titanium sdk version 3.2.2.GA. Please help me. Thanks, Ankita

Replace profile image

Hi there I have a profile image. It shows up fine. I can have the user open the camera or gallery and select a image. But how can I replace the profile image with the new profile image. I am stuck at the bottom of my sample code. Thanks for all...

Alert Dialog with an Image

Id like to create an alert dialog after a user selects an image from the photo gallery so that the user can confirm the image they want to use. Is there a way to add an image to a popup dialog for iOS. This is what I have now but I haven't found a way to...

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

Wont show .png

I know it's bad practice to criticize and ask a question but I have to vent and say if I knew then what I know now about appcelerator and Android I would have never , ever started this project with Appcelerator and I doubt I start another project with...

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

Rounded Images: Titanium

I want to show user images in rounded shape, I am using alloy framework for development what I have tried so far 1) Border radius: Using this I am able to convert image to rounded but the edges are blurred/pixelerated overlay a circular view, I am...

splash screens and app icon

I've searched how to change my splash screen and saw the solution was to 'replace the Default.png in android/Resources'. So I deleted the default.png and put in a different image and called it default.png but this didn't work. What am I doing wrong? Also,...

get splash screen file name

Hi, I'm looking for a way inside my app to get the splash screen image for the device I'm running on - for old iphones it would be iphone/default.png, for retina @x2 for iphone 5 the bigger one, and for android there are much more possibilities. Is there...

Move, Scale and Crop an Image

This question is related to **[Crop Image in Preview Screen](http://developer.appcelerator.com/question/175092/crop-image-in-the-preview-screen)** I would like to crop an image in a specified size(320x160). I was able to create a preview screen, which...

hide PhotoGallery

Hi guys and gals, This is sort of a half question / half answer. I've noticed that in the Ti Docs you can set autohide to true / false for ''openPhotoGallery". However there is no call to hide the Photo Gallery like there is with the camera...

Showing 1-50 of 1,240 1 2 3 4 5 625