Community Questions & Answers

Load data using HTTPClient or SQLite?

I've read [here](http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.Network.HTTPClient) that HTTPClient is intended for a single request. Currently I'm using HTTPClient for multiple requests (getting several xml files from a server to create...

SQLite DB open Error in Mobile Web

I'm trying to run mobile web app in browser, it shows the error as "Type Error : 'undefined' is not an object evaluating (Ti.Database.object')". Can any one help me to solve this issue. else suggest me to store alternative db supported by the...

NoSQL for Titanium

I have done some research on probably two popular solutions - CouchDB and MongoDB. How to use them? Which one is better? Any difference? Pure JS mongoDB [MongloDB](https://github.com/Monglo/MongloDB)

SQLite Triggers problem

Hi All Let`s say I have a table A in mydatabase.sqlite sitting in project resources root folder. A trigger has been created through SQLiteManager GUI. So far so good. When I install mydatabase...

ACS communicating with website?

Hello, Quite new to developing so forgive me if my understanding is shallow. I am looking to develop a service and weighing up the pros and cons of using various app dev platforms. I like the easy integration of ACS in titanium apps however I am looking...

Database Select not working

Hi, This is my Titanium studio version : Version: 3.4.0.201409261227-827bFA2FF7cLVuUtuFNtX8GB189I I created a simple database with SQLite manager and exported it to the ../app/assets/android folder and try to install it and query it from the code of my...

A problem with my database

var db = Ti.Database.open('plandb'); createDatabase(); function createDatabase() { db.execute('CREATE TABLE IF NOT EXISTS plan(title TEXT, image1 TEXT, image2 TEXT, description TEXT, reps TEXT, sets TEXT)'); var result = db.execute('SELECT * FROM...

app database

hello everyone, I want to make an app for iOS and android. I have titanium version 3.4.0.201409261227. I have mac osx 10.9.5. I want to make an app where people can meat each other so i need to make something where they can log in ,login with Facebook and...

Re-populate picker

Application type: mobile Titanium SDK: 3.2.3 Platform & version: iOS 7 Device: iOS simulator Host Operating System: OSX 10.9.3 Hi guys, I have this app-on-the-way that has textfield with picker, along with buttons on its toolbar. It allows me to add...

Data Storing

I need to save my data i.e name,address in a database..I gone through Sqlite database but i cant find my solution.I have planned to go for parse.Is it correct?suggest me a idea

list-view problems

Hi I've found the problem project My project includes a book with a great list of titles and each title contains the following But I find it difficult to carry out the project and the database link is Manually coding the project after project until I'd...

Copy data from local DB to MySQL DB

Hi, I have a local database were the user can store data, but in some cases I would like to copy data from the local database to a MYSQL database that I have. Is this possible to do? So I would like to: mysqli_connect to my mysql database and copy...

Database issue

Application type:mobile,Titanium sdk:3.3.0 GA,Titanium studio:3.3,platform:android and ios,OS:Mac OSX 10.9.3 Hi, When I am trying to access the database for the first time its saying no such table exists but after it works fine: Any wrong in my...

Image store and retrieve

Hi, How to store and retrieve image in database through webservice? In database image field type is varchar. I am using alloy framework and titanium sdk version 3.2.2.GA. Please help me. Thanks, Ankita

External database choice MsSQL or MySQL

Hi all, i'm starting the design of a mobile app that will be connected to an external DB. In this stage i'm projecting the DB and looking forward an hosting virtual server service. In your experience do you think that shoukd be better a Ms Windows Server...

Database not installing

I am trying to install a sqlist database in my app but for some reason, the database isn't being copied over as far as I can tell. I'm reusing code that works in another app but everything I try doesn't work. Can someone take a look and tell me what I'm...

Reset primary key

Application type: mobile Titanium SDK: 3.2.3 Platform & version: iOS 7 Device: iOS simulator Host Operating System: OSX 10.9.3 Hi guys, i have this simple code related to sqlite database. Firstly, i have 'id' column as primary key with...

Sync database on app start

Hello, I'm fetching the content for my app via an external source. This content is stored in a local database. Now I want the sync function (this function is checking for new content and saving it to the local database) to be executed on app start. I want...

Undefined when looping trough object

I'm querying all the records from a table in the database, like: ~~~ var news_arr = Alloy.createCollection('news'); var table = news_arr.config.adapter.collection_name; news_arr.fetch({query:'SELECT * from ' + table + '...

Android SQL adaptor

Just trying to develop my iOS app into an Android app, unfortunately getting halted at installing the database. I am getting the following error: ~~~ [ERROR] V8Exception: Exception occurred at alloy/sync/sql.js:290: Uncaught config.adapter.idAttribute...

Showing 1-50 of 1,254 1 2 3 4 5 626