Community Questions & Answers

Android 4.4 Textfield Text Partially Hidden

I am upgrading an app to Android SDK 20, Titanium SDK 3.4 and am having an issue on Android 4.4.2 where the text in a textfield appears partially hidden - it almost looks like the text is being shifted up within the textfield. Has anybody else encountered...

Adding items to ListView

Hi, I want to have a ListView, and when an item is clicked add another view to the ListItem with height 0, and than execute an animation that will expand it to show "extra details" within the ListView. Is that even possible in a ListView or...

Move view without animation

With this code I move a view from a point to another one animating it: ~~~ var m = Ti.UI.create2DMatrix(); m = m.translate(0, 175); var a = Ti.UI.createAnimation(); a.transform = m; a.duration = 300; myView.animate(a); ~~~ Now, I want to do a different...

Query custom object limit

Hello, in the documents it says: "Query results are limited to 5000 records. This means if a query matches 1 million records, ACS will return the first 5000 records without regard to sort order." What if I have 1 million records and I only want...

Android ANR causes app to be restarted

Hello Everyone, I'm refactoring an app written for iOS to Android. Unfortunately, the former dev didn't use Titanium properly (no MVC separation, tons of global variables and other nightmarish scenarios...). I couldn't turn the app to a MVC compliant one,...

Adding a TextArea to a TableViewRow

I have a TableView with custom rows which contain Images, Labels, TextFields and TextAreas. Instead of adding a 'click' EventListener for each UI element, or even each row, I'm using one for the whole table. This works fine for most rows, but click events...

Photo Sharing from Gallery.

Hi, I'm working on a task in which you can share any photo from gallery through our own application i.e as if someone from gallery click share button and a list of installed applications appears (through with user can share photo), I want my application in...

onstream problem on Android

Hi experts, I used createHTTPClient and it worked for iOS but Android version ondatastream does not work only onload function works. Here is the short version of the code that I use. ~~~ var opensession = Ti.Network.createHTTPClient({ onload : function()...

Live Video Streaming

Hi guys , Live Video Streaming is possible in titanium ? I want to develop a app in which my camera stream something and that should be reflected on a web server live. Please suggest any way if possible . Thanks in Advance

Titanium App with 2 icons in my smartphone

Hi, i'm finish my app and i wish install in my android smartphone. Is a LG E460. I'm working with titanium and android sdk 3.3.0 GA. When i run my app in my android device, Titanium install 2 icons in my smartphone. Then i see in Settings/Apps and there...

Ti.Filesystem.getFile(), TempFile()

Why i can correctly use ~~~ var f = Ti.Filesystem.getFile(Ti.Filesystem.applicationDataDirectory,'ti.png'); f.write(response.img); $.Img.image = f; ~~~ and if i try to change 'ti.png' with a different name such as 'prove.png' I receive the following error...

ERROR running app

When I run my App I receive this error.... what does it mean? The apps seems to work fine... ~~~ [ERROR] : TitaniumModule: (KrollRuntimeThread) [169031,169031] Error occured while formatting string [ERROR] : TitaniumModule:...

I can't install on windows7...some dll missing

Hello, I'm a windows7 professional 64bit user, I downloaded Titanium_Studio.exe for windows but when I launch the application a popup shows this generic message: "there is a problem with this windows installer package. a dll required for this...

navigation question

Hello, Can anyone tell me what I'm doing wrong and why the 4th window will not open. Thanks index.js ~~~ $.index.open(); $.rightNavButtonWin1.addEventListener('click', function(){ var win3 = Alloy.createController('win3').getView(); ...

Restart YouTube video

I added a webview to a view and loaded a YouTube video (the url property is filled with a youtube video url): when I click the youtube red start button in the middle of the webview, iOS opens the native video player. When the video stops playing (simply...

Showing 201-250 of 64,387 1 2 3 4 5 6 7 8 9 101288