Community Questions & Answers

How change image from other js file?

Hello. I have js file (first page) with image(levels). When you chose the image(level) you will play game. If you win a game the image (from first page) must be changed on the other image. How can I make it? I need txt file or database?

Database in mobile web application

Hi, I'm trying to use my current iOS app and make it available as mobile web app. One of the main problem I faced is that my app uses data retrived from database. I know that mobile web doesn't support Ti.Database. My question is that how can I make it so...

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

SQLITE:select query like expression

Application type:mobile,titanium studio:3.3.0,titanium sdk:3.3.0,OSX:Mac osx. How can I select the exact value from the database select query: ~~~ var resultset = db.execute('SELECT * FROM members WHERE LOWER(bloodgroup) like "%' + win.bloodgroup +...

mySql to ACS question

Hi I try to send push notifcation which is working as Database send a message to clients through ACS. Anybody have tried or did connect between mySql and ACS to send push? Do I need to develop application or module to connect them with different language...

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')

Insert an array as database field

Hi, I'm working on an application which has a window and a button. When i press the button, the win add a view and put this view in an array, therefore i have an array containing a series of view. I use an array to contain the view and a variable to track...

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

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