Community Questions & Answers

Question of remote sql connection with Titanium

Hi I got several questions with Database connection with Titanium. I try to connect mySql db and I found some examples which are connect with php page, but I wonder that the pages need to publish if I want to connect DB via php? Furthermore, as I...

About Oracle database connection

Hi, I tried to develop test application with oracle express database, but I have no ideas how I can connect within it. I just found my-sql connection through php page. Would you anyone advice me the way of using oracle DB connection or any useful...

import sql file in titanium/alloy

I have sqlite dump file with many lines of code. It's very hardly do it like this: db.execute(every_line_of_code); Is it possible to import this file into database something like this: Ti.db.importSql('file.sql') or Ti.db.loadFromFile('file.sql')

Uploading an image from iOS App

I am trying to upload an image from my camera roll to my server. The php code works fine by itself but I can't get to upload the image from my app. I always get a 404 error. PHP Code ~~~ <?php $allowedExts = array("gif", "jpeg",...

import sql file in titanium/alloy

I have sqlite dump file with many lines of code. It's very hardly do it like this: db.execute(every_line_of_code); Is it possible to import this file into database something like this: Ti.db.importSql('file.sql') or Ti.db.loadFromFile('file.sql')

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...

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