Community Questions & Answers

What database to work with?

Hey there. Im building my first Titanium application for mobile. Its a very simple application where the idea more or less is to add the users information to a database and then return statistics based on all the user inputted data. Its only based on 3...

Problem with database

Hi guys, I'm creating a database using Ti.Database. I'm trying to have an auto-increment column so that i can update values of the row or delete the row. When i try create the column, i encountered an error. Can anyone help me debug? And I wanted the...

displaying data in android

Hi all i'm trying to parse data using json web service and poster it in emulator so i create a database like below but now i want to post up the data and i don't know how can someone help me please ~~~ var win = Ti.UI.createWindow( { ...

ACS Atomic Increment Operator

Has anyone gotten this to work? http://docs.appcelerator.com/cloud/latest/#!/guide/atomic_increment I'm assuming it may just be my syntax. Here is what I have tried so far. ~~~ Cloud.Objects.update({ classname: 'someclass', id: someid, fields:...

Get the last inserted record

I want to retrieve the last inserted record...now I am getting the first record ... and db.lastInsertRowId I cant seem to make return the singular record I want ... Any ideas ? ~~~ var SelectStroke = function(){ var db =...

Get variable data

I am trying to collect data from different modules and place the data when appropriate into my DB... you press the button and it sends this data fine to the module ... sort of ... if I comment out //SelectStroke(); it enters all the variable data...

Getting all of my list items to populate?

Hi Everyone, I'm trying to figure out a way to get all of my list items to populate from the database I'm installing on a phones device. For example, if you were to click on "Rhode Island", in my next page createTableView your only getting one...

SQLite error codes

I use this code to execute SQL staments ~~~ function execute(_db, _sql, _params) { try { _db.execute(_sql, _params) } catch(e) { alert(JSON.stringify(e)); } } ~~~ but when I execute a wrong SQL command as...

Create database in the resources folder...

Hi, I have to create few sql lite databases in my application. All db's must be stored in the resources not in default place. Problem is: How to save/open-read database in the resources folder? Do I have to create database by Ti.Database.open and then move...

Get last SQLite error message/code

When I execute a SQL stament that has a sintatx error as: ~~~ db.execute('insert into table(x,y,z) values (?,?,?)',[100,200]); ~~~ How I cant get the last error message or error code? Thanks :)

Sqlite

Where in the SDK can I find the database files I generate... here is the code I'm using to generate... I can't find the DB so I don't know if the db is generated or not generated... I'm getting no errors ... ~~~ var db =...

sqLite or XML

We are building a content managed app that downloads a lot of data as XML for the apps pages from a server... Would it lead to a better performance, to read the XML and store it in a database and then query the database for the relevant data, or just read...

Display Graph in Titanium iOS

In my app, i need to display the status of the feedback by a Graph(chart) view. Is webview is needed? I tried RGraph framework, which is showing errors for me, how to use this framework? Are they're anyother ways their to achieve this?Can anyone pls,...

MySql Database

hi all, i want to make an application in android using titanium connected to mysql database so, i want any tutorial to let me know how to make it using json,php and so on and what is easier using alloy or json and php.please anyone till me and if you have...

How to insert data form titanium to phpMyAdmin?

Sorry for my stupid question , I am new to titanium. I want to insert the data into the online database. How can I do that? For example I have data A, how can I pass this value to php so that the INSERT value will become data A ?I hope there are some...

database

I am new here and I have a database for my website in my server and I want to know How can I connectmy android mobile app to mysql database on the server ? Thanks

Alloy Specify a migration to use

My problem with this is that the documentation ([Alloy Migrationst](http://docs.appcelerator.com/titanium/3.0/#!/guide/Alloy_Sync_Adapters_and_Migrations)) says that it is possible to choose which migration to use by adding the timestamp to the...

Showing 1-50 of 952 1 2 3 4 5 620