Community Questions & Answers

Image blurred

Hi everyone, I've got a problem on iPhone 3 (not retina screen). When I insert a view with a background image or a imageView width width and height fix to the image size, the image is a little blurred. It's also the same result on labels text when I set...

wiki.appcelerator.org Corrections

For http://wiki.appcelerator.org/display/guides/Using+TableViews#UsingTableViews-TheSearchBar The property search:searchBar I believe needs adding to the examples.

Flip in 3D Matrix

Here i attached the sample code for Fliping the Image view what is the problem in my code kindly verify. //create the window var win = Titanium.UI.createWindow({ backgroundColor:'#000' }); var image =...

Downgrading Titanium SDK to 1.5.1

I wanted to develop using Titanium 1.5.1. Now when I download Titanium I am having SDK 1.2. and when update to 1.6 which is the only option I get to update, I don't get 1.5.1 SDK. How can I get SDK 1.5.1.?

Animating a TableView

It seems that when you animate a TableView (using top or height) it determines which cells need to be trimmed, and trims them *before* animation. While this might be smart for memory - it looks janky. Is there any way to do this? I'm sliding a TableView...

Getting Input from User on iPhone

I know this is a really odd and simple question at first glance but for some reason I'm a bit confused. I originally built my app on android and in a number of places I have button that when clicked needs to prompt the user to enter some simple data and...

LeftNavButton not showing up.

I can't seem to make a custom button show up on a NavBar. What am I doing wrong here? ~~~ var btnCancel = Titanium.UI.createButton({ title:'Cancel', backgroundImage:'views/images/headerButton.png' }); var win = Titanium.UI.createWindow({ ...

problems creating a button in window

hello... perhaps i 'm doing the this wrong.. but... // this sets the background color of the master UIView (when there are no windows/tab groups on it) Titanium.UI.setBackgroundColor('#fff'); var win = Titanium.UI.createWindow({ ...

Problem with JSS files...

So I am trying to implement a "global.jss" file to my app, but whenever I create it and name it "global.jss", it says Dashcode cannot open the file because it is a "JACOSub Subtitle File" file, and the only recommended...

right to left text

Hi, is it possible de know it is possible and how to write from right to the left like in arabic language for example. please ?

Problem compiling db query

I have a query that I am building in javascript. below is the code: var SQL = 'select [Column 1], [Column 2], Modifier, Type From table where (([Column 1] in (' + list1 + ')) or ([Column 2] in (' + list2 + ')) and EndDate=\'*\')'; it actually generates...

packaging failed-no space left on device

Hi. I am trying to package my application for windows but I am getting the error: no space left on device. Linux, Mac versions are working without any problem. Can somebody help me??

Filepaths - Best Practices?

When referring to files (includes, images, URLs) what is the best practice regarding relative vs. absolute? If relative how does it work? My app original built for android is having issues with how I reference images and other JS files and instead of...

SQLite SELECT with LIKE condition help

Hi, Im trying to filter my sqlite database, but I get an error when I try to filter using LIKE conditions. **SQL sentence:** var resultSet = conn.execute("SELECT DISTINCT(nombre) FROM elementos WHERE nombre LIKE '%?%' ORDER BY nombre ASC",...

AppendRow and empty row

Hello, I'm doing an update of a tableView, for this I use appendRow, I currently have my new data, but for some rows the text is not visible, however if I scroll up or down and came after to the same row the text is visible !!!! is it a know bug? is...

webview height

When i set webview height to 'auto' and put in vertically aligned scrollview or tableview, then there is huge cap after view. I tried to measure webview content height with javascript and set height with that value but result is same. It isn't allways so....

Android scrollableview sensitivity

I have scrollableview with 3 pages. At 2.nd page is long scrollview. Structure something like this: scrollableview- -view1 -long scrollview -view3 Scrolling between pages is too sensitive. When user tries to scroll scrollview, then he must be very...

Label resize after changing text property

Titanium 1.6.1 - iOS 4.1 after a label has been created and I change the text value it does not resize or wrap. ~~~ var label = Ti.UI.createLabel({ text:"very short text", height:'auto', valign: 'top', width:'auto', top:...

Place a view at the bottom of a window

Hi ! I am trying on Android to place a view at the bottom of a window so I use the property "bottom:0" but it doesn't work, the view is placed just after the last one like if I did top:0

406 views
asked 2 years ago by Guillaume LA
last activity 2 years ago

IpCam stream on Mobile

How can i play a stream video (es http://hese.org:8085/) on the mobile? I'm trying to use Titanium.Media.VideoPlayer (http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.Media.VideoPlayer-object) but i got some problems... thanks all

app level custome events :: how to?

Hi, In my app, at some point, I open the window A and, from this window, through a button, I opwn window B. Mainly, window B creates data for the picker used in window A. When closing window B, I wnat that the picker in window A is updated with data from...

SDK 1.6.1 download fail

I followed the instructions to launch the Titanium Developer application and upgrade to the new mobile SDK 1.6.1 from within Titanium Developer. But the installation failed with a message that the download was corrupt. Now I can't find any link to try the...

Orientatuion on Android

Hi ! I am working on Android 2.2.1 and Titanium 1.6.1 I am trying to lock the orientation in portrait with this line : Titanium.UI.orientation = Titanium.UI.LANDSCAPE_LEFT; (I use LANDSCAPE_LEFT because it is easier to notice when this has effect) It...

765 views
asked 2 years ago by Guillaume LA
last activity 2 years ago

Reading XML: Error with documentElement

Hello When I try to search into an XML File i get an error: ~~~ 'Result of expression 'doc' [undefined] is not an object' ~~~ Here's the code I use: ~~~ var file = Ti.Filesystem.getFile(Ti.Filesystem.resourcesDirectory,'session.xml'); var xmltext =...

Downloading Movie UI Fundamentals

Hello, I recently bought that video, but I'm not able to download it completely. After about 50% it stops (sometimes 30%,) and doesn't continue downloading. I've tried about 10 times over the last 4 days but no avail (Safari and FF Mac, latest versions)....

Showing 35,301-35,350 of 47,780 1702 703 704 705 706 707 708 709 710 711 712956