Community Questions & Answers

Problems after importing widget

I am trying to implement a facebook type slide menu. So i am making use of this [widget] (https://github.com/dharmik/Slider-Like-Facebook-working-in-both-android-and-iOS) . After i import my widget all works fine when i test it on an android tablet/ ios...

Remove actionbar after upgrading to 3.3.0

Hi I had an app for Android pretty much ready for launch when I (due to some problems) decided to upgrade Titanium to 3.3.0 By doing so, the action bar in top of all windows appeared and I want to remove them all again. Of course its already ~~~ ...

Server Side Processing and ACS

Hello, I recently started using ACS and I think I have the basics. I am storing product data in Custom Objects and Fields. Now I need to process the data on the server side. What I am trying to do is calculate the average rating for a product. When a...

Custom Event on Android

This is a very simplified version of my code. It is pretty much a window with a subview with a custom click event in the SubView. The event(SubView:getAge) is called in iOS but not by any android devices. Any thoughts on why this is not working. ####...

Storing data as JSON in a file or in a database.

Hey! I'm building an app where I need to store some data fetched from a remote web service. I had planned on storing as json instead of in a sqlite database, but I'm just wondering if this is a good thing to do? There's no real reason to it other than...

TouchEnabled does not disable

Hello, I have just upgraded to Titanium 3.3 and noticed that enabled is now deprecated. I previously was using enabled for a pair of buttons to create a pagination effect. When a button was disabled it would grey out and the user would be unable to click...

Is it possible to get a better Q&A system in place?

Appcelerator is a great idea and sometimes I love this framework. Other times I want my company to bail on it and just go native. Partly, it is because this has got to be the WORST form type system for finding answers to my questions. The search gives...

Trouble pathing in require method

Hi people! I had trouble linking the js file into the require method. It gives 'Uncaught Error: Requested module not found' error. I also tried cleaning the project and it didn't work. It would be great if you can guide me along! Many thanks! :) Here...

3.3.0 Android Build Error

Trying to build directly to an Android device gives me these two errors every time with the new appCompat stuff. **No resource found that matches the given name (at 'theme' with value '@style/Theme.AppCompat.Translucent').** **No resource found that...

Cursor color in a textbox

Hi When I use textbox with a white backgroundColor, I cannot see my text cursor as it is white as well. This seems to be a problem with Android 4 and SDK 3.2.x, because lower versions did not give me this problem. Is there a way to change the color of the...

Get HTML of a WebView

Hello I have a WebView where I load some local html which queries a remote website and show results; the problem is that when the WebView is reloaded with the results is I access the html property is unchanged (has the form code). I tried to load the page...

sqlite possible to call row by variable?

wondering if its possible to use a variable string to declare a row in an sqlite statement. for example ~~~ ('UPDATE measurements SET row1=?', row1.value); ~~~ so row1 would be a value saved from a labels text, and it also refers to the row name in my...

Help! Cant install "Node.ACS"

Hi, I cant install Node.acs. Please help me, here is the output when i try to install via terminal ~~~ shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied node.js:537 var cwd = process.cwd(); ...

Open PDF File on Android

Has anyone found a way to open or view a PDF file on Android? I understand that webview doesn't support PDF on android. I have PDF viewers on the handset, but how can I open the PDF from the app?

ACS Push via internet, php script

Hello there, I use ACS to push, push works fine on my application. For hours I tried a php which allows push sent from our ftp server script without going through the platform of titanium. I found a lot of info on this forum, github but none work can...

Error: EPERM, operation not permitted 'C:\Users\famil_000\Dropbox\TI_APP\Biblioteca\build\android\bin\Biblioteca.apkz'

Hi, i unable to test my app on device, i have tried everything: i restart my pc, phone, the TI studio, i install all the android sdk but nothing. Can anyone help me. Here is the log console output. [INFO] : Generating i18n files [INFO] : Generating...

Facebook Login/Logout events are not firing

I see that this question has been asked multiple times here and in JIRA but it was never been answered. The issue is that facebook "login" and "logout" events are not firing. Here is the code: ~~~ var fb = require('facebook'); fb.appid...

Drag view inside scrollView

Hello, I'm kinda new to titanium so I don't know how to do the following.. I want to create a vertical scrollView with set of views, for every view I want to drag it horizontally If I dragged it to left, then the view will be deleted, and replaced by...

Scrollview gets copied over and over again

Hi I am adjusting an app, previously made for ios, for Android. Strangely, if I scroll the content within a scrollview (with transparent background), the content of it gets "stuck" in the window, so if I close the window and later open it again,...

Showing 1-50 of 15,172 1 2 3 4 5 6304