Community Questions & Answers

Unable to parse JSON string

Hello. The below code is causing an error, and I am not sure why. I created the string by calling JSON.stringify. The log passes validation on all JSON validators that I have used. I am passing in...

Trouble shoing a view at touch point

I am going to show a view on the touch point. But the view appears away from touch position. One thing suspicious is that this is working properly on my android tablet but not on android phone. I think there must be a translation between touch position...

Acess a tableview object from tableview row

i have a table view and i want to delete a row from the table on user click on a label inside a table view row firstly: i have three js files one for the window and one for the table view and one for creating table view row based on json data...

Touble Disabling TableView scroll Android

I am going to disable scroll on a certain point. This is my code to disable scroll. table2.addEventListener('touchmove', function(e) { if (item_edit != -1) { tmp_item.width = 200; tmp_item.center = { x : e.x, y :...

Buffer to Unsignet 8bit array

Hi! I'm developing an application in android that uploads a video to Azure Media Services. I already have a javascript version working for desktop version, which uploads everything fine. The problem is that when trying to achieve the same on Titanium, i...

editable row for remove

I am new with Titanium, so please excuse me if I post a simple problem. I have a tableView with the attribute "editable". When I click on a checked row, I am not able to see the "Delete" button to remove the row from the table. I've...

Titanium : Trouble cannot get height of tableview.

This is my code. var table2 = Ti.UI.createTableView({ top : 70, moveable : true, bottom : 0, // editing : true, scrollable : true, backgroundColor : 'transparent', }); newWin.add(table2); Ti.API.info(table2 .size.height); It is 0. I also...

Get the position of a record in ACS

Hi. The question is simple to understand but I don't know how to do it (if it's possible) in ACS. I have a custom object (simple table with users - score fields) and I want to show a table with 5 **top scores** and, at the end, display the current user...

Table not found in classic project.

I have made a table using sqlitebrowser and copied it into resources folder of my project. But my insert query is giving me this error: "[ERROR] : TiDB: (KrollRuntimeThread) [5,46023] Error executing sql: no such table: barcode (code 1): , while...

How to create app for large touch screens?

HI I am going to create an app for installation on a big touchscreen (55'). The screen is running Android 4.2.1 I am thinking that I should be able to install any app on the screen, as long as it is targeting the right android version. I have done only...

Android app in Nanjing Corewise device .

I want to develop android app that will use some feature for device like using barcode reader and ID reader . so my question is how can i use these features , any one develop in this point before. or any documentation about that . thanks for support .

Installing Widgets

I'm new to titanium and I'm trying to add additional functionality. For example I have a widget for side navigation and collapsible accordion style folder within the page. How do I get this into the app? is it a matter of copying the files from the...

iOS Simulator Crashing App When Debugging

Suddenly my app crashes when stopping at a breakpoint in the iOS Simulator. I have tried cleaning my project and rebooting my macbook. I have xCode 6.1. Below are my Titanium versions/settings. Can anyone give me some ideas on something else I can try? At...

Problems changing SDK

Hi guys, I am working with Titanium SDK. When I modify it, for example by adding a Log.e message, it is not printed. I have to build the SDK several times and then I can see it. It seems like some kind of cache. Does anybody have an idea of what could be...

xhr download

Hi everybody. I use the exemple XHR download fo kitchensink for get a mp3 on an server. I can take a mp3 and play the music with player audio. I would check if the download file in the application already exists and if so read the file without downloading...

Push notification notify method

Hi, I am trying to use notify method of push notification so that i can trigger a push notification for a particular user. I am getting a success response after sending the notify method but the push notification is not received by the device to whom the...

Starting activity from notification

I'd like to start (in Android) an Activity from an notification. I have created a new Alloy controller called 'outside'. In my main file I have the following code which will display a notification. When pressed on this notification, it will start up the...

Couldn't start windows simulator

what is the latest version of Titanium SDK . I am trying to have the windows preview .When i try to install titanium latest sdk from github using 'ti sdk install -b master -d' it downloads 4.0.0 automatically. And then if i try to run any window...

Hide component and remove from layout possible?

So, lets say we have a button in a vertical layout. If you do hide() and show() on the button it simply makes it visible or not. But it still takes up space in the vertical layout if you hide() it. Is it possible somehow to make it not take up layout space...

Titanium to WIndows Phone 8

Does any know of a wlakthrough to get a Titanium mobileweb app packaged to work on a windows 8 mobile device? I have followed the details on http://docs.appcelerator.com/titanium/3.0/#!/guide/Getting_Started_with_the_Windows_8_SDK and can get the...

listener onclick in textField

<TextField onClick="data" id="dataFinal" editable="false"></TextField> for android, double click execute data() for ios, one click execute data() Help?

Image Location In Alloy`

So I'm creating an Alloy Project. I have an ImageView in my view, which I need to render a static image. This may be a really stupid question, but where in my project do I put said image file? I'm using (or attempting to use) the Alloy framework.

How to kill the ugly header bar

So I'm playing with the framework for my next project, using V3.5.0.GA. I got everything working, using the basic template in the default project. Deleted all the code in app.js, and just added a blank window with in ImageView (which I mean to be my...

iOS Back Button over Map

I am currently building an app that uses the ti.map module. When I get to the map, however, I can't figure out how to display the top bar with a back button. Currently, it means that iOS devices cannot go back to the previous view once they are in the map....

error loading sound url

Application Type: Mobile Titanium SDK: Titanium SDK Version: 3.4.0.GA Platform: IOS 8.1.3 Device Device: Iphone 5s: I'm Developing an application to record sound and play this sound. I'm able to record the sound and save it to the...

Showing 151-200 of 66,838 1 2 3 4 5 6 7 8 91337